From: T.J. Y. <tj...@ho...> - 2007-08-22 22:48:28
|
Two mistakes I made. 1. display server's FQDN was set wrong. 2. "devmon --vvvv" wrong syntax prevented me from seeing above mistake. verbose mode should just have one dash not two. Thanks goes to Trent tj >From: "T.J. Yang" <tj...@ho...> >Reply-To: dev...@li... >To: dev...@li... >Subject: [Devmon] devmon send no bb message to hobbit server >Date: Wed, 22 Aug 2007 00:12:41 -0500 > >Hi, > >Need help to get over this road block, I don't understand why "-f -p >--debug" options didn't let devmon report bb green message to hobbit >server. >for my understanding, by default the cpu,if_col, if_dsc, >if_err,if_load,if_stat will got tested >and sending bb green message to hobbit even it is under threshold ,correct >? > > >config info > >bash-3.00$ grep myrouter /etc/opt/hobbitserver42/bb-hosts >10.32.13.60 myrouter-sw151 # DEVMON:cid(myroutercid) >bash-3.00$ >bash-3.00$ grep ^DISPSERV devmon.cfg >DISPSERV=hobbit.mydomain.com >bash-3.00$ >bash-3.00$ ls templates/cisco-3500/ >README cpu if_col if_dsc if_err if_load if_stat specs >bash-3.00$ > > >bash-3.00$ cat /opt/hobbitserver42/ext/devmon/templates/cisco-3500/cpu/oids > >sysDescr : .1.3.6.1.2.1.1.1.0 : leaf >sysReloadReason : .1.3.6.1.4.1.9.2.1.2.0 : leaf >sysUpTime : .1.3.6.1.2.1.1.3.0 : leaf >CPUTotal5Min : .1.3.6.1.4.1.9.9.109.1.1.1.1.5.1 : leaf >bash-3.00$ > >bash-3.00$ /opt/bin/snmpwalk -v 2c -c mypassword 10.32.13.60 >.1.3.6.1.4.1.9.9.109.1.1.1.1.5.1 >SNMPv2-SMI::enterprises.9.9.109.1.1.1.1.5.1 = Gauge32: 45 >bash-3.00$ > >Problem here, why no bb message got print out ?, my hobbit server page for >this host has no devmon page at all (like >http://devmon.sourceforge.net/images/cpu.jpg) > >bash-3.00$ /opt/hobbitserver42/ext/devmon/devmon --readbbhosts -f -p >--debug >[07-08-21@23:44:57] Saw 1 vendors, 1 models, 1 sysdescs & 3 templates >[07-08-21@23:44:58] DEBUG SNMP: Dethawing data for myrouter-sw151 >[07-08-21@23:44:58] myrouter-sw151 sysdesc = ::: Cisco Internetwork >Operating System Software >IOS (tm) C3500XL Software (C3500XL-C3H2S-M), Version 12.0(5)XU, RELEASE >SOFTWARE (fc1) >Copyright (c) 1986-2000 by cisco Systems, Inc. >Compiled Mon 03-Apr-00 17:31 by swati ::: >bash-3.00$ > >What I did wrong ? > >Thanks for you pointer > >tj > >_________________________________________________________________ >Tease your brain--play Clink! Win cool prizes! >http://club.live.com/clink.aspx?icid=clink_hotmailtextlink2 > > >------------------------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. >Still grepping through log files to find problems? Stop. >Now Search log events and configuration files using AJAX and a browser. >Download your FREE copy of Splunk now >> http://get.splunk.com/ >_______________________________________________ >Devmon-support mailing list >Dev...@li... >https://lists.sourceforge.net/lists/listinfo/devmon-support t _________________________________________________________________ Messenger Café open for fun 24/7. Hot games, cool activities served daily. Visit now. http://cafemessenger.com?ocid=TXT_TAGHM_AugHMtagline |