-
Exclusive SASL on Zookeeper connections
Something related to following article. It seems that even if SASL is configured until version 3.6.1, Zookeeper will still allow anonymous connections and actions. There is now a new configuration available that will restrict such events and you can find it documented on the official Apache Zookeeper administration guide (zookeeper.sessionRequireClientSASLAuth) The main catch is that…
-
Unique value on columns – pandas
Hi, Today is a short example on cases that have longer columns with spaces. For example. I have a dataframe that has the following columns: I have read in some sources that you can use the construction wine_new.[column name].unique() to filter the values. If you have a one word column, it will work, but if…
-
Prometheus metrics to Pandas data frame
Hi, We are trying to implement a decision tree algorithm in order to see if our resource usage can classify our servers in different categories. First step in that process is querying Prometheus from Python and create some data frames with some basic information in order to get them aggregated. To that purpose, you can…
-
Renice until cgroup implementation for process of Yahoo CMAK
Hi, We saw that ex Kafka Manager, now called Yahoo CMAK was using more than enough CPU in some cases, in general related to bad SSL client config. It’s not really clear if the CPU usage was real or there was only wait time for resource like memory or I/O (I don’t have an example…
-
Datadog and GCP are “friends” up to a point
Hi, Since in the last period I preferred to publish more on Medium, let me give you the link to the latest article. There is an interesting case in which the combination of automation, Goggle Cloud Platform and Datadog didn’t go as we expected. https://medium.com/metrosystemsro/puppet-datadog-google-cloud-platform-recipe-for-a-small-outage-310166e551f1 Hope you enjoy! I will get back with more also…
-
Optimizing VM costs in GCP
Hi, I recently published on Medium the hole story related to https://log-it.tech/2019/11/26/using-gcp-recommender-api-for-compute-engine/ You can find it at https://medium.com/metrosystemsro/new-ground-what-about-optimizing-the-size-of-machines-87855fbab9ef Enjoy the read!
-
Overriding OS fact with external one
Hi, Short notice article. We had a issue in which the traefik module code was not running because of a wrong os fact. Although the image is Ubuntu 14.04, facter returns it like: I honestly don’t know why this happens since on rest of machines it works good, the way to fix it fast is…
-
Starting AIOps journey – first step
There is a learning program in our company focused on gaining knowledge for “AI era” To that purpose we played a little bit with some performance data and came to some conclusions. I invite you to take a look
-
Duplicate exported resources on puppet by mistake
We had a strange problem in our test environment the other day. There is a need to share an authorized key in order for the ssh connectivity to be available. The way we shared the file resource was straight forward. The tag value variable was a fact unique to each Kafka cluster. However, each time…
-
Strange problem in puppet run for Ubuntu
Hi, Short sharing of a strange case. We’ve written a small manifest in order to distribute some python scripts. You can find the reference here: https://medium.com/metrosystemsro/new-ground-automatic-increase-of-kafka-lvm-on-gcp-311633b0816c When you try to run it on Ubuntu 14.04, there is this very strange error: The cause for this is as follows: Python 3.4.3 (default, Nov 12 2018, 22:25:49)…