diff --git a/servers/puppet/files/nagios3/cgi.cfg b/servers/puppet/files/nagios3/cgi.cfg index 7a7ac30b83..1b45a4573c 100644 --- a/servers/puppet/files/nagios3/cgi.cfg +++ b/servers/puppet/files/nagios3/cgi.cfg @@ -88,7 +88,7 @@ nagios_check_command=/usr/lib/nagios/plugins/check_nagios /var/cache/nagios3/sta # authentication (bad idea), while any other value will make them # use the authentication functions (the default). -use_authentication=0 +use_authentication=1 diff --git a/servers/puppet/files/nagios3/nagios.cfg b/servers/puppet/files/nagios3/nagios.cfg index 7a850c0c75..4f7e430483 100644 --- a/servers/puppet/files/nagios3/nagios.cfg +++ b/servers/puppet/files/nagios3/nagios.cfg @@ -142,7 +142,7 @@ nagios_group=nagios # you will have to enable this. # Values: 0 = disable commands, 1 = enable commands -check_external_commands=0 +check_external_commands=1 diff --git a/servers/puppet/manifests/site.pp b/servers/puppet/manifests/site.pp index 2b993fbb51..2159ec33c1 100644 --- a/servers/puppet/manifests/site.pp +++ b/servers/puppet/manifests/site.pp @@ -318,6 +318,16 @@ class humbug_nagios { ensure => present, } #TODO: Need to install our Nagios config + # + # Also need to run this sequence to enable commands to set the + # permissions for using the Nagios commands feature + # + # /etc/init.d/nagios3 stop + # dpkg-statoverride --update --add nagios www-data 2710 /var/lib/nagios3/rw + # dpkg-statoverride --update --add nagios nagios 751 /var/lib/nagios3 + # /etc/init.d/nagios3 start + # + # } class humbug_zmirror {