Everything works! But I want more!

Mark D. Nagel mnagel at willingminds.com
Wed Nov 24 01:10:42 CET 2004


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
}

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

-- 
Mark D. Nagel, CCIE #3177 <mnagel at willingminds.com>
Principal Consultant, Willing Minds LLC
tel: 714-630-4772, fax: 714-630-4773, web: http://www.willingminds.com/



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