nagios and parenting...

Tim Palmer tim at tany.com
Tue Jan 15 21:33:01 CET 2008


Eric F Crist wrote:
> Tom,
>
> Thanks for the reply, but my original question is not answered by the  
> FAQ you linked.  That sorta leads me toward the correct answer to a  
> question I've posted since, but that question was asked in response to  
> someone's reply to my original question.
>
> So, apparently I need to re-pose the question I originally asked,  
> since some seem to be confused.
>
> In regards to parenting and unreachable notifications, is there any  
> way to tell the nagios process where within the hierarchy it resides,  
> or is this figured out automatically?  At least in my mind, I'd need  
> to know where I was on a map to know what was between me and my  
> destination to figure out if the problem was somewhere in between, or  
> with my destination.
>
> Thanks.
>
> Eric Crist
>
>
> On Jan 15, 2008, at 9:59 AM, <tom.welsh at bt.com> <tom.welsh at bt.com>  
> wrote:
>
>   
>> Hi Eric,
>>
>> This is a faq question.
>>
>> http://www.nagios.org/faqs/viewfaq.php?faq_id=81&expand=false&showdesc=f
>> alse
>>
>> Regards
>>
>> Tom
>>
>> -----Original Message-----
>> From: nagios-users-bounces at lists.sourceforge.net
>> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of  
>> Eric F
>> Crist
>> Sent: 15 January 2008 14:31
>> To: Patrick Morris
>> Cc: Nagios List
>> Subject: Re: [Nagios-users] nagios and parenting...
>>
>> On Jan 14, 2008, at 2:40 PM, Patrick Morris wrote:
>>
>>     
>>> On Mon, 14 Jan 2008, Eric F Crist wrote:
>>>
>>>       
>>>> Is there any way or any benefit to telling nagios it resides on a
>>>> particular host?  It would appear to me that bit of information  
>>>> would
>>>>         
>>>> be necessary to properly handle notifications and parenting.
>>>>         
>>> Assuming you set up your parents correctly (from the perspective of
>>> Nagios), it'll drop itself into the right place.
>>>
>>> And, no, there's no way to tell Nagios whic host it lives on, but
>>> again, if you set up parents correctly, it won't matter.
>>>
>>> Say Nagios lives on Box A, and that box plugs into Switch B.  You're
>>> alos monitoring Box C, also attached to Switch B.
>>>
>>> Switch B would have a parent of Box A, and Box C would have a parent
>>> of Switch B.  When you look at the status map after setting that up,
>>> you'll see Nagios happily hanging itself off Box A, since it's the
>>> topmost parent of everything else.
>>>       
>> I think I do have all of the parenting set up correctly, but the  
>> Nagios
>> process appears in the status map in the center, not attached
>> to anything.  Should Nagios be at the top of my parenting chain?
>> Rather, the nagios host?
>>
>> -----
>> Eric F Crist
>> Secure Computing Networks
>>
>>
>>
>> ------------------------------------------------------------------------
>> -
>> This SF.net email is sponsored by: Microsoft Defy all challenges.
>> Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> 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
>>     
>
> -----
> Eric F Crist
> Secure Computing Networks
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> 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
>
>   
Hi Eric,

 The "automatic" part is that Nagios will show as connected to any host 
without a parent defined. If a host has a parent, it will display 
connected to that. I always make the Nagios host the only one without a 
parent. Then Nagios will only show connected to that host. I've never 
seen the Nagios process not connected to anything, but I've never had 
all machines with parents. The tree has to start somewhere :) Not to 
state the obvious, but you do know the whole parenting/unreachable 
configuration is based on the Nagios server's view of the world, which 
may vary from physical reality some, yes?

Any chance playing with different Status Map layouts would help?

tim

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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