From: Gé J. <ge....@gm...> - 2009-03-18 17:33:38
|
Hi, Recently I updated my xymon server to 4.23 and I started testing devmon. Unfortunately I can't get it working. Can someone point me to the right direction? Steps I took: Install xymon (/opt/monitor/xymon install devmon (/opt/monitor/devmon-0.3.1-beta1/) and link -s devmon-0.3.1-beta1 devmon install templates (devmon-templates-20080206) and link -s devmon-templates-20080206 templates cp /usr/lib/mrtg2/*pm modules configuring bb-hosts: 10.128.168.20 sw2950 # dialup http://sw2950/ ssh telnet DEVMON:tests(cpu,fans,power) configuring devmon.cfg BBHOSTS=/opt/monitor/xymon/server/etc/bb-hosts DISPSERV=10.128.168.215 (and tried localhost) DISPPORT=1984 crontab: */5 * * * * root /root/devmon.sh script: callisto:/opt/monitor/devmon # cat /root/devmon.sh cd /opt/monitor/devmon /opt/monitor/devmon/devmon --readbbhosts Tested so far: callisto:/opt/monitor/devmon # snmpget -v2c -c public sw2950 1.3.6.1.2.1.1.1.0 SNMPv2-MIB::sysDescr.0 = STRING: Cisco Internetwork Operating System Software IOS (tm) C2950 Software (C2950-I6K2L2Q4-M), Version 12.1(22)EA13, RELEASE SOFTWARE (fc2) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2009 by cisco Systems, Inc. Compiled Fri 27-F works..... callisto:/opt/monitor/devmon # ./devmon --readbbhosts -vvv [09-03-18@17:53:58] Option 'bblocation' defaulting to: [09-03-18@17:53:58] SNMP querying all hosts in bb-hosts file, please wait... [09-03-18@17:53:58] Checking if # bbd http://callisto/ matches NET:. [09-03-18@17:53:58] Checking if # dialup http://sw2950/ ssh telnet DEVMON matches NET:. [09-03-18@17:53:58] Option 'bbdateformat' defaulting to: . [09-03-18@17:53:58] Querying pre-existing hosts [09-03-18@17:53:58] Discovered sw2950 as a cisco 2950 [09-03-18@17:53:58] Received signal TERM, shutting down with return code 0 [09-03-18@17:53:58] Received signal TERM, shutting down with return code 0 [09-03-18@17:53:58] Received signal TERM, shutting down with return code 0 [09-03-18@17:53:58] Received signal TERM, shutting down with return code 0 [09-03-18@17:53:58] Received signal TERM, shutting down with return code 0 [09-03-18@17:53:58] Received signal TERM, shutting down with return code 0 [09-03-18@17:53:58] Received signal TERM, shutting down with return code 0 [09-03-18@17:53:58] Received signal TERM, shutting down with return code 0 [09-03-18@17:53:58] Received signal TERM, shutting down with return code 0 [09-03-18@17:53:58] Received signal TERM, shutting down with return code 0 is this OK?? If I do a: ./devmon -f -p -vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv Everything checks out ok. for instance: status sw2950.memory green Wed Mar 18 18:04:08 2009 Free memory: 1282980 bytes (33%) Used memory: 2602216 bytes (67%) ------------- ---------------- Total memory: 3885196.00 bytes (100%) <!-- DEVMON to RRD Physical 67% --> Devmon version 0.3.1-beta1 running on callisto If I do a telnet to the xymon server at port 1984 and copy this data, everything displays ok: output from logging: (/var/log/devmon.log) [09-03-18@18:04:06] ---Initilizing devmon... [09-03-18@18:04:06] Verbosity level: 18 [09-03-18@18:04:06] Logging to /var/log/devmon.log [09-03-18@18:04:06] Node 0 reporting to 44.128.168.215 [09-03-18@18:04:06] Running under process id: 11811 [09-03-18@18:04:06] Entering poll loop [09-03-18@18:04:06] Starting snmp queries [09-03-18@18:04:06] Getting device status from hobbit at 44.128.168.215:1984 [09-03-18@18:04:06] Querying sw2950 for tests if_dsc,cpu,serial,if_stat,fans,if_col,memory,power,if_err,if_load [09-03-18@18:04:08] Performing test logic [09-03-18@18:04:08] Done with test logic [09-03-18@18:04:08] Sending messages to display server [09-03-18@18:04:08] Sleeping for 58 seconds. [09-03-18@18:04:10] Received signal INT, shutting down with return code 0 [09-03-18@18:04:10] Shutting down [09-03-18@18:04:10] Received signal INT, shutting down with return code 0 [09-03-18@18:04:10] Received signal INT, shutting down with return code 0 [09-03-18@18:04:11] Received signal INT, shutting down with return code 0 [09-03-18@18:04:11] Received signal INT, shutting down with return code 0 [09-03-18@18:04:11] Received signal INT, shutting down with return code 0 [09-03-18@18:04:11] Received signal INT, shutting down with return code 0 [09-03-18@18:04:11] Received signal INT, shutting down with return code 0 [09-03-18@18:04:11] Received signal INT, shutting down with return code 0 [09-03-18@18:04:11] Received signal INT, shutting down with return code 0 [09-03-18@18:04:11] Received signal INT, shutting down with return code 0 My interpretation is that devmon doesn't try to reach, or can't reach the xymon server. But what is wrong? port, firewall, etc. is open and checks ok. Thanks for your assistance. Ge |
From: Marco A. <mar...@re...> - 2010-11-16 14:17:31
|
Hi, i have the same problem .. i always xymon 4.2.0 .... updating 4.3.0 thanks for help Marco Il 18/03/2009 18.20, Gé Janssen ha scritto: > Hi, > > Recently I updated my xymon server to 4.23 and I started testing devmon. > > Unfortunately I can't get it working. Can someone point me to the right > direction? > > Steps I took: > > Install xymon (/opt/monitor/xymon > install devmon (/opt/monitor/devmon-0.3.1-beta1/) and link -s > devmon-0.3.1-beta1 devmon > install templates (devmon-templates-20080206) and link -s > devmon-templates-20080206 templates > > cp /usr/lib/mrtg2/*pm modules > > configuring bb-hosts: > 10.128.168.20 sw2950 # dialup http://sw2950/ ssh telnet > DEVMON:tests(cpu,fans,power) > > > configuring devmon.cfg > > BBHOSTS=/opt/monitor/xymon/server/etc/bb-hosts > DISPSERV=10.128.168.215 (and tried localhost) > DISPPORT=1984 > > crontab: > */5 * * * * root /root/devmon.sh > > script: > callisto:/opt/monitor/devmon # cat /root/devmon.sh > cd /opt/monitor/devmon > /opt/monitor/devmon/devmon --readbbhosts > > > Tested so far: > callisto:/opt/monitor/devmon # snmpget -v2c -c public sw2950 > 1.3.6.1.2.1.1.1.0 SNMPv2-MIB::sysDescr.0 = STRING: Cisco Internetwork > Operating System Software > IOS (tm) C2950 Software (C2950-I6K2L2Q4-M), Version 12.1(22)EA13, > RELEASE SOFTWARE (fc2) > Technical Support: http://www.cisco.com/techsupport > Copyright (c) 1986-2009 by cisco Systems, Inc. > Compiled Fri 27-F > > works..... > > callisto:/opt/monitor/devmon # ./devmon --readbbhosts -vvv > [09-03-18@17:53:58] Option 'bblocation' defaulting to: > [09-03-18@17:53:58] SNMP querying all hosts in bb-hosts file, please wait... > [09-03-18@17:53:58] Checking if # bbd http://callisto/ matches NET:. > [09-03-18@17:53:58] Checking if # dialup http://sw2950/ > ssh telnet DEVMON matches NET:. > [09-03-18@17:53:58] Option 'bbdateformat' defaulting to: . > [09-03-18@17:53:58] Querying pre-existing hosts > [09-03-18@17:53:58] Discovered sw2950 as a cisco 2950 > [09-03-18@17:53:58] Received signal TERM, shutting down with return code 0 > [09-03-18@17:53:58] Received signal TERM, shutting down with return code 0 > [09-03-18@17:53:58] Received signal TERM, shutting down with return code 0 > [09-03-18@17:53:58] Received signal TERM, shutting down with return code 0 > [09-03-18@17:53:58] Received signal TERM, shutting down with return code 0 > [09-03-18@17:53:58] Received signal TERM, shutting down with return code 0 > [09-03-18@17:53:58] Received signal TERM, shutting down with return code 0 > [09-03-18@17:53:58] Received signal TERM, shutting down with return code 0 > [09-03-18@17:53:58] Received signal TERM, shutting down with return code 0 > [09-03-18@17:53:58] Received signal TERM, shutting down with return code 0 > > is this OK?? > > > If I do a: > ./devmon -f -p -vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv > > Everything checks out ok. > > for instance: > status sw2950.memory green Wed Mar 18 18:04:08 2009 > > Free memory: 1282980 bytes (33%) > Used memory: 2602216 bytes (67%) > ------------- ---------------- > Total memory: 3885196.00 bytes (100%) > > <!-- DEVMON to RRD Physical 67% > --> > > > Devmon version 0.3.1-beta1 running on callisto > > > If I do a telnet to the xymon server at port 1984 and copy this data, > everything displays ok: > > output from logging: (/var/log/devmon.log) > > [09-03-18@18:04:06] ---Initilizing devmon... > [09-03-18@18:04:06] Verbosity level: 18 > [09-03-18@18:04:06] Logging to /var/log/devmon.log > [09-03-18@18:04:06] Node 0 reporting to 44.128.168.215 > [09-03-18@18:04:06] Running under process id: 11811 > [09-03-18@18:04:06] Entering poll loop > [09-03-18@18:04:06] Starting snmp queries > [09-03-18@18:04:06] Getting device status from hobbit at 44.128.168.215:1984 > [09-03-18@18:04:06] Querying sw2950 for tests > if_dsc,cpu,serial,if_stat,fans,if_col,memory,power,if_err,if_load > [09-03-18@18:04:08] Performing test logic > [09-03-18@18:04:08] Done with test logic > [09-03-18@18:04:08] Sending messages to display server > [09-03-18@18:04:08] Sleeping for 58 seconds. > [09-03-18@18:04:10] Received signal INT, shutting down with return code 0 > [09-03-18@18:04:10] Shutting down > [09-03-18@18:04:10] Received signal INT, shutting down with return code 0 > [09-03-18@18:04:10] Received signal INT, shutting down with return code 0 > [09-03-18@18:04:11] Received signal INT, shutting down with return code 0 > [09-03-18@18:04:11] Received signal INT, shutting down with return code 0 > [09-03-18@18:04:11] Received signal INT, shutting down with return code 0 > [09-03-18@18:04:11] Received signal INT, shutting down with return code 0 > [09-03-18@18:04:11] Received signal INT, shutting down with return code 0 > [09-03-18@18:04:11] Received signal INT, shutting down with return code 0 > [09-03-18@18:04:11] Received signal INT, shutting down with return code 0 > [09-03-18@18:04:11] Received signal INT, shutting down with return code 0 > > > My interpretation is that devmon doesn't try to reach, or can't reach > the xymon server. But what is wrong? > > port, firewall, etc. is open and checks ok. > > Thanks for your assistance. > > Ge > > > > > > > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > Devmon-support mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devmon-support > |