[rtg] rtgpoll failed: using btoneill's targetmaker

Yu Safin calanet at gmail.com
Mon Nov 13 13:03:23 PST 2006


I ran BTONEILL's targetmaker to create /opt/rtg/etc/targets.cfg.
Then, I ran rtgpoll as follows but I am getting SNMP errors and no
MySql inserts.
Is this normal?

caplan:/usr/local/rtg/bin # ./rtgpoll -vvv -t /opt/rtg/etc/targets.cfg
RTG version 0.7.4 starting.
Checking another instance with pid 14635.
PID 14635 is no longer running. Starting anyway.
Using RTG config file [/usr/local/rtg/etc/rtg.conf].
Reading RTG target list [/opt/rtg/etc/targets.cfg].
Successfully hashed [4] new targets, (1408 bytes).
Initializing threads (5).
Initializing SNMP (v1, port 161).
Connecting to MySQL database 'rtg' on 'localhost'...connected.

Starting threads.
Thread [0] starting.
Thread [1] starting.
Thread [2] starting.
Thread [3] starting.
Thread [4] starting.
RTG Ready.
[11/13 15:38:06 Queue ready, broadcasting thread go condition.]
Thread [0] processing snmpver 1; (4 work units remain in queue)
*** SNMP Error: (snmpver) Bad descriptor.
Thread [0] processing host 172.22.130.10 (3 work units remain in queue)
*** SNMP Error: (host) Bad descriptor.
Thread [0] processing };  (2 work units remain in queue)
*** SNMP Error: (};) Bad descriptor.
Thread [0] processing community public; (1 work units remain in queue)
*** SNMP Error: (community) Bad descriptor.
Queue processed. Broadcasting thread done condition.
[11/13 15:38:06 Poll round 1 complete.]

[Polls = 0] [DBInserts = 0] [Wraps = 0] [OutOfRange = 0]
[No Resp = 0] [SNMP Errs = 4] [Slow = 0] [PollTime = 0.007s]
Next Poll: 10...9...8...7...6...5...4...3...2...1...
[11/13 15:51:30 Queue ready, broadcasting thread go condition.]
Thread [0] processing snmpver 1; (4 work units remain in queue)
*** SNMP Error: (snmpver) Bad descriptor.
Thread [0] processing host 172.22.130.10 (3 work units remain in queue)
*** SNMP Error: (host) Bad descriptor.
Thread [0] processing };  (2 work units remain in queue)
*** SNMP Error: (};) Bad descriptor.
Thread [0] processing community public; (1 work units remain in queue)
*** SNMP Error: (community) Bad descriptor.
Queue processed. Broadcasting thread done condition.
[11/13 15:51:30 Poll round 2 complete.]

[Polls = 0] [DBInserts = 0] [Wraps = 0] [OutOfRange = 0]
[No Resp = 0] [SNMP Errs = 8] [Slow = 0] [PollTime = 0.004s]
Next Poll: 10...9...




caplan:/usr/local/rtg/bin # snmpwalk -v 1 -c public lnxcapd ssCpuRawIdle
UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 39524786


More information about the RTG mailing list