Hi. library is 4.2.2 from ucd-snmp. libsnmp-perl shows version 4.2.0 according to the readme.
Note that snmpwalk works fine as does snmpdiskspace.monitor. Thanks, Aled. -- Aled Treharne - Technical Solutions Advisor - Frontier Internet Services Ltd Tel: 029 2082 0000 Fax: 029 2082 0038 http://www.frontier.net.uk Statements made are at all times subject to Frontier's Terms and Conditions of Business, which are available upon request. > -----Original Message----- > From: Peter HOLZLEITNER [mailto:[EMAIL PROTECTED]] > Sent: 26 November 2002 21:22 > To: [EMAIL PROTECTED] > Subject: RE: snmpvar.monitor returning errors > > > This must be coming from the snmp library ... > > which version are you using, and which version of the SNMP > perl module? > > --Peter > > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 26, 2002 11:58 AM > To: [EMAIL PROTECTED] > Subject: snmpvar.monitor returning errors > > > Hi guys. > > I'm playing with snmpvar.monitor trying to get it to work and I'm > getting a really weird error message. I'm trying to use it to poll a > Linux box which has net-snmp installed (with the host MIBs > compiled in) > to get the load averages. I've got the OID fine - I can snmpwalk the > OIDs fine and I get a good result. I've pasted my config > files in below. > > When I run ./snmpvar.monitor --community=secret > --config=/etc/mon/snmpvar.cf --varconf=/etc/mon/snmpvar.def --debug > --list lava (where lava is the server), I get: > > *** > snmpvar.monitor: configured from /etc/mon/snmpvar.def, > /etc/mon/snmpvar.cf > > > > *** BEGIN output *** > translate_asn_type: unhandled asn type (120) > sprint_value: asn type not handled 120 > Host Variable min value max > stat > -------------------------------------------------------------- > ---------- > ---- > lava Load > OK > translate_asn_type: unhandled asn type (120) > sprint_value: asn type not handled 120 > lava Load 15 > OK > translate_asn_type: unhandled asn type (120) > sprint_value: asn type not handled 120 > lava Load 5 > OK > *** END output *** > > Config files are as follows: > > *** BEGIN snmpvar.def *** > Variable LOAD1 > OID .1.3.6.1.4.1.2021.10.1.6.1 > Description Load > > Variable LOAD5 > OID .1.3.6.1.4.1.2021.10.1.6.2 > Description Load 5 > > Variable LOAD15 > OID .1.3.6.1.4.1.2021.10.1.6.3 > Description Load 15 > *** END *** > > *** BEGIN snmpvar.cf *** > Host lava > LOAD1 > LOAD5 > LOAD15 > *** END *** > > Can anyone shed any light on what it is I'm doing wrong? > > Cheers, > Aled. > > > -- > Aled Treharne - Technical Solutions Advisor - Frontier > Internet Services > Ltd > Tel: 029 2082 0000 Fax: 029 2082 0038 http://www.frontier.net.uk > Statements made are at all times subject to Frontier's Terms and > Conditions of Business, which are available upon request. > > _______________________________________________ > mon mailing list > [EMAIL PROTECTED] > http://linux.kernel.org/mailman/listinfo/mon >
smime.p7s
Description: application/pkcs7-signature