disable notify-by-epager for a specific service

Russell Jackson raj at csub.edu
Thu Sep 13 20:31:18 CEST 2007


Jeremy C. Reed wrote:
> I need to temporarily disable notify-by-epager for a specific service.
> I don't want to create new templates or contact or contactgroups. I am 
> hoping I can just add.
> 
> I was hoping I could just add:
> 
> 	service_notification_commands   notify-by-email
> 
> (which is contact directive) to my service. But that is an Invalid service 
> object directive.
> 
> Any ideas? Or is the only way is to create duplicate templates, contacts, 
> and contactgroups but without the notify-by-epager?
> 

I've agonized over this one for years. I wound up having to create two separate contacts
for everyone with phones and list them explicitly in the contact lists. This has been a
major pita. As far as I know, there's no way around it.

The other one is having to create one-to-one service/contact group mappings because for
every different service somebody wants to be notified by phone but not email, both, or
vice versa. It would be nice to be able to specify the contact list in the host/service
definition directly.

-- 
Russell A. Jackson <raj at csub.edu>
Network Analyst
California State University, Bakersfield

The difference between the right word and the almost right word
is the difference between lightning and the lightning bug.
		-- Mark Twain
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3750 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070913/729e4077/attachment.bin>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------- next part --------------
_______________________________________________
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