Dependants

Mark Nadir mnadir at sympatico.ca
Mon Dec 13 23:06:08 CET 2004


Hi Matt,

Hehe sorry for the confusion - I just threw in those names there to give 
you a bit of humour after what was a mind boggling experience - I had 
quite a few of those with nagios so I understand.

So the names you are looking for are the host names you defined for each 
object within your hosts.cfg, not the real internet names.
So yes, it is ANOTHER host within the hosts.cfg file, not the hosts.conf 
file.

It should really look like this

PARENTS  cisco-router pix-firewall
etc.

Good luck.

nagios at mattmartin.co.uk wrote:

>Mark,
>
>Thank you for your swift reply - thought it was being sarcastic at first ;)
>
>Just to confirm the hostname specified, do that have to be ANOTHER host in
>the hosts.conf file? Or a real "internet" hostname as such?
>
>Matt
>
>  
>
>>-----Original Message-----
>>From: Mark Nadir [mailto:mnadir at sympatico.ca] 
>>Sent: 13 December 2004 9:55 PM
>>To: nagios at mattmartin.co.uk
>>Cc: nagios-users at lists.sourceforge.net
>>Subject: Re: [Nagios-users] Dependants
>>
>>Hi Matt,
>>
>>Try this - in the hosts.cfg file, specify the PARENTS for 
>>each host, for 
>>e.g.
>>
>>PARENTS  www.godhelpme.com www.pleaseletthiswork.com
>>
>>That setting should help to prevent those messages, and only 
>>give send a 
>>message regarding the parent.
>>
>>Let me know how it goes.
>>
>>Mark.
>>
>>nagios at mattmartin.co.uk wrote:
>>
>>    
>>
>>>Hi,
>>>
>>>I have been running Nagios for some time yet never managed 
>>>      
>>>
>>to work this out.
>>    
>>
>>>We have a Nagios box monitoring external hosts (on another 
>>>      
>>>
>>network). Now
>>    
>>
>>>when that network goes down, Nagios will think the 
>>>      
>>>
>>hosts/services are down
>>    
>>
>>>and we get an email and text for each one going down then up.
>>>
>>>Is there a way I can set a global dependant for all hosts 
>>>      
>>>
>>and services to
>>    
>>
>>>say if I cant ping/reach X.X.X.X to not notify/check other hosts etc.
>>>
>>>This would save us a lot of money on the texts etc.
>>>
>>>Any help or guidance would be great!
>>>
>>>Thanks
>>>
>>>Matt
>>>
>>>
>>>
>>>-------------------------------------------------------
>>>SF email is sponsored by - The IT Product Guide
>>>Read honest & candid reviews on hundreds of IT Products from 
>>>      
>>>
>>real users.
>>    
>>
>>>Discover which products truly live up to the hype. Start 
>>>      
>>>
>>reading now. 
>>    
>>
>>>http://productguide.itmanagersjournal.com/
>>>_______________________________________________
>>>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
>>    
>>
>>> 
>>>
>>>      
>>>
>>
>>    
>>
>
>
>
>-------------------------------------------------------
>SF email is sponsored by - The IT Product Guide
>Read honest & candid reviews on hundreds of IT Products from real users.
>Discover which products truly live up to the hype. Start reading now. 
>http://productguide.itmanagersjournal.com/
>_______________________________________________
>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
>
>
>  
>




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
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