[mrtg] snmpget and snmpwalk problems (not related to MRTG)

Jason Mitchell jmitch at w-link.net
Mon Nov 8 22:12:29 MET 1999


Since the snmpget and snmpwalk topic has come up... has anyone run into this
error message with ucd-snmp?

snmpget: Failure in sendto (Address family not supported by protocol family)

The docs, of course, haven't helped much.  Sorry about the non-relation to
MRTG.

Thanks,
Jason Mitchell
Worldlink, Inc.

----- Original Message -----
From: Elsie Simonton <elsiels at srttel.com>
To: <alex at slot.hollandcasino.nl>; Elsie Simonton <elsiels at srttel.com>
Cc: <mrtg at list.ee.ethz.ch>
Sent: Monday, November 08, 1999 12:55 PM
Subject: [mrtg] Re: Newbie answer from newbie question


> 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