>Check the mrtg documentation for the fake mib objects ifAdminHack &
>ifOperHack. These return 1 for up, 0 for down. So, for the active ports
>on an 8 port switch, you could do something like this:

Thanks for the tip. With this conf:

Target[count]: ifAdminHack.5&ifOperHack.5:[EMAIL PROTECTED] + 
ifAdminHack.6&ifOperHack.6:[EMAIL PROTECTED] + 
ifAdminHack.7&ifOperHack.7:[EMAIL PROTECTED] + 
ifAdminHack.8&ifOperHack.8:[EMAIL PROTECTED]

I think I get all interfaces in "down state", and none
is up, even when it's actually up.

I checked out mrtg/contrib script GetSNMPLinesUP, which looks like
the one I'm looking for. The problem is that it doesn't return
anything, and log file just displays zeros :-(

-MiikaT

--
Unsubscribe mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to