I'm curious if there's a simple way to disable / re-enable notifications for a
specific host via command line. I wish to make some backups which will take
the host down for a period of time. I can cron the backups, and was hoping to
issue a command prior to the backup so we don't get notified during the
downtime.
I found various posts about this with nagios, such as:
http://rayber.blogspot.com/2011/09/disable-notifications-during.html
But wasn't sure of the syntax, since I couldn't find the URL to the cmd.cgi
used.
I found it on the filesystem at:
/usr/local/icinga/sbin/cmd.cgi
Also, what if the system doesn't actually have any services? Some systems are
simply getting a ping.
Any help would be great.
Thanks!
Regards,
Joseph Spenner
______________________________________________________________________
If life gives you lemons, keep them-- because hey.. free lemons.
"♥ Sticker" fixer: http://microflush.org/stuff/stickers/heartFix.html
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users