From: Sam A. <s_...@as...> - 2007-09-04 13:08:24
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> <font size="-1"><font face="Courier New, Courier, monospace">Craig,<br> You may just need to hardwire the device type in the bb-hosts file with the DEVMON tag. E.g.:<br> 10.10.10.10 device.domain.name # DEVMON:model(brand;modelnumber)<br> then simply use those brand and model number strings in the 'specs' file for the device.<br> </font></font>"specs" file:<br> <tt>vendor : brand<br> model : modelnumber<br> snmpver : 2<br> sysdesc : whatever_you_want_as_long_as_it_is_different_from_any_other_template<br> <br> Just make sure that the brand and modelnumber (and sysdesc) you choose do not conflict with another existing template.<br> <br> -Sam<br> </tt><br> <br> Craig Cook wrote: <blockquote cite="mid:403...@we..." type="cite"> <style type="text/css"><!-- DIV {margin:0px;} --></style> <div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"> <div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"> <div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"> <div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"> <div>I have started work on a checkpoint template. Checkpoint does not have a sysDescr.0 value though.<br> <br> svr:/usr/local/devmontest# ./devmon -p --readbbhosts -vvvv<br> [07-09-03@19:33:29] SNMP querying all hosts in bb-hosts file, please wait...<br> [07-09-03@19:33:40] Querying new hosts using cid 'public' and snmp v2<br> [07-09-03@19:33:50] ERROR: snmpget cp.example.com (no response received)<br> [07-09-03@19:33:50] Querying new hosts using cid 'public' and snmp v1<br> [07-09-03@19:33:50] ERROR: snmpget cp.example.com (Received SNMP response with error code)<br> [07-09-03@19:34:00] Could not query device: cp.example.com<br> <br> <br> line from bb-hosts<br> 0.0.0.0 cp.example.com # DEVMON:port(260),model(checkpoint;1),tests(volume)<br> <br> 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 <br> CHECKPOINT-MIB::fwProduct.0 = STRING: "FireWall-1"<br> <br> svr:/usr/local/devmontest# snmpget -c public -v 1 10.10.1.1:260 .1.3.6.1.2.1.1.1.0 <br> <br> Error in packet<br> Reason: (noSuchName) There is no such variable name in this MIB.<br> Failed object: SNMPv2-MIB::sysDescr.0<br> <br> <br> Does "--readbbhosts" require a call to sysDescr.0 or can I tell it to look for another OID?<br> <br> (I have a work around, edit hosts.db directly)<br> <br> Craig<br> </div> </div> </div> </div> </div> <br> <hr size="1">Shape Yahoo! in your own image. <a moz-do-not-send="true" href="http://us.rd.yahoo.com/evt=48517/*http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7">Join our Network Research Panel today!</a> <pre wrap=""> <hr size="4" width="90%"> ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> <a class="moz-txt-link-freetext" href="http://get.splunk.com/">http://get.splunk.com/</a></pre> <pre wrap=""> <hr size="4" width="90%"> _______________________________________________ Devmon-support mailing list <a class="moz-txt-link-abbreviated" href="mailto:Dev...@li...">Dev...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/devmon-support">https://lists.sourceforge.net/lists/listinfo/devmon-support</a> </pre> </blockquote> <br> <pre class="moz-signature" cols="72">-- ************** The information in this email, and in any attachments, may contain confidential information and is intended solely for the attention and use of the named addressee(s). It must not be disclosed to any person without the written authorization of Sam Asher Computing Services, Inc. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are not authorized to, and must not, disclose, copy, distribute, or retain this message or any part of it. *************** </pre> </body> </html> |