[mrtg] Re: mrtg - snmpwalk

Kostas Marneris K.Marneris at demokritos.gr
Thu Feb 24 10:01:45 MET 2000


...
>Can i change the snmget-call in the mrtg script with snmpwalk??? Will
>this work???
>
>grts
>Michael Baumann
>
>For whom it may interests (the  problem):
>
>post:~ # snmpwalk 222.222.27.6 public .1.3.6.1.4.1.49.2.3.1.5.2.1.1.10
>
>enterprises.chipcom.chipmib02.chipProducts.online.olNets.olEnet.olEnetStats
Table
>
>.olEnetStatsEntry.olEnetStatsLocalColls.6 = Counter: 73613
>
>post:~ # snmpget 222.222.27.6 public .1.3.6.1.4.1.49.2.3.1.5.2.1.1.10
>Error in packet.
>Reason: There is no such variable name in this MIB.
>This name doesn't exist:
>enterprises.chipcom.chipmib02.chipProducts.online.olNet
>s.olEnet.olEnetStatsTable.olEnetStatsEntry.olEnetStatsLocalColls
>

In order to GET the value of the object you must use
the number of the instance.

Try:
snmpget 'ip address' public .1.3.6.1.4.1.49.2.3.1.5.2.1.1.10.6




Hope this helps you.

Kostas
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kostas Marneris
NCSR Demokritos / ARIADNE Network Operation Center
E-mail         : K.Marneris at noc.demokritos.gr
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:mrtg-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/mrtg



More information about the mrtg mailing list