[Nagiosplug-help] Logos don't display on status map or in host status views

Andreas Ericsson ae at op5.se
Thu Dec 14 13:53:45 CET 2006


Ralph.Grothe at itdz-berlin.de wrote:
>   
>>> But I am not aware of the difference between a
>>>
>>> notification_options	n
>>>
>>> and a
>>>
>>> notifications_enabled	0
>>>
>>> in the host definition block.
>>>
>> There is none, although notification_options = 0 is most 
>> often used when 
>> you temporarily want to disable notifications without
> forgetting your 
>> normal settings for the host.
> 
> 
> I am afraid, just before I have received your reply I reposted
> this question to the nagios user list.
> 
> Interestingly, nagios pre-flight check doesn't complain about a
> contradicting setting like
> 
> define host {
>     .
>     .
>     .
>     notification_options                n
>     notifications_enabled               1
>     .
>     .
>     .
> }
> 
> 
> 
> So I wonder if notification_options would have precedence over
> notifications_enabled?
> 

No notification options take precedence over any other (well, they do 
programmatically, but not logically). Think of Nagios as a lazy bastard 
that will check everything to see if it can get away without doing any 
actual work and you will most often get things right.

When I said that the two different (and seemingly colliding) 
configuration parameters you posted above are one and the same, I meant 
that setting them the way you showed (notification_options n, 
notifications_enabled 0) *results* in the same thing. I.e., you get no 
notifications. Inside Nagios they are separate variables. Nagios uses 
"notifications_enabled" internally for when you use the GUI to disable 
notifications for a certain host or service.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231




More information about the Help mailing list