Xymon Mailing List Archive search

devmon : No matching templates for device

list David Baldwin
Tue, 7 Aug 2012 10:13:06 +1000
Message-Id: <user-24b47e5d5d60@xymon.invalid>

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 <user-ef04175556bd@xymon.invalid>
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?

-- 
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
user-cbbf693f2c89@xymon.invalid          Leverrier Street Bruce ACT 2617


Keep up to date with what's happening in Australian sport visit http://www.ausport.gov.au

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.