switch host definition: no IP
dick at uchicago.edu
dick at uchicago.edu
Fri Mar 17 01:33:13 CET 2006
>
>Another hack on the cluster object is to use the check_host mode of
>check_icmp. Create a link to check_icmp called check_host. Use the
>command:
>
> check_host 10.9.0.2 10.9.0.3
>
>as the check_host command for switch1 (and possibly a check_ping
>service command for switch1). As long as one of the IP addresses to
>check_host responds, it will returns an ok state. So the switch will
>be found down only if both the 0.2 and 0.3 hosts are down. Needless to
>say this works best is 0.2 and 0.3 are on separate power systems/UPS
>legs so that a power failure doesn't make it look like the switch went
>down. However if you plug all three devices into the same power plug
>then it works right.
>
>Dick, does switch1 have a serial console that is network accessible
>(via a terminal server for example) that you could use to probe the
>switch? Using an expect script to drive an interaction with the switch
>can also be used as a "ping" operation.
>
john,
the switches in question are total junk "autosensing" switches i grabbed from
bestbuy, no serial console for management access. the idea of using the expect
script to run checks via a console server is a good one, but i don't have the
right equipment.
thx for the ideas y'all. i'll try them to see how they work out. i'll post back
later if any one of them seems to work best.
cheers,
jake
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
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