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 »


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 »


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 »


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 »


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 »


Powered by Blogger.

Hello, my name is Ahmed AbouZaid and this is my "lite" technical blog!

I'm 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”!

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