Error: Could not stat() command file ‘/var/lib/nagios3/rw/nagios.cmd’!

Error: Could not stat() command file ‘/var/lib/nagios3/rw/nagios.cmd’! While working on Nagios Server in Ubuntu 12.04 LTS,I was setting external command and stuck with this error message. To solve the problem follow these commands sudo /etc/init.d/nagios3 stop sudo dpkg-statoverride –update –add nagios www-data 2710 /var/lib/nagios3/rw sudo dpkg-statoverride –update –add nagios nagios 751 /var/lib/nagios3 sudo /etc/init.d/nagios3 start … Read more

Sorry, but Nagios is currently not checking for external commands, so your command will not be committed!

Sorry, but Nagios is currently not checking for external commands, so your command will not be committed! This message comes on nagios dashboard when externals commands are disable. To enable external commands.Edit the nagios.cfg file and enable the value of check_external_commands parameter. Change the value from 0 to 1 In Debian or Ubuntu: vi /etc/nagios3/nagios.cfg … Read more

Installing Nagios-3.5.0 in CentOS 6.4 using yum

Installing Nagios-3.5.0 in CentOS 6.4 This post is updated version of post “https://sharadchhetri.com/2013/02/27/installing-nagios-3-4-4-in-centos-6-3/”. We will use the new EPEL repo rpm i.e epel-release-6-8.noarch.rpm.(Today I found that in EPEL repo the nagios 3.5 is available and I tested it in my staging machine) Rest of the steps are same Download the EPEL repo in your system … Read more

Nagios HTTP WARNING: HTTP/1.1 403 Forbidden

Nagios HTTP WARNING: HTTP/1.1 403 Forbidden Whenever I newly setup the nagios server I mostly get this error “Nagios HTTP WARNING: HTTP/1.1 403 Forbidden”. In dashboard it shows alert on localhost i.e our own newly set up nagios server. To solve this alert, create a index.html file inside /var/www/html in server touch /var/www/html/index.html Restart the … Read more

Installing Nagios-3.4 in CentOS 6.3

Installing Nagios-3.4 in CentOS 6.3 This is how to install nagios 3.4 tutorial for installing nagios-3.4 in CentOS 6.3 in a few steps. rpm -ivh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-7.noarch.rpm yum install nagios nagios-devel nagios-plugins* gd gd-devel httpd php gcc glibc glibc-common Bydefualt on doing yum install nagios, in cgi.cfg file, authorized user name nagiosadmin is mentioned and for … Read more