Verbose Query and add device error in data_query.php

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
tsunam
Posts: 8
Joined: Tue Feb 28, 2006 11:24 pm

Verbose Query and add device error in data_query.php

Post by tsunam »

Running cacti 0.8.6h with full patches. I'm getting a not fun error on trying to run verbose queries or adding devices.
Other hopefully relevent info:
Apache 2.0.55
PHP 5.1.1
mysql 4.1.14
rrdtool 1.2.6
net-snmp 5.2.1.2

This all started because SNMP - Interface would return Success [0 Items, 0 Rows].

Snmp works for the local host I'm trying to get info from (and on a remote as well, which has the same problem). Not sure why I'm getting the below problem any direction would be appreciated.

Code: Select all

Notice: Undefined index: arg_index in /web/htdocs/testing/lib/data_query.php on line 98

Notice: Undefined index: script_path in /web/htdocs/testing/lib/data_query.php on line 98

Notice: Undefined index: arg_query in /web/htdocs/testing/lib/data_query.php on line 109

Notice: Undefined index: query_name in /web/htdocs/testing/lib/data_query.php on line 109

Notice: Undefined index: script_path in /web/htdocs/testing/lib/data_query.php on line 109

Notice: Undefined index: arg_query in /web/htdocs/testing/lib/data_query.php on line 109

Notice: Undefined index: query_name in /web/htdocs/testing/lib/data_query.php on line 109

Notice: Undefined index: script_path in /web/htdocs/testing/lib/data_query.php on line 109

Notice: Undefined index: arg_query in /web/htdocs/testing/lib/data_query.php on line 109

Notice: Undefined index: query_name in /web/htdocs/testing/lib/data_query.php on line 109

Notice: Undefined index: script_path in /web/htdocs/testing/lib/data_query.php on line 109

Notice: Undefined index: arg_query in /web/htdocs/testing/lib/data_query.php on line 109

Notice: Undefined index: query_name in /web/htdocs/testing/lib/data_query.php on line 109

Notice: Undefined index: script_path in /web/htdocs/testing/lib/data_query.php on line 109

Notice: Undefined index: arg_query in /web/htdocs/testing/lib/data_query.php on line 109

Notice: Undefined index: query_name in /web/htdocs/testing/lib/data_query.php on line 109

Notice: Undefined index: script_path in /web/htdocs/testing/lib/data_query.php on line 109

Notice: Undefined index: arg_query in /web/htdocs/testing/lib/data_query.php on line 109
tsunam
Posts: 8
Joined: Tue Feb 28, 2006 11:24 pm

Post by tsunam »

Some further information. I hit back after getting the above error and now get a verbose return that looks like this

Code: Select all

+ Running data query [1].
+ Found type = '6 '[script query].
+ Found data query XML file at '/web/htdocs/testing/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing script for list of indexes ' '
+ Executing script query ' '
+ Executing script query ' '
+ Executing script query ' '
+ Executing script query ' '
+ Executing script query ' '
+ Executing script query ' '
+ Executing script query ' '
+ Executing script query ' '
+ Executing script query ' '
+ Found data query XML file at '/web/htdocs/testing/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/web/htdocs/testing/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/web/htdocs/testing/resource/snmp_queries/interface.xml'
So the xml runs fine...just doesn't perform the query?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

tsunam wrote:

Code: Select all

+ Running data query [1].
+ Found type = '6 '[script query].
+ Found data query XML file at '/web/htdocs/testing/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing script for list of indexes ' '
So the xml runs fine...just doesn't perform the query?
Last line is weird. It should display the OID for the index to be queried. Please post the interface xml
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests