Contact negation - Nagios3.0b5

Fulton, David dfulton at mail.fdn.com
Wed Oct 31 14:37:48 CET 2007


Sorry about that, there was a punctuation issue on my machine.

 

I don't see anywhere in the definition of the host object that !user would be allowed. I think Nagios is actually trying to find a user called !user and since it doesn't exist complains about that. Try making another group without user included in it and reference that group instead.

 

Regards,

            David Fulton

 

 

________________________________

From: nagios-devel-bounces at lists.sourceforge.net [mailto:nagios-devel-bounces at lists.sourceforge.net] On Behalf Of Thomas Stolle
Sent: Wednesday, October 31, 2007 7:53 AM
To: Nagios Developers List
Subject: [Nagios-devel] Contact negation - Nagios3.0b5

 


Dear List, 

I thing this problem has already been reported, but I am not sure if there was a solution. 

Trying to exclude a member of a contactgroup for a specific service or host 

define host{ 
        use                             test_tmpl           
        host_name                      test 
        alias                           Server 
        contact_groups                admins 
        contacts                 !user 
        notification_options         d 
        address                        10.x.x.x 
        } 

I get the following error message. 

Error: Contact '!user' specified in host 'test' is not defined anywhere! 
(of course user is defined) 

As far as I know, such exclusions should be possible with Nagios3.0 

Best regards 
Thomas 

P Please consider the environmental impact of needlessly printing this e-mail. 

________________________________

RSC Commercial Services OHG
Wanheimer Straße 70, D-40468 Düsseldorf
Registergericht: Düsseldorf, HRA 12655 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20071031/a7996a16/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list