Nagios error – DNS

error output parsing /usr/sbin/nslookup (1)For testing from nagios server [nagios@monitor libexec]$ ./check_nrpe -H hostname -c check_load (2) add the nagiosip; in /etc/named.conf allow-recursion { localhost;nagios ip;}; (3) change the entry…

Nagios error – Exim mail queue

In nagios server cd /usr/local/nagios/libexec wget http://www.mycutelife.net/sanju/newtickethelp/nagiosfullsteps/check_eximmailqueue chmod +x check_eximmailqueue In remote server cd /usr/local/nagios/libexec wget http://www.mycutelife.net/sanju/newtickethelp/nagiosfullsteps/check_eximmailqueue chmod +x check_eximmailqueue echo “command[check_eximmailqueue]=/usr/local/nagios/libexec/check_eximmailqueue -w 500 -c 1000″ >> /etc/nrpe.conf visudo add…

Nagios Password

password given in /usr/local/nagios/etc/htpasswd.users url is http://hostname/cgi-bin/monitor/status.cgi Given entries in contactgroups.cfg and contacts.cfg files (refer doreo client info) in contacts.cfg we can setup mail notifications htpasswd -m /usr/local/nagios/etc/htpasswd.users username and…

Nagios – nrpe.conf

root@westernbbqassociation [~]# vi /etc/nrpe.conf command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 command[check_disk1]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p /dev/hda1 command[check_disk2]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p /dev/hdb1 command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w…

Nagios – nrpe

# vi /etc/xinetd.d/nrpe # default: on # description: NRPE service nrpe { flags = REUSE socket_type = stream wait = no user = nagios server = /usr/sbin/nrpe server_args = -c…