From:
[email protected]
Package: cacti
Version: 0.8.5a-4
Not pretty sure if it's a cacti problem or the problem is in php4... but
since php4 updated to 4.3.8-6 tonight some queries in cacti made via
SNMP stopped working.
When you see that query in verbose mode it says:
+ Running data query [9].
+ Found type = '4 '[script query].
+ Found data query XML file at '/usr/share/cacti/resource/script_queries/host_cpu.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/bin/php4 -q /usr/share/cacti/scripts/query_host_cpu.php ctransporte cpqgsc 2 index'
+ Executing script query '/usr/bin/php4 -q /usr/share/cacti/scripts/query_host_cpu.php ctransporte cpqgsc 2 query
index'
And when you execute that scripts from a shell:
debiansid:~# /usr/bin/php4 -q
/usr/share/cacti/scripts/query_host_cpu.php #server# #community# 2 index
Fatal error: Call to undefined function: mysql_connect() in /usr/share/adodb/drivers/adodb-mysql.inc.php on line 326
--
Berny
Linux Registered User #342135
Berny (at) eDonkeyCentral (dot) com
--
To UNSUBSCRIBE, email to
[email protected]
with a subject of "unsubscribe". Trouble? Contact
[email protected]
--- SoupGate-Win32 v1.05
* Origin: you cannot sedate... all the things you hate (1:229/2)