User Tools

Site Tools


enable_nagios_commands_via_web-interface

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

enable_nagios_commands_via_web-interface [2012/06/05 14:54] (current)
ikahugu created
Line 1: Line 1:
 +In the /​etc/​nagios3/​nagios.cfg file, make sure you have similar values:
  
 +<​code>​
 +check_external_commands=1
 +command_check_interval=15s
 +command_file=/​var/​lib/​nagios3/​rw/​nagios.cmd
 +</​code>​
 +
 +Add www-data user to nagios group
 +
 +<​code>​
 +usermod www-data -G nagios
 +</​code>​
 +
 +<​code>​
 +dpkg-statoverride --update --add nagios www-data 2710 /​var/​lib/​nagios3/​rw
 +dpkg-statoverride --update --add nagios nagios 751 /​var/​lib/​nagios
 +</​code>​
 +
 +Restart Nagios
enable_nagios_commands_via_web-interface.txt · Last modified: 2012/06/05 14:54 by ikahugu