Everything works! But I want more!

Andreas Ericsson ae at op5.se
Wed Nov 24 17:34:03 CET 2004


Mark D. Nagel wrote:
> Daniel maher wrote:
> 
>> I think that what he's looking for is a way to represent 
>> non-monitorable (I'm inventing words now) objects in the automatically 
>> generated network map.  This is a neat idea; for example, I'd /love/ 
>> to be able to put a hub in that map, and have things hang off of it 
>> visually, but since there's no way to intelligently put such an object 
>> into the Nagios conf (that I'm aware of), the map remains 
>> topologically inaccurate.
>>
>> To put it another way, I don't want to monitor the hub - I just want 
>> to /see/ it placed accurately in the map. :)
>>
>> Any ideas?
>>  
>>
> Ya mean, like this?
> 
> define host {
>    use                         generic-host
>    check_command               check_ok
>    max_check_attempts          1
>    notification_interval       60
>    notification_period         never
>    notification_options        n
>    host_name                   some-hub
>    alias                       Some Unmanaged Hub
>    address                     127.0.0.1
>    parents                     parent-host
> }
> 

That's correct, except that nagios will fail miserably to recognize 
network outages. I suggest you set address of the dummy host to the 
dummy's real parent (ofcourse, that might just be 127.0.0.1, but it 
wasn't exactly obvious in the above example).


> The check_ok command is simply a call to 'check_dummy OK'.  You can then 
> use this as a parent for whatever devices are behind it, but it itself 
> will always appear up.
> 
> Mark
> 

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
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