Post

Nagios3 - Location of Config and Plugin Directories with Crunchbang (Debian Squeeze)

Nagios3 - Location of Config and Plugin Directories with Crunchbang (Debian Squeeze)

Installation

Install Nagios3 and IPMI tools:

1
2
apt-get install nagios3
apt-get install freeipmi

Access the Nagios web interface at:

1
https://localhost/nagios3/

Configuration Files

The configuration files are located in /etc/nagios3/conf.d/:

1
2
3
4
5
6
7
8
9
10
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

Plugin Directory

The Nagios plugins are located in /usr/lib/nagios/plugins/:

1
2
3
4
5
6
7
8
9
10
11
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
This post is licensed under CC BY 4.0 by the author.