Ashkar,
I always explicitly specify the template - e.g.
192.168.0.110 svr2-test #ssh DEVMON:model(HP;HP server),cid(public)
I'm not sure having spaces in the model name is a good idea though - I'd remove those,
While pattern matching on sysDescr does work, it gets messy once you're managing multiple templates and device families. Too easy to get multiple matches or tie yourself in knots trying to get matching to work instead of just specifying what you want!
David.
---------- Forwarded message ---------- From: akshar bhosale <akshar.bhosale at gmail.com> Date: Mon, 6 Aug 2012 01:11:04 +0530 Subject: [Xymon] (no subject) To: "xymon at xymon.com" <xymon at xymon.com>
i am getting following error on rhel 5.2 server running xymon 4.2.2 and now devmon-0.3.1-beta1 for the first time
./devmon --readbbhosts [12-08-06 at 01:01:43] No matching templates for device: svr2-test
if i do
snmpwalk -v2c -c public svr2-test ,i get SNMPv2-MIB::sysDescr.0 = STRING: Linux svr2-test 2.6.18-128.el5 #1 SMP Wed Dec 17 11:41:38 EST 2008 x86_64
i hv created one template file
cat templates/svr2-test vendor : HP model : HP server snmpver : 2 sysdesc : 2.6.18-128.el5
following is bb-hosts entry..
192.168.0.110 svr2-test #ssh DEVMON:cid(public)
pl let me know wt is wrong?
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
-- David Baldwin - Senior Systems Administrator (Datacentres + Networks) Information and Communication Technology Services Australian Sports Commission http://ausport.gov.au Tel 02 62147830 Fax 02 62141830 PO Box 176 Belconnen ACT 2616 david.baldwin at ausport.gov.au Leverrier Street Bruce ACT 2617
Keep up to date with what's happening in Australian sport visit http://www.ausport.gov.au