From: <Lor...@pf...> - 2008-03-03 14:28:49
|
OK, I've read the docs/TEMPLATES and grasped the ideas. Or at least, so I thought until I hit the following issue. Basically, the devmon logfile complains about ifInErrors which I believe is set correctly in the template oids file. What am I missing this time? :-/ Loris $ cat /var/log/devmon.log [08-03-03@14:19:33] No SNMP data found for ifInErrors on london-edge-vpn $ cat oids ifName : .1.3.6.1.2.1.2.2.1.2 : branch ifSpeed : .1.3.6.1.2.1.2.2.1.5 : branch ifInOctets : .1.3.6.1.2.1.2.2.1.10 : branch ifInErrors : .1.3.6.1.2.1.2.2.1.14 : branch ifOutOctets : .1.3.6.1.2.1.2.2.1.16 : branch ifOutErrors : .1.3.6.1.2.1.2.2.1.20 : branch $ snmpwalk -OS -On london-edge-vpn public ifInErrors .1.3.6.1.2.1.2.2.1.14.1 = Counter32: 0 .1.3.6.1.2.1.2.2.1.14.2 = Counter32: 1 .1.3.6.1.2.1.2.2.1.14.3 = Counter32: 4 .1.3.6.1.2.1.2.2.1.14.4 = Counter32: 0 .1.3.6.1.2.1.2.2.1.14.5 = Counter32: 0 .1.3.6.1.2.1.2.2.1.14.6 = Counter32: 0 .1.3.6.1.2.1.2.2.1.14.7 = Counter32: 0 $ Buchan Milne <bg...@st...> Sent by: dev...@li... 03/03/2008 13:53 Please respond to dev...@li... To Lor...@pf... cc dev...@li... Subject Re: [Devmon] Template creation How-to. On Monday 03 March 2008 13:21:48 Lor...@pf... wrote: > Ok, cheers Buchan. > > Yep, I've created the specs file and the device gets discovered correctly. > > Two questions which are more about SNMP than about devmon itself, but here > we go anyway: > > 1. > What option(s) should I pass to snmpwalk to see both the descriptive and > numeric OIDs on the same line? > I.e., how do I combine together the output of > snmpwalk device (which returns system.sysDescr.0 = "SofaWare > Embedded NG") > and > snmpwalk -OS -On device (which returns .1.3.6.1.2.1.1.1.0 = "SofaWare > Embedded NG") I'm not aware that this is possible. > so that I can easily identify the OID to use for what I'd like to monitor? I usually do this by looking at the MIB file. Especially as in some cases the MIB contains information on how to map numeric status codes. A MIB browser can also be useful, such as the one at http://www.mibdepot.com or http://im14c.servadmin.com/ . > 2. > If I run snmpwalk against a device and get all the entries with a > descriptive name (see below), I assume I do have all the relevant MIBs in > place. > Is this assumption correct? Yes, however devmon doesn't (currently) use MIBS. Please keep replies on-list. Regards, Buchan ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Devmon-support mailing list Dev...@li... https://lists.sourceforge.net/lists/listinfo/devmon-support |