|
From: Roland S. <ro...@lo...> - 2011-02-16 20:39:25
|
Hi, Thanks for the point, didn't think about that. As I said I've been trying a lot of specs/bb-hosts combinations. Now I've changed bb-hosts to: 192.168.34.254 server001 # DEVMON:model(compaq;server) and specs to. vendor : compaq model : server snmpver : 2 sysdesc : Linux All I get is this... [11-02-17@07:11:41] Checking if # DEVMON:model(compaq;server) matches NET:. [11-02-17@07:11:41] Unknown model in model() option for server001 Do I need to add the model somewhere else? Haven't changed anything else in my devmon setup more than devmon.cfg As of now my requirements are really low. The only thing I would like to accomplish is to get a SNMP status from server001 I only want to see if the SNMP daemon is running on server001, and get that logged on xymon. There is no xymon client running on server001, and xymon can't run there (it's an appliance) - Roland On 16/02/11 06:54 PM, Buchan Milne wrote: > On Wednesday, 16 February 2011 05:26:32 Roland Soderstrom wrote: >> Hi, >> >> Can't get this working, it seems ok but wont match my bb-hosts entry >> against my specs file. >> Xymon 4.3.0.0beta2 on Solaris 10, devmon >> >> jupiter # /usr/local/devmon/devmon --help >> Devmon v0.3.1-beta1, a device monitor for BigBrother/Hobbit >> jupiter # grep -v '^#' devmon.cfg |grep -v '^$' >> MULTINODE=NO >> BBHOSTS=/usr/local/xymon/server/etc/bb-hosts >> BBTAG=DEVMON >> SNMPCIDS=mycommunity >> NODENAME=HOSTNAME >> PIDFILE=/var/run/devmon/devmon.pid >> LOGFILE=/var/log/devmon.log >> DBHOST=localhost >> DBNAME=devmon >> DBUSER=devmon >> DBPASS=devmon >> BBTYPE=hobbit >> DISPSERV=localhost >> DISPPORT=1985 >> MSGSIZE=8096 >> MSGSLEEP=10 >> CYCLETIME=60 >> DEADTIME=180 >> CLEARTIME=180 >> NUMFORKS=10 >> MAXPOLLTIME=30 >> SNMPTIMEOUT=2 >> SNMPTRIES=5 >> jupiter # find templates/ -ls >> 416978 2 drwxr-xr-x 3 root root 3 Feb 16 13:10 >> templates/ >> 414263 2 drwxr-xr-x 2 root root 3 Feb 15 15:35 >> templates/HP-DL360 >> 414289 1 -rw-r--r-- 1 root root 117 Feb 16 13:18 >> templates/HP-DL360/specs >> jupiter # cat templates/HP-DL360/specs >> vendor : HP >> model : DL360 >> snmpver : 2 >> sysdesc : Linux ipndfw 2.4.21-21cpsmp #1 SMP Thu Sep 11 17:01:25 IDT >> 2008 i686 > This is not a future-proof solution. Your next kernel update will mess this > up. A non-HP server running the same kernel would also match. > > Devices where the sysdesc is device specific do not have any real problems > with matching templates. > > In this case, you may want to specify the model in the bb-hosts file, e.g.: > > 192.168.34.254 server001 # DEVMON:model(compaq;server) > > Regards, > Buchan |