Disabling checks in Nagios
Jason Martin
jhmartin at toger.us
Tue Dec 9 06:02:21 CET 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
You can also define a check_period that excludes the intented downtime.
- -Jason Martin
On Mon, 8 Dec 2003, Tedman Eng wrote:
> One way is to use one of the external command scripts
> (see here http://www.nagios.org/download/extras.php#misc)
> and edit the script to use DISABLE_SVC_CHECK and ENABLE_SVC_CHECK.
> Scheduling can easily be done using an external scheduler like cron or at,
> depending on your needs.
> Info about the format of external commands can be found here:
> http://nagios.sourceforge.net/docs/1_0/extcommands.html
>
> For example:
> # echo "disable_svc_chk.sh foobar ping" | at 0300
> job 6 at 2003-12-16 03:00
> # echo "enable_svc_chk.sh foobar ping" | at 0330
> job 7 at 2003-12-16 03:30
>
> There may exist a script to do such a thing already somewhere, but if there
> is, they forgot to tell me. :)
>
> HTH
> -Tedman
>
> "Anurag Gupta" <agupta at yahoo-inc.com> wrote in message
> news:FJEHIPBACBJHHEAGEJCPAEGKEFAA.agupta at yahoo-inc.com...
> > Hi,
> >
> > Is there an option in Nagios to *schedule* disabling of checks?
> >
> > Currently, we have Event Handlers that try to restart the processes on
> > remote machines. We want these handlers disabled during a Scheduled
> > downtime. But scheduled downtime is only for suppressing notifications.
> > Checks do happen, and event handlers are invoked.
> >
> > thanks
> > ======================
> > Regards
> > Anurag Gupta
> > agupta at yahoo-inc.com
> > 408.349.5166
> >
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: SF.net Giveback Program.
> > Does SourceForge.net help you be more productive? Does it
> > help you create better code? SHARE THE LOVE, and help us help
> > YOU! Click Here: http://sourceforge.net/donate/
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> > ::: Messages without supporting info will risk being sent to /dev/null
> >
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive? Does it
> help you create better code? SHARE THE LOVE, and help us help
> YOU! Click Here: http://sourceforge.net/donate/
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.3.3 (GNU/Linux)
Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/
iD8DBQE/1Vdgl2ODWuqVSBMRAoDlAJ9zHd5U57kmAUHzd2CS8LJDZ1dLzACeKmrH
BpBEJ5Afa7IaOJ1lfxVhKw8=
=Zl0q
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list