28/08/2016

Monitor processes with Telegraf/InfluxDB/Kapacitor - Python.

Recently I needed to monitor some system processes in a "blackbox" way! I just need to make sure they are up and running, and how number of each process. e.g. if "sshd" process is running or not, and how many of it is running.

I think even you do monitor and collect performance metrics (whitebox monitoring), you also need
Continue Reading »

23/07/2016

Key value array in shell scripts! - Bash.

I really believe if you need key-value (aka associative array) in your script, then you need to move to a real language which most probably will be Python or so.

But for some reasons, you maybe need it in one of your bash scripts. And of course will not rewrite the script just for that part!
Continue Reading »

19/06/2016

Add a new host to Opsview via API - Python.

Once a wise man said: "You can't manage, what you don't measure!" (and this one of my favorite quotes btw). That's why monitoring is an essential part of any system administration.

For that reason, Nagios was a good solution and had a good market share for a long time. But Nagios
Continue Reading »

05/05/2016

Emulate pbcopy and pbpaste in Linux - xsel.

One of nice tools I did use before are "pbcopy" and "pbpaste", which are simply copy and paste any data to and from clipboard in command line! It's a Mac OS tool, and unfortunately there is no port for Linux!

However you still can get the same functionality on Linux using
Continue Reading »

30/04/2016

Use different source or destination in one config file - Telegraf.

Data and metrics are my favorite parts, that's why I really love InfluxDB and its stack (TICK stack which is: Telegraf, InfluxDB, Chronograf, and Kapacitor) ... but actually I like to use Grafana instead Chronograf.
Continue Reading »

23/01/2016

06/01/2016

Continuous integration tools and best practices.

I'm always interested in improving the way I do things, so I love to learn new technologies, go with new challenges ... and most important thing, I don't believe in "If it's not broke, don't fix it"! I always review and re-evaluate how I do things!
Continue Reading »

16/12/2015

Powered by Blogger.

Hello, my name is Ahmed AbouZaid, a passionate Linux system administrator, DevOps, RedHat Certified Engineer (RHCE), AWS SysOps/Solutions Architect, Free/Open source geek, author, interested in environment, calligraphy, and I believe that “Details Matter”! And this is my technical blog!
Automation, data, and metrics are my preferred areas. I have a built-in monitoring chip, and too lazy to do anything manually :D

Popular Posts