[mrtg] Re: Newbie answer from newbie question

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Mon Nov 8 21:12:15 MET 1999


Elsie Simonton wrote:
> 
> Robin:
> Maybe I am not finding the right stuff to read as I still do not under
> So I went back to trying to use the numbers that we were given by the 
> .1.3.6.1.4.1.429.4.2.1.10.0&.1.3.6.1.4.1.429.4.2.1.10.0:p
> ublic at XXX.XXX.XXX
> I can not get a snmpget to work on these numbers and the info is blank
> 

You now seem to know how to work snmpget and snmpwalk.  Try to snmpwalk
that part of the tree, skipping the 10.0 at the end.  Route the output
to a file if necessary so you can view it more easely.

Command similar to:
   snmpwalk xxx.xxx.xxx.xxx public .1.3.6.1.4.1.429.4.2.1

Possible outcome:
-a- You see a line ending in 429.4.2.1.10
-b- You see some lines ending in 429.4.2.1.10.x  with x being from 1 to 8
-c- You don't see any similar lines

The OID returned (you may have to alter the prefix to make it a full OID)
is what you can use.

In case A, you added ".0" where you shouldn't.  In case B, each modem
reports its state and you have to use another OID for the total number
in use, or calculate that from each line with status "active".
In case C you're out of luck (as far as this OID is concerned) as it is
not available (or perhaps not using snmp V1?)

Regards,
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+

--
* To unsubscribe from the mrtg mailing list, send a message with the
  subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg


More information about the mrtg mailing list