OK, this is my first nagios change - seems to be sane. Can I get two +1's since we're in a change freeze? And do we want defaulttemplate or criticaltemplate for this?
[jstanley@puppet1 puppet]$ git diff diff --git a/configs/system/nagios/services/procs.cfg b/configs/system/nagios/services/procs.cfg index 49f790d..3fbca7b 100644 --- a/configs/system/nagios/services/procs.cfg +++ b/configs/system/nagios/services/procs.cfg @@ -83,4 +83,11 @@ define service { max_check_attempts 12 }
+define service { + hostgroup servers + service_description Audit Daemon + check_commnad check_by_nrpe!check_auditd + use defaulttemplate +} +
diff --git a/configs/system/nrpe.cfg b/configs/system/nrpe.cfg index 2fbea87..2812dbc 100644 --- a/configs/system/nrpe.cfg +++ b/configs/system/nrpe.cfg @@ -215,6 +215,7 @@ command[check_supervisor]=/usr/lib/nagios/plugins/check_procs -c 1:1 -a '/usr/bi command[check_transifex_ssh_agent]=/usr/lib/nagios/plugins/check_procs -c 1:1 -C ssh-agent -u transifex command[check_lock]=/usr/lib/nagios/plugins/check_lock command[check_nagios]=/usr/lib/nagios/plugins/check_nagios -e 5 -F /var/log/nagios/status.dat -C /usr/sbin/nagios +command[check_auditd]=/usr/lib/nagios/plugins/check_procs -c 1:1 -C 'auditd' -u root # The following examples allow user-supplied arguments and can # only be used if the NRPE daemon was compiled with support for # command arguments *AND* the dont_blame_nrpe directive in this
On 2008-10-25 05:01:57 PM, Jon Stanley wrote:
OK, this is my first nagios change - seems to be sane. Can I get two +1's since we're in a change freeze? And do we want defaulttemplate or criticaltemplate for this?
I don't think this is covered by the prerelease change freeze, if you look at the Environments.odg file in the fedora-infrastructure repo (git clone git://git.fedorahosted.org/git/fedora-infrastructure.git).
defaulttemplate should be fine for this check.
Thanks, Ricky
On Sat, 25 Oct 2008, Ricky Zhou wrote:
On 2008-10-25 05:01:57 PM, Jon Stanley wrote:
OK, this is my first nagios change - seems to be sane. Can I get two +1's since we're in a change freeze? And do we want defaulttemplate or criticaltemplate for this?
I don't think this is covered by the prerelease change freeze, if you look at the Environments.odg file in the fedora-infrastructure repo (git clone git://git.fedorahosted.org/git/fedora-infrastructure.git).
defaulttemplate should be fine for this check.
The nagios change on noc1 is not frozen but the nrpe change (which is a global one) is frozen.
-Mike
On Sat, 25 Oct 2008, Jon Stanley wrote:
OK, this is my first nagios change - seems to be sane. Can I get two +1's since we're in a change freeze? And do we want defaulttemplate or criticaltemplate for this?
[jstanley@puppet1 puppet]$ git diff diff --git a/configs/system/nagios/services/procs.cfg b/configs/system/nagios/services/procs.cfg index 49f790d..3fbca7b 100644 --- a/configs/system/nagios/services/procs.cfg +++ b/configs/system/nagios/services/procs.cfg @@ -83,4 +83,11 @@ define service { max_check_attempts 12 }
+define service {
- hostgroup servers
- service_description Audit Daemon
- check_commnad check_by_nrpe!check_auditd
- use defaulttemplate
+}
diff --git a/configs/system/nrpe.cfg b/configs/system/nrpe.cfg index 2fbea87..2812dbc 100644 --- a/configs/system/nrpe.cfg +++ b/configs/system/nrpe.cfg @@ -215,6 +215,7 @@ command[check_supervisor]=/usr/lib/nagios/plugins/check_procs -c 1:1 -a '/usr/bi command[check_transifex_ssh_agent]=/usr/lib/nagios/plugins/check_procs -c 1:1 -C ssh-agent -u transifex command[check_lock]=/usr/lib/nagios/plugins/check_lock command[check_nagios]=/usr/lib/nagios/plugins/check_nagios -e 5 -F /var/log/nagios/status.dat -C /usr/sbin/nagios +command[check_auditd]=/usr/lib/nagios/plugins/check_procs -c 1:1 -C 'auditd' -u root # The following examples allow user-supplied arguments and can # only be used if the NRPE daemon was compiled with support for # command arguments *AND* the dont_blame_nrpe directive in this
+1
-Mike
On Sat, Oct 25, 2008 at 04:21:23PM -0500, Mike McGrath wrote:
On Sat, 25 Oct 2008, Jon Stanley wrote:
OK, this is my first nagios change - seems to be sane. Can I get two +1's since we're in a change freeze? And do we want defaulttemplate or criticaltemplate for this?
[jstanley@puppet1 puppet]$ git diff diff --git a/configs/system/nagios/services/procs.cfg b/configs/system/nagios/services/procs.cfg index 49f790d..3fbca7b 100644 --- a/configs/system/nagios/services/procs.cfg +++ b/configs/system/nagios/services/procs.cfg @@ -83,4 +83,11 @@ define service { max_check_attempts 12 }
+define service {
- hostgroup servers
- service_description Audit Daemon
- check_commnad check_by_nrpe!check_auditd
- use defaulttemplate
+}
diff --git a/configs/system/nrpe.cfg b/configs/system/nrpe.cfg index 2fbea87..2812dbc 100644 --- a/configs/system/nrpe.cfg +++ b/configs/system/nrpe.cfg @@ -215,6 +215,7 @@ command[check_supervisor]=/usr/lib/nagios/plugins/check_procs -c 1:1 -a '/usr/bi command[check_transifex_ssh_agent]=/usr/lib/nagios/plugins/check_procs -c 1:1 -C ssh-agent -u transifex command[check_lock]=/usr/lib/nagios/plugins/check_lock command[check_nagios]=/usr/lib/nagios/plugins/check_nagios -e 5 -F /var/log/nagios/status.dat -C /usr/sbin/nagios +command[check_auditd]=/usr/lib/nagios/plugins/check_procs -c 1:1 -C 'auditd' -u root # The following examples allow user-supplied arguments and can # only be used if the NRPE daemon was compiled with support for # command arguments *AND* the dont_blame_nrpe directive in this
+1
+1
luke
infrastructure@lists.fedoraproject.org