From 099a9d47f3ea08ad3baf38111b376136f51ea14e Mon Sep 17 00:00:00 2001 From: Ossi Salmi Date: Thu, 8 Aug 2013 00:05:52 +0300 Subject: [PATCH] nagios: Enable host and service commands --- nagios/files/nagios.cfg.Debian | 2 +- nagios/files/nagios.cfg.RedHat | 2 +- nagios/templates/cgi.cfg.erb | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nagios/files/nagios.cfg.Debian b/nagios/files/nagios.cfg.Debian index f58d70e..107e0d0 100644 --- a/nagios/files/nagios.cfg.Debian +++ b/nagios/files/nagios.cfg.Debian @@ -129,7 +129,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/nagios/files/nagios.cfg.RedHat b/nagios/files/nagios.cfg.RedHat index 8110cff..cc490a9 100644 --- a/nagios/files/nagios.cfg.RedHat +++ b/nagios/files/nagios.cfg.RedHat @@ -132,7 +132,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/nagios/templates/cgi.cfg.erb b/nagios/templates/cgi.cfg.erb index c8e3a79..9daffc2 100644 --- a/nagios/templates/cgi.cfg.erb +++ b/nagios/templates/cgi.cfg.erb @@ -191,8 +191,8 @@ authorized_for_all_hosts=* # authorization). You may use an asterisk (*) to authorize any # user who has authenticated to the web server. -authorized_for_all_service_commands= -authorized_for_all_host_commands= +authorized_for_all_service_commands=* +authorized_for_all_host_commands=*