Nagios debian debian 7
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