06/02/2017

25/12/2016

03/10/2016

19/09/2016

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 »
Powered by Blogger.

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

I'm a passionate DevOps, Linux system administrator, 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