Code: Select all
Sandboxes (Verbose Query) Uptime Goes Backwards Success [0 Items, 0 Rows]
Code: Select all
$ ./rca_query_sandboxes.py index | wc -l
48
Oddly, if I run:
Code: Select all
$ /u/cacti/cli$ php -q poller_reindex_hosts.php -id=4360 -d
Code: Select all
Sandboxes (Verbose Query) Uptime Goes Backwards Success [144 Items, 48 Rows]
This is on a machine that I happen to have ssh user access to, and limited admin rights in the GUI. The actual cacti admin is at a loss here so he gave me enough privs to do my own investigation, and I've spent 2 days messing around with it. The script output isn't that much different than before. That, and it works on my development Cacti server that we use to test this stuff.
Development:
Code: Select all
+ Running data query [11].
+ Found type = '4 '[script query].
+ Found data query XML file at '/u/cacti-0.8.7e/resource/script_queries/rca_sandboxes.xml'
+ XML file parsed ok.
+ Executing script for list of indexes 'python /u/cacti-0.8.7e/scripts/rca_query_sandboxes.py index'
+ Executing script query 'python /u/cacti-0.8.7e/scripts/rca_query_sandboxes.py query node'
+ Found item [rcaNode='p9_PC_15002_c_1_1'] index: p9_PC_15002_c_1_1:<ip_address>:16000
+ Found item [rcaNode='p9_PC_15010_c_1_1'] index: p9_PC_15010_c_1_1:<ip_address>:16020
...
... more similar items...
Code: Select all
+ Running data query [37].
+ Found type = '4 '[script query].
+ Found data query XML file at '/tmp/rca_sandboxes.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/opt/python-2.4.6/bin/python /tmp/rca_query_sandboxes.py index'
+ Executing script query '/opt/python-2.4.6/bin/python /tmp/rca_query_sandboxes.py query node'
+ Executing script query '/opt/python-2.4.6/bin/python /tmp/rca_query_sandboxes.py query address'
+ Executing script query '/opt/python-2.4.6/bin/python /tmp/rca_query_sandboxes.py query port'
+ Found data query XML file at '/tmp/rca_sandboxes.xml'
+ Found data query XML file at '/tmp/rca_sandboxes.xml'
+ Found data query XML file at '/tmp/rca_sandboxes.xml'
(a hundred or so more of the previous message)
Does anyone have any helpful debug advice here?