Change request: monitor auditd
Luke Macken
lmacken at redhat.com
Sat Oct 25 22:14:26 UTC 2008
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 at 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
More information about the infrastructure
mailing list