<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Josh,
    <blockquote
      cite="mid:BANLkTik6URVSWdeON-TsR1K0T6CKm0DtsA@mail.gmail.com"
      type="cite">Sorry for the long post, just trying to put all the
      information I think is relevant in one place!<br>
      <br>
      I believe I have Devmon all ready to go short of one example
      test.  I copied the templates from SF and put them in the
      templates directory.  I am trying this with apc-9619.<br>
      <br>
      From what I've read, it simply looks to match a string in sysdesc
      of templates/apc-9619/specs with what comes back from the sysDescr
      snmp query.<br>
      <br>
    </blockquote>
    Matching sysDescr is one way to do it, and what you have included
    below would indicate this is working OK for you. The way to specify
    the template you want explicitly is to use the tag
    "DEVMON:model(vendor;model)" where "vendor" and "model" match the
    lines in the template specs file.<br>
    <br>
    From what you've included, looks like the --readbbhosts is working
    OK. The next step is to actually poll the device to report.<br>
    <br>
    What do you get when you run "./devmon -f -p -vvv" ?<br>
    <br>
    David.<br>
    <blockquote
      cite="mid:BANLkTik6URVSWdeON-TsR1K0T6CKm0DtsA@mail.gmail.com"
      type="cite">This is what I have:<br>
      <br>
      # more templates/apc-9619/specs<br>
      vendor  : apc<br>
      model   : 9619<br>
      snmpver : 1<br>
      sysdesc : <b>MN:AP9619</b><br>
      <br>
      # snmpwalk -v1 -ccommunity 172.16.0.60|grep MN\:AP9619<br>
      SNMPv2-MIB::sysDescr.0 = STRING: APC Web/SNMP Management Card
      (MB:v3.9.2 PF:v3.6.1 PN:apc_hw02_aos_361.bin AF1:v3.5.8
      AN1:apc_hw02_sumx_358.bin <b>MN:AP9619 </b>HR:A10 SN:
      NA0829011474 MD:07/19/2008) (Embedded PowerNet SNMP Agent SW v2.2
      compatible)<br>
      <br>
      devmon.cfg is looking at /home/xymon/server/etc/hosts.cfg<br>
      #grep DEVMON /home/xymon/server/etc/hosts.cfg<br>
      172.16.0.60     stouderapc              # DEVMON:cid(imagineapc)<br>
      <br>
      # ./devmon --readbbhosts -f -p -vvvvvvvvvvvvvvvvvvvvvvv<br>
      [11-05-27@12:25:31] Option 'bblocation' defaulting to:<br>
      [11-05-27@12:25:31] SNMP querying all hosts in bb-hosts file,
      please wait...<br>
      [11-05-27@12:25:31] Checking if       # bbd <a
        moz-do-not-send="true" href="http://localhost.localdomain/">http://localhost.localdomain/</a>
      matches NET:.<br>
      [11-05-27@12:25:31] Checking if                 # DEVMON matches
      NET:.<br>
      [11-05-27@12:25:31] Option 'bbdateformat' defaulting to: .<br>
      [11-05-27@12:25:31] Option 'dispport' defaulting to: 1984.<br>
      [11-05-27@12:25:31] Querying pre-existing hosts<br>
      [11-05-27@12:25:31] Discovered stouderapc as a apc 9619<br>
      [11-05-27@12:25:31] Received signal TERM, shutting down with
      return code 0<br>
      [11-05-27@12:25:32] Received signal TERM, shutting down with
      return code 0<br>
      <br>
      ./devmon --readbbhosts<br>
      #log shows<br>
      [11-05-27@12:14:57] Nodename autodetected as localhost.localdomain<br>
      [11-05-27@12:14:57] Option 'bbdateformat' defaulting to: .<br>
      [11-05-27@12:14:57] Option 'dispport' defaulting to: 1984.<br>
      [11-05-27@12:14:57] ---Initilizing devmon...<br>
      [11-05-27@12:14:57] Verbosity level: 30<br>
      [11-05-27@12:14:57] Logging to /var/log/devmon.log<br>
      [11-05-27@12:14:57] Node 0 reporting to localhost<br>
      [11-05-27@12:14:57] Running under process id: 2361<br>
      [11-05-27@12:14:57] Entering poll loop<br>
      [11-05-27@12:14:57] Starting snmp queries<br>
      [11-05-27@12:14:57] Getting device status from hobbit at
      localhost:1984<br>
      [11-05-27@12:14:57] Performing test logic<br>
      [11-05-27@12:14:57] Done with test logic<br>
      [11-05-27@12:14:57] Sending messages to display server<br>
      [11-05-27@12:14:57] Sleeping for 60 seconds.<br>
      [11-05-27@12:15:13] Received signal INT, shutting down with return
      code 0<br>
      <br>
      dm in Xymonreads:<br>
      <br>
      devmon, version 0.3.1-beta1<br>
      <br>
      Node name: localhost.localdomain<br>
      Node number: 0<br>
      Process ID: 28488<br>
      <br>
      Cycle time: 60<br>
      Dead time: 180<br>
      <br>
      Polled devices: <br>
      Polled tests: <br>
      Avg tests/node: n/a<br>
      # clear msgs: 0<br>
      <br>
      SNMP test time: 0<br>
      Test logic time: 0<br>
      BB msg xfer time: 0<br>
      This poll period: 0<br>
      <br>
      Avg poll time: 0.2 seconds<br>
      <br>
      Poll time averaged over 5 poll cycles.<br>
      <br clear="all">
      Josh Luthman<br>
      Office: <a moz-do-not-send="true" href="tel:937-552-2340"
        value="+19375522340" target="_blank">937-552-2340</a><br>
      Direct: <a moz-do-not-send="true" href="tel:937-552-2343"
        value="+19375522343" target="_blank">937-552-2343</a><br>
      1100 Wayne St<br>
      Suite 1337<br>
      Troy, OH 45373<br>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
David Baldwin - IT Unit
Australian Sports Commission          <a class="moz-txt-link-abbreviated" href="http://www.ausport.gov.au">www.ausport.gov.au</a>
Tel 02 62147830 Fax 02 62141830       PO Box 176 Belconnen ACT 2616
<a class="moz-txt-link-abbreviated" href="mailto:david.baldwin@ausport.gov.au">david.baldwin@ausport.gov.au</a>          Leverrier Street Bruce ACT 2617
</pre>
  <br>
<hr>
Keep up to date with what's happening in Australian sport visit <a href="http://www.ausport.gov.au">www.ausport.gov.au</a>
<br><br>
<font size="-2" face="arial">This message is intended for the addressee named and may contain confidential and privileged information.  If you are not the intended recipient please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful.  If you receive this message in error, please delete it and notify the sender.</font>
<hr>
</body>
</html>