From: Buchan M. <bg...@st...> - 2012-08-07 08:28:27
|
On Monday, 6 August 2012 23:53:57 akshar bhosale wrote: > 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@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 Are you aware there is a template for ProLiant servers with the "Compaq" Insight agent installed? See the compaq-server template. > snmpver : 2 > sysdesc : 2.6.18-128.el5 So you're planning on updating the specs file every time you do a kernel upgrade, and you're planning on having different specs files (or very big regex's for sysdesc) to cover all your servers? > following is bb-hosts entry.. > > 192.168.0.110 svr2-test #ssh DEVMON:cid(public) In this case, servers running Linux, I think it is best to specify the template to be used in the DEVMON tag. For example, if you have Dell servers and HP servers running the same kernel releases, there is no way to distinguish from the sysDescr which is which. Please try this: 192.168.0.110 svr2-test #ssh DEVMON:cid(public),model(compaq;server) Regards, Buchan |