Docker is a powerful tool, however learning how to use it the right way could take a long time especially with the rapidly growing ecosystem of containers which could be confusing, that is why I had the idea to start writing Painless Docker

Amazon Pay balance: Money

Through this book, the reader will learn and master Docker and a great part of its ecosystem and among other things, the reader will learn how to create his own Docker monitoring system, that’s why I created DoMonit as a poc for this part of the book.

The purpose of this post is to introduce DoMonit: an API wrapper for Docker built to simplify monitoring specific Docker metrics using Python.

Monitoring gives you a visibility about your infrastructure. Running production without monitoring is not recommended at all.
The same thing is applied to running Docker in production: Monitoring is needed especially if you have a lot of critical applications running containers.

Running Linux systems in production for more than 10 years, I deployed and tested many infrastructure and production monitoring systems.

Continue reading


Command Line Tools to Monitoring & Managing Linux Performance/Process

originalA process is a running instance of a launched, executable program. So being a System Engineer it is not easy to monitor Linux server/system performances and keep them up and running, here in this post i will cover mostly used command line to monitoring that might be useful for those who are taking care of Linux servers/systems as Linux Administrator.

Real- time Process Monitoring by ‘ top ‘:

The ‘ top ‘ command line, top program show a dynamic view of system processes and displaying a summary or  it is used to dipslay all the running and active real-time processes in ordered list. It display CPU usage, Memory usage, Swap Memory, Cache Size, Buffer Size, Process PID, User, Commands and much more. It also shows high memory and cpu utilization of a running processess.  And ‘ top ‘ command continuously refreshes at a configurable interval and provides above summary in a column view. The top command is more useful for system administrator to monitor and take correct action when required. Continue reading

Nagios tool for server Monitoring


Nagios is very popular open source monitoring tools we can monitor anything, you will be able to monitor hosts resources by  web interface. Nagios is useful for keeping an inventory of your servers, and making sure your critical services are up and running. For using a monitoring system, like Nagios, is an essential tool for any production server environment.

You will also use of or  utilize the Nagios Remote Plugin Executor (NRPE), that will be installed and configured as an agent on remote hosts (Clients), to monitor their local resources.There are many things that Nagios  can monitor

  • Hosts
  • Services
  • Logs
  • Interaction and connectivity
  • Network’s Security
  • System Perfomance etc

Continue reading

Elasticsearch & Installation

Elasticsearch               Selection_004

Elasticsearch is a popular open-source search and analytics engine for use cases such as log analytics, real-time application monitoring, and click stream analytics.

Elasticsearch  is a search server based on Lucene. Elasticsearch is developed in Java and is released as open source under the terms of the Apache License. Elasticsearch is the most popular enterprise search engine followed by “Apache Solr”, also based on Lucene.

Lucene: Lucene is a “free and open-source information retrieval software library”, originally written in Java by “Doug Cutting”. It is supported by the Apache Software Foundation and is released under the Apache Software License. Also K/A Apache Lucene.) Continue reading