From: Klomp, H. <kl...@nl...> - 2007-09-28 07:04:45
|
Hi Craig,=20 I'm very curious at your checkpoint templates.=20 I don't know what you've put in them, but can't you use the FireWall-1 as= the object id, by putting this in your specs file and in your oids ?=20 something like this:=20 specs=20 vendor : Checkpoint=20 model : FW-1=20 snmpver : 2=20 sysdesc : FireWall-1=20 (Why do you use snmp ver 1 instead of 2 ? Our checkpoint equipment works= with snmp ver 2.=20 oids=20 sysDescr : .1.3.6.1.4.1.2620.1.1.10.0 Policy : .1.3.6.1.4.1.2620.1.9.5.0 I'm using a simple perl script to get the snmp variables out of the check= point FW but would like to switch to devmon, since it's much easier to get multiple information.=20 If you could send me the template I can try to help you solve the problem. Best regards,=20 Bert Klomp=20 -----Original Message----- From: dev...@li... [mailto:devmon-support= -bo...@li...] On Behalf Of Craig Cook Sent: vrijdag 28 september 2007 5:13 To: dev...@li... Subject: Re: [Devmon] Non Standard SNMP port >> 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.=20 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=20 CHECKPOINT-MIB::fwProduct.0 =3D 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=20 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 =20 _________________________________________________________________________= ___________ Pinpoint customers who are looking for what you sell.=20 http://searchmarketing.yahoo.com/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Devmon-support mailing list Dev...@li... https://lists.sourceforge.net/lists/listinfo/devmon-support |