Cactid can't poll values that cmd.php will

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
jcaesar
Posts: 32
Joined: Mon Nov 01, 2004 5:07 pm
Location: Atlanta, GA

Cactid can't poll values that cmd.php will

Post by jcaesar »

I'm having a strange issue while I'm trying to set up the Data Query for F5 virutal servers. I have created the XML file, data templates, graph templates and all that fun stuff, and it all seems to work fine. The query shows all the virtual servers and allows me to create graphs.

The problem is that the graphs won't show any data. I turned up the logging level and see cacti IS trying to poll the correct OID, but shows the value as "U". When I paste the OID from the log file into a snmpget command (on that same server) I can poll the value fine.

The kicker is that I changed the poller back to CMD.php and it works fine. Here is a snippet from my log. Notice that the same OID is polled by cactid first and fails, and then the next attempt is by cmd.php and it gets a value.

Code: Select all

12/23/2004 10:25:02 AM - SYSTEM STATS: Time: 2.0549 s, Method: cmd.php, Processes: 4, Threads: N/A, Hosts: 2, Hosts/Process: 1  
12/23/2004 10:25:01 AM - CMDPHP: Poller[0] Time: 0.9540 s, Theads: N/A, Hosts: 1  
12/23/2004 10:25:01 AM - CMDPHP: Poller[0] Host[156] SNMP: v2: x.y.60.69, dsname: f5_vs_conn, oid: 1.3.6.1.4.1.3375.1.1.3.2.1.17.127.0.0.82.80, output: 174  
12/23/2004 10:25:01 AM - CMDPHP: Poller[0] Host[156] SNMP: v2: x.y.60.69, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 82571219  
12/23/2004 10:25:01 AM - CMDPHP: Poller[0] Host[156] SNMP: v2: x.y.60.69, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 4248811899  
12/23/2004 10:25:00 AM - CMDPHP: Poller[0] ERROR: Either there are no items in the cache or polling is disabled  
12/23/2004 10:20:01 AM - SYSTEM STATS: Time: 1.1271 s, Method: cactid, Processes: 4, Threads: 4, Hosts: 2, Hosts/Process: 1  
12/23/2004 10:20:01 AM - CACTID: Poller[0] Time: 0.8407 s, Threads: 4, Hosts: 1  
12/23/2004 10:20:01 AM - CACTID: Poller[0] Host[156] SNMP: v2: x.y.60.69, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, value: 78692868  
12/23/2004 10:20:01 AM - CACTID: Poller[0] Host[156] SNMP: v2: x.y.60.69, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, value: 4232652529  
12/23/2004 10:20:01 AM - CACTID: Poller[0] Time: 0.6476 s, Threads: 4, Hosts: 0  
12/23/2004 10:20:01 AM - CACTID: Poller[0] Host[156] SNMP: v2: x.y.60.69, dsname: f5_vs_conn, oid: 1.3.6.1.4.1.3375.1.1.3.2.1.17.127.0.0.82.80, value: U  
12/23/2004 10:20:01 AM - CACTID: Poller[0] Host[156] WARNING: Result from SNMP not valid. Partial Result: No Such Object avail...  
Running:
Cacti: 0.8.6c
Cacitd: 0.8.6c
PHP 4.3.10
Apache 2.0.52
mysql 4.1.8

If anyone has a suggestion about why this is happening, I would greatly appreciate the help.
jcaesar
Posts: 32
Joined: Mon Nov 01, 2004 5:07 pm
Location: Atlanta, GA

Post by jcaesar »

As another piece of information, this single OID (from the new query that I created) is the only one that didn't work with cactid out of the 650+ graphs that were configured.

The log output above is after I deleted all the devices except for one (test server that was running a dump of the production database).
jcaesar
Posts: 32
Joined: Mon Nov 01, 2004 5:07 pm
Location: Atlanta, GA

Post by jcaesar »

This problem seems to have disappeared after reverting to PHP 4.3.9.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests