Tuesday, June 21, 2022

Nagios Monitoring

Nagios is the most popular continuous monitoring tool. It monitors complete IT infrastructure including its systems, applications, services processes etc

==============================================

Nagios is the monitoring tool with multitude of features as given below −

  • Nagios Core is open source, hence free to use.

  • Powerful monitoring engine which can scale and manage 1000s of hosts and servers.

  • Comprehensive web dashboard giving the visibility of complete network components and monitoring data.

  • It has multi-tenant capabilities where multiple users have access to Nagios dashboard.

  • It has extendable architecture which can easily integrate with third-party applications with multiple APIs.

  • Nagios has a very active and big community with over 1 million + users across the globe.

  • Fast alerting system, sends alerts to admins immediately after any issue is identified.

  • Multiple plugins available to support Nagios, custom coded plugins can also be used with Nagios.

  • It has good log and database system storing everything happening on the network with ease.

  • Proactive Planning feature helps to know when it’s time to upgrade the infrastructure.

===============================

Nagios can be applicable to a wide range of applications. They are given here −

  • Monitor host resources such as disk space, system logs etc.

  • Monitor network resources – http, ftp, smtp, ssh etc.

  • Monitor log files continuously to identify infra-issue.

  • Monitor windows/linux/unix/web applications and its state.

  • Nagios Remote Plugin Executer (NRPE) can monitor services remotely.

  • Run service checks in parallel.

  • SSH or SSL tunnels can also be used for remote monitoring.

  • Send alerts/notifications

  • via email, sms, pager of any issue on infrastructure

  • Recommending when to upgrade the IT infrastructure.


==================

Nagios installation:

=========================

Active Checks

Active checks are initiated by Nagios process and then run on a regular scheduled basis. The check logic inside Nagios process starts the Active check. To monitor hosts and services running on remote machines, Nagios executes plugins and tells what information to collect. Plugin then gets executed on the remote machine where is collects the required information and sends then back to Nagios daemon. Depending on the status received on hosts and services, appropriate action is taken.



Passive checks are performed by external processes and the results are given back to Nagios for processing.

Passive checks work as explained here −

An external application checks the status on hosts/services and writes the result to External Command File. When Nagios daemon reads external command file, it reads and sends all the passive checks in the queue to process them later. Periodically when these checks are processed, notifications or alerts are sent depending on the information in check result.



the difference between active and passive check is that active checks are run by Nagios and passive checks are run by external applications.











No comments:

Post a Comment

Sample Game App Deployment on EKS cluster

 https://padmakshi.medium.com/setting-up-an-eks-cluster-and-deploying-a-game-application-a-step-by-step-guide-08790e0be117