[mrtg] Re: Newbie answer from newbie question

Elsie Simonton elsiels at srttel.com
Mon Nov 8 22:31:44 MET 1999


One more thing that I noticed:

I get an e-mail from MRTG looking for a mrtg-bin file in /bin/sh.  I cannot find this file anywhere?  How do I recreate it?

>>> "Elsie Simonton" <elsiels at srttel.com> 11/08 2:55 PM >>>
Sorry tried something right after I sent the message.  When I do an snmpwalk of .1.3.6.1.4.429.2.1.10 I keep getting the couter:# and noticed that this number is changing.  Yet when I look into my logs it is just zero.  Thus I changed the line (dropped the zero) but am still not getting any values in my log file:
873331200 0 0 0 0
873244800 0 0 0 0
873158400 0 0 0 0
873072000 0 0 0 0
872985600 0 0 0 0
872899200 0 0 0 0 

Yet here is the snmpwalk answer: 
enterprises.429.4.2.1.10.0 = Counter: 96
Do I need to tell mrtg to ignore the word counter:????

>>> "Elsie Simonton" <elsiels at srttel.com> 11/08 2:25 PM >>>
Thank you all I am getting closer and starting to understand.
1.  Since I have pages of info on the snmpwalk of .1.3.6.1.4.1.429.4.2.1 then I therefor know that this is right (correct??)
2.  The line that Alex asked about was only one.  10.0 with an counter of 93.  What does this mean???  such as 93 calls????
3.  I have been running mrtg with this info in and have a blank line thus I am still missing something!!!!!   Where do I look now?????

>>> Alex van den Bogaerdt <alex at slot.hollandcasino.nl> 11/08 2:12 PM >>>
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 


--
* 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 


--
* 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