I am trying to create a mrtg graph, which displays the amount of
active switch interfaces (status=up). Is this something, which can
be done with mrtg alone, or do I need additional software/shell scripts
to achieve this. So far I've tried something like this:

Target[count]: 1.3.6.1.2.1.2.2.1.8.101:[EMAIL PROTECTED] + 1.3.6.1.2.1.2.2.1.
8.102:[EMAIL PROTECTED] + 1.3.6.1.2.1.2.2.1.8.103:[EMAIL PROTECTED] + 1.3.6.
1.2.1.2.2.1.8.104:[EMAIL PROTECTED]
MaxBytes[count]: 4
Title[count]: 3Com 4900
PageTop[count]: <H1>ports used</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>3Com SuperStack 4900</TD></TR>
 </TABLE>
Options[count]: growright, gauge, nopercent, integer

The OID value returns this, when status is up:

IF-MIB::ifOperStatus.101 = INTEGER: up(1)

and when down:

IF-MIB::ifOperStatus.103 = INTEGER: down(2)

So far I haven't got anythin with the values that mrtg
manages to draw :-(

-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