Archive for December 2013

Nagios3 – location of config and plugin directories with Crunchbang (debian squeeze)

First:
apt-get install nagios3
apt-get install freeipmi

Access from http://localhost/nagios3/

Config files:
root@cruncher01:~# ls -l /etc/nagios3/conf.d/
total 32
-rw-r–r– 1 root root 1695 Nov  1 23:11 contacts_nagios2.cfg
-rw-r–r– 1 root root  418 Nov  1 23:11 extinfo_nagios2.cfg
-rw-r–r– 1 root root 1152 Nov  1 23:11 generic-host_nagios2.cfg
-rw-r–r– 1 root root 1803 Nov  1 23:11 generic-service_nagios2.cfg
-rw-r–r– 1 root root  678 Nov  1 23:11 hostgroups_nagios2.cfg
-rw-r–r– 1 root root 2167 Nov  1 23:11 localhost_nagios2.cfg
-rw-r–r– 1 root root  657 Nov  1 23:11 services_nagios2.cfg
-rw-r–r– 1 root root 1609 Nov  1 23:11 timeperiods_nagios2.cfg
root@cruncher01:~#

Plugin directory:
root@cruncher01:~# ls -l /usr/lib/nagios/plugins/ | head
total 3588
-rwxr-xr-x 1 root root 108904 Jun 28  2012 check_apt
-rwxr-xr-x 1 root root   7262 Jul  3  2012 check_backuppc
-rwxr-xr-x 1 root root   2242 Jun 28  2012 check_breeze
-rwxr-xr-x 1 root root  51984 Jun 28  2012 check_by_ssh
-rwxr-xr-x 1 root root   1723 Jul  3  2012 check_cert_expire
lrwxrwxrwx 1 root root      9 Jun 28  2012 check_clamd -> check_tcp
-rwxr-xr-x 1 root root  35112 Jun 28  2012 check_cluster
-rwxr-xr-x 1 root root  51536 Jun 28  2012 check_dhcp
-rwxr-xr-x 1 root root  47568 Jun 28  2012 check_dig
root@cruncher01:~#