Nagios debian debian 7: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Steps to install nagios3 from debian repositories Instal nagios3 and its plugins apt-get install nagios3 Instal and set proper privileges apt-get install sudo chown www-d...") |
No edit summary |
||
Line 18: | Line 18: | ||
Path to nagios binary: /usr/sbin/nagios3 | Path to nagios binary: /usr/sbin/nagios3 | ||
Path to nagios.cfg: /etc/nagios3/nagios.cfg | Path to nagios.cfg: /etc/nagios3/nagios.cfg | ||
Path to vm.cfg: /etc/nagios3/conf.d/vm.cfg | |||
Objects name prefix: VM_ | Objects name prefix: VM_ | ||
Path to status.dat: /var/cache/nagios3/status.dat | Path to status.dat: /var/cache/nagios3/status.dat | ||
Command which reloads config: killall -HUP nagios3 | Command which reloads config: killall -HUP nagios3 | ||
Run sudo before reload command: TRUE | Run sudo before reload command: TRUE |
Revision as of 22:07, 24 October 2014
Steps to install nagios3 from debian repositories
Instal nagios3 and its plugins
apt-get install nagios3
Instal and set proper privileges
apt-get install sudo chown www-data -R /var/lib/nagios3/spool/checkresults chown nagios:www-data -R /usr/sbin/nagios3 chown www-data /etc/nagios3/conf.d/vm.cfg
vim /etc/sudoers and add line after the root .. line:
www-data ALL=(ALL) NOPASSWD: /usr/bin/killall, /usr/sbin/nagios3
Edit settings in voipmonitor GUI->Settings->System configurtion->NAGIOS:
ENABLE nagios : TRUE Nagios user: nagios Path to nagios binary: /usr/sbin/nagios3 Path to nagios.cfg: /etc/nagios3/nagios.cfg Path to vm.cfg: /etc/nagios3/conf.d/vm.cfg Objects name prefix: VM_ Path to status.dat: /var/cache/nagios3/status.dat Command which reloads config: killall -HUP nagios3 Run sudo before reload command: TRUE