Database Reference
In-Depth Information
contact_name nagiosadmin ; Short name of user
use generic-contact ; Inherit default values
alias Nagios Admin ; Full name of user
email YOUR_EMAIL_ID ; *SET EMAIL ADDRESS*
}
Configuring Apache httpd
Perform the following steps to configure Apache httpd:
1. Set Apache httpd with the appropriate Nagios configuration:
$ sudo make install-webconf
/usr/bin/install -c -m 644 sample-config/httpd.conf
/etc/httpd/conf.d/nagios.conf
*** Nagios/Apache conf file installed ***
2. Set the password for the Nagios web console for the nagiosadmin user:
$ sudo htpasswd -c /usr/local/nagios/etc/
htpasswd.users nagiosadmin
3. Restart Apache httpd:
$ sudo
service httpd restart
Installing Nagios plugins
Perform the following steps to install Nagios plugins:
1. Download and untar Nagios plugins from the Nagios website's plugins page ( ht-
tp://www.nagios.org/download/plugins/ ) using the following commands:
$ wget http://prdownloads.sourceforge.net/sourceforge/
nagiosplug/nagios-plugins-1.4.16.tar.gz
$ tar xzf nagios-plugins-1.4.16.tar.gz
2. Install the plugin:
$ cd nagios-plugins-1.4.16
$ ./configure --with-nagios-user=nagios
Search WWH ::




Custom Search