From: Buchan M. <bg...@st...> - 2009-05-14 16:41:19
|
On Thursday 14 May 2009 17:04:22 joh...@ac... wrote: > I have just installed devmon along with xymon and have xymon working > fine. I have installed devmon and I am having trouble setting up my > first host which is a win2000 server. I have snmp setup on the client > to accept connections from my devmon server and can confirm that by > running devmon in verbose debug mode. I get a sysdesc that matches the > sysdesc from the system (kratos): > > root@161mon:/home/xymon/devmon# ./devmon -vvvvvvvvvvvvvvvvv --debug > -readbbhosts > ... > [09-05-14@09:25:31] DEBUG SNMP: 1 > [09-05-14@09:25:31] DEBUG SNMP: 0 => 1.3.6.1.2.1.1.1.0 > [09-05-14@09:25:31] DEBUG SNMP: Adding ID => 1 OID =>1.3.6.1.2.1.1.1.0 > [09-05-14@09:25:31] DEBUG SNMP: Pooling 1 oids > [09-05-14@09:25:31] DEBUG SNMP: Dethawing data for kratos > [09-05-14@09:25:31] kratos sysdesc = ::: Hardware: x86 Family 6 Model 10 > Stepping 1 AT/AT COMPATIBLE - Software: Windows 2000 Version 5.0 (Build > 2195 Multiprocessor Free) ::: > > But the next line after that is: > [09-05-14@09:25:31] No matching templates for device: kratos > > Within devmon/templates/kratos I have the file specs that looks like: > > vendor : Microsoft > model : Win2k > snmpver : 2 > sysdesc : "Hardware: x86 Family 6 Model 10 Stepping 1 AT/AT COMPATIBLE - > Software: Windows 2000 Version 5.0 (Build 2195 Multiprocessor Free)" Devmon treats the string after sysdesc as a regular expression, so you have to be careful with any non-alphanumeric characters, but you also don't need to match the whole string, just enough to be unique ... Note that you can specify the template to use in the bb-hosts file. I have been monitoring a few Windows 2003 servers with devmon, you may want to look at the template I just committed in svn: http://devmon.svn.sourceforge.net/viewvc/devmon/trunk/templates/microsoft- win2k3server/ However, this template will (for now) only work if you set it explicitly in bb-hosts with DEVMON:model(microsoft;win2k3server) However, please make a copy of it, renamed to e.g. microsoft-win2kserver, and change the sysdesc to be just: sysdesc: Windows 2000 Version 5.0 and see if devmon will pick it up without manually setting it. Regards, Buchan |