There’s already an NRPE server running (PID 111111). Bailing out..

I installed nagios client  before.But when ı want to start client service.It does not start. /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d I found this error of my syslog. There’s already an NRPE  server running (PID 111111).  Bailing out.. And find this PID root@demop_cls1:/var/adm # ps -aef |grep 111111 root 1111114063448 0 Jun 22 – 1:54 /usr/sbin/clcomd -d…

Read More

How To Write Nagios Plugin – Bash Script

Nagios is IT Infrastructure Monitoring Tool. Nagios is designed as a client/server model application and therefore needs two components to work – Nagios server and Nagios client or agent (NRPE for linux or NSClient++ for Windows). Nagios server is the one who connects to Nagios client and triggers a Nagios plugin to get information from Nagios client. Nagios plugin…

Read More

How to develop monitoring plugin Nagios?

  Return codes A plugin have to send a return code. This interpreted code is the result of the plugin execution. We call this result “status”. This is two summary tables about return codes for hosts and services : Hosts: Plugin return code Host status 0 UP 1 DOWN Other Maintains last known state Services:…

Read More

Upgrading From Previous Nagios 4.0.8 to 4 Releases

The first release candidate for Nagios Core 4.1.0 has been released Maybe you want to upgrade version 4.0.8 to 4.1.0rc1 Firstly; su -l nagios Removed the following old HTML files that were used by the web frontend. They have been replaced by PHP equivalents. rm /usr/local/nagios/share/{main,side,index}.html Download the source code tarball of the latest version…

Read More

/nagios/cgi-bin/statusmap.cgi was not found on this server

Question : I have a problem in the configuration of the statusmap. The error is this: Not Found The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server Solution : Make a backup of your nagios directory in de /usr/local/nagios Then verify  these packages if are inatlled : in debian/ubuntu/mint libgd libgd-devel libpng libpng-devel libjpeg…

Read More