From: <joh...@ac...> - 2009-05-14 17:28:42
|
Thank you for the response! Well, the error has changed some - I guess that could be a step in the right direction. I now get an unknown model error: root@161mon:/home/xymon/devmon# ./devmon -vvvvvvvvvvvvvvvvv --debug --readbbhosts [09-05-14@12:20:44] Option 'bblocation' defaulting to: [09-05-14@12:20:44] DEBUG TEMPLATES: running read_templates() [09-05-14@12:20:44] DEBUG TEMPLATES: running post_template_load() [09-05-14@12:20:44] Saw 2 vendors, 0 models, 0 sysdescs & 0 templates [09-05-14@12:20:44] SNMP querying all hosts in bb-hosts file, please wait... [09-05-14@12:20:44] Checking if # bbd http://161mon/ COMMENT:"Xymon Server" DESCR:"Virtual Server:running on vheverest" matches NET:. [09-05-14@12:20:44] Checking if # DEVMON:model(microsoft;win2k3server) matches NET:. [09-05-14@12:20:44] Unknown model in model() option for kratos Why does it say that it saw 2 vendors but no models and no sysdescs? Pwd: devmon/templates/microsoft-win2k3server Cat specs: vendor : microsoft model : win2k3server snmpver : 2 sysdesc : Windows 2000 Version 5.0 bb-hosts: 10.n.n.n kratos # DEVMON:model(microsoft;win2k3server) Thanks, John _____________________________________________________________________ John R. Rothlisberger Accenture * Accenture Business Process Outsourcing * BSS Support Center Office: 312.693.3136 * Octel: 68/33136 * Fax: 312.652.3136 MSN: joh...@ho... AIM: johnr3728 _____________________________________________________________________ -----Original Message----- From: Buchan Milne [mailto:bg...@st...] Sent: Thursday, May 14, 2009 11:41 AM To: dev...@li... Cc: Rothlisberger, John R. Subject: Re: [Devmon] need help with initial devmon/hobbit setup - no matching template 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/microsof t- 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 This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited. |