Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
which is expected behavior when things need to be reindexed.
The question I have is why does the first example attempting to compare strings with an extra set of quotes? The SNMP value is indeed a string, but It looks like the quotes need to be stripped somewhere before comparing.
Last edited by Setarcos on Thu May 06, 2010 1:31 pm, edited 2 times in total.
Technical Support
General Information
Date Wed, 05 May 2010 06:18:26 -0700
Cacti Version 0.8.7e
Cacti OS unix
SNMP Version NET-SNMP version: 5.3.2.2
RRDTool Version RRDTool 1.2.x
Hosts 421
Graphs 12985
Data Sources Script/Command: 586
SNMP: 2297
SNMP Query: 10037
Script Query: 454
Script - Script Server (PHP): 1
Script Query - Script Server: 1527
Total: 14902
Poller Information
Interval 300
Type spine
Items Action[0]: 14730
Action[1]: 1168
Action[2]: 2149
Total: 18047
Concurrent Processes 8
Max Threads 40
PHP Servers 5
Script Timeout 120
Max OID 35
Last Run Statistics Time:38.5425 Method:spine Processes:8 Threads:40 Hosts:414 HostsPerProcess:52 DataSources:18047 RRDsProcessed:14131
PHP Information
PHP Version 5.1.6
PHP OS Linux
PHP uname Linux DL360-3 2.6.18-194.el5xen #1 SMP Tue Mar 16 22:01:26 EDT 2010 x86_64
PHP SNMP Installed
max_execution_time 120
memory_limit 512M
Spine 0.8.7a (and subsequent versions) show this warning, but recent SVN versions started generating gaps for these data sources leading to the discovery of the issue.
I had a peek at the poller_reindex table in the cacti DB, and see entries corresponding with the additional quotes, but they seem to vary from run-to-run with spine:
Thanks again TheWitness for your time this afternoon looking into this with me.
I have been running the small instance on the new code since I left the office and things look good. I just ran a short test on the larger instance, and the extra "" issue when determining if reindexing is needed appears to be resolved. However, the graph gap issue remains with the updated spine so I have some more investigative work to do.
Marked this issue as resolved, but will open up a new thread in Unstable Development Versions for the graph gap issue as this appears to be related to the SVN version of spine.