From: Craig C. <cnc...@ya...> - 2007-09-28 03:13:31
|
>> I have added the port(260) parameter to bb-hosts, but >> my --readbbhosts >> failed so I suspect I have not edited hosts.db >> correctly. >> >> What is the syntax? > >You need to read the docs, its in there. Here is a cut from the USING >document > >DEVMON:tests(cpu,power),port(1161) Um, I have read the docs... "my --readbbhosts failed" I'll ask about my earlier post again... I have started work on a checkpoint template. Checkpoint does not have a sysDescr.0 value though. svr:/usr/local/devmontest# ./devmon -p --readbbhosts -vvvv [07-09-03@19:33:29] SNMP querying all hosts in bb-hosts file, please wait... [07-09-03@19:33:40] Querying new hosts using cid 'public' and snmp v2 [07-09-03@19:33:50] ERROR: snmpget cp.example.com (no response received) [07-09-03@19:33:50] Querying new hosts using cid 'public' and snmp v1 [07-09-03@19:33:50] ERROR: snmpget cp.example.com (Received SNMP response with error code) [07-09-03@19:34:00] Could not query device: cp.example.com line from bb-hosts 0.0.0.0 cp.example.com # DEVMON:port(260),model(checkpoint;1),tests(volume) svr:/usr/local/devmontest# snmpget -c public -v 1 10.10.1.1:260 .1.3.6.1.4.1.2620.1.1.10.0 CHECKPOINT-MIB::fwProduct.0 = STRING: "FireWall-1" svr:/usr/local/devmontest# snmpget -c public -v 1 10.10.1.1:260 .1.3.6.1.2.1.1.1.0 Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: SNMPv2-MIB::sysDescr.0 Does "--readbbhosts" require a call to sysDescr.0 or can I tell it to look for another OID? (I have a work around, edit hosts.db directly) Craig ____________________________________________________________________________________ Pinpoint customers who are looking for what you sell. http://searchmarketing.yahoo.com/ |