how to disable notification for a particular service ?
Jon Angliss
jon at netdork.net
Sun Aug 31 18:19:46 CEST 2008
On Fri, 29 Aug 2008 14:33:29 +0530, "J. Bakshi"
<joydeep at infoservices.in> wrote:
>J. Bakshi wrote:
>
>Urrg, If I do " disable notification " it says
>
>Sorry, but Nagios is currently not checking for external commands, so
>your command will not be committed!
You probably didn't enable nagios to use the external command file...
check_external_commands=1
command_check_interval=5s
command_file=/usr/local/nagios/var/rw/nagios.cmd
Something like this in your nagios.cfg.
Also,
notifications_enabled 0
If this is added to a service, it'll disable notifications, however
it'll require nagios to be restarted to enable/disable. If you're
expecting to be able to disable it briefly whilst resolving an issue,
it'd be wise to use the command file, you'll get extra stuff too
(acknowledgements, rescheduling, forced, etc).
--
Jon Angliss
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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