From: Buchan M. <bg...@st...> - 2007-06-29 14:47:20
|
On Friday, 29 June 2007, Sam Asher wrote: > Dear Buchan, > I apologize up front if I am mistaken, but it looks as though either: > a) you are using the word 'sysdesc' in the oids file without > defining its numeric oid first; The log below is only from --readbbhosts, and it seems devmon tries to=20 retrieve sysdesc to identify the device (in case the model is not set, but = I=20 have set it), or to verify that it can successfully query the device before= =20 adding it. > b) the timeout and retry values in the devmon.cfg file are too short > for your PIX; $ time snmpwalk -v1 -On -c xxxx kappa sysDescr.0 =2E1.3.6.1.2.1.1.1.0 =3D STRING: Cisco Firewall Services Module Version 3.1= (4) real 0m0.303s user 0m0.065s sys 0m0.009s > c) the box where you did the snmpwalk is not the the box on which > devmon is running and there is a firewall (perhaps the PIX itself) > blocking the snmp query. Same box. > (a) is unlikely because you are knowledgeable and started with a > working template, but just in case, do > # snmpget -On -v 1 -c 'xxxx' pix.ip.address sysdesc.0 > which will return the numeric value for the system descriptor which > you can then put into your oids file. The OID was present in the cpu/oids file. > If (b), edit [/usr/local?]/devmon/devmon.cfg and increase the > timeout and retry values. > > Good luck, > Samuel Asher > > Buchan Milne wrote: > > I am starting a template for a Cisco Pix (some tests can be taken > > straight from say cisco-6509, but I'll add a few more), but devmon clai= ms > > it can't query the device when trying to --readbbhosts: > > > > [07-06-29@11:35:53] Querying new hosts using cid 'xxxx' and snmp v2 > > [07-06-29@11:36:03] DEBUG SNMP: Dethawing data for kappa > > [07-06-29@11:36:03] ERROR: snmpget kappa (no response received) > > [07-06-29@11:36:03] kappa sysdesc =3D ::: UNDEFINED ::: > > [07-06-29@11:36:13] Querying new hosts using cid 'xxxx' and snmp v1 > > [07-06-29@11:36:23] DEBUG SNMP: Dethawing data for kappa > > [07-06-29@11:36:23] ERROR: snmpget kappa (no response received) > > [07-06-29@11:36:23] kappa sysdesc =3D ::: UNDEFINED ::: > > [07-06-29@11:36:23] Could not query device: kappa > > > > > > $ snmpwalk -v1 -c xxxx kappa sysDescr.0 > > SNMPv2-MIB::sysDescr.0 =3D STRING: Cisco Firewall Services Module Versi= on > > 3.1(4) $ snmpwalk -v2c -c xxxx kappa sysDescr.0 > > SNMPv2-MIB::sysDescr.0 =3D STRING: Cisco Firewall Services Module Versi= on > > 3.1(4) =2D-=20 Buchan Milne ISP Systems Specialist - Monitoring/Authentication Team Leader B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592) http://en.wikipedia.org/wiki/List_of_Internet_slang_phrases |