[Xymon] Configuring Devmon for the first time
Buchan Milne
bgmilne at staff.telkomsa.net
Mon May 30 14:49:37 CEST 2011
On Friday, 27 May 2011 19:13:46 Josh Luthman wrote:
> Just an update to this, I noticed Devmon is no longer reporting to Xymon
> (dm test is purple).
Note that there is a mailing list for devmon. Since your mail doesn't contain
anything related to Xymon, the devmon list would have been more appropriate.
Did you actually start devmon?
>
> # ./devmon --readbbhosts -vvvvvvvv --debug
Note that devmon --readbbhosts does a one-shot detect-and-write run. It does
not run in "normal" polling mode.
> [11-05-27 at 13:13:03] Option 'bblocation' defaulting to:
> [11-05-27 at 13:13:03] DEBUG TEMPLATES: running read_templates()
> [11-05-27 at 13:13:03] DEBUG TEMPLATES: read apc:9617:power template
> [11-05-27 at 13:13:03] DEBUG TEMPLATES: read apc:9619:power template
> [11-05-27 at 13:13:03] DEBUG TEMPLATES: read apc:9619:env template
> [11-05-27 at 13:13:03] DEBUG TEMPLATES: running post_template_load()
> [11-05-27 at 13:13:03] Saw 1 vendors, 2 models, 2 sysdescs & 6 templates
> [11-05-27 at 13:13:03] SNMP querying all hosts in bb-hosts file, please
> wait... [11-05-27 at 13:13:03] Checking if # bbd
> http://localhost.localdomain/matches NET:.
> [11-05-27 at 13:13:03] Checking if # DEVMON:cid(imagineapc)
> matches NET:.
> [11-05-27 at 13:13:03] DEBUG CFG: running read_hosts
> [11-05-27 at 13:13:03] Option 'bbdateformat' defaulting to: .
> [11-05-27 at 13:13:03] Option 'dispport' defaulting to: 1984.
> [11-05-27 at 13:13:03] Querying pre-existing hosts
> [11-05-27 at 13:13:03] DEBUG SNMP: 1
> [11-05-27 at 13:13:03] DEBUG SNMP: 0 => 1.3.6.1.2.1.1.1.0
> [11-05-27 at 13:13:03] DEBUG SNMP: Adding ID => 1 OID =>1.3.6.1.2.1.1.1.0
> [11-05-27 at 13:13:03] DEBUG SNMP: Pooling 1 oids
> [11-05-27 at 13:13:03] DEBUG SNMP: Dethawing data for stouderapc
> [11-05-27 at 13:13:03] stouderapc sysdesc = ::: 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 MN:AP9619 HR:A10 SN: NA0829011474 MD:07/19/2008)
> (Embedded PowerNet SNMP Agent SW v2.2 compatible) :::
> [11-05-27 at 13:13:03] stouderapc did not match apc : 9617 : MN:AP9617
> [11-05-27 at 13:13:03] Discovered stouderapc as a apc 9619
So all is good. You just need to start devmon.
Note that this message was present in your previous post too.
> [11-05-27 at 13:13:03] Received signal TERM, shutting down with return code 0
> [11-05-27 at 13:13:04] Received signal TERM, shutting down with return code 0
>
> (The last line is repeated 10 times total)
I think I have cleaned that (and a few other annoyances in --readbbhosts mode)
up in svn.
Regards,
Buchan
More information about the Xymon
mailing list