Hi,
I've just installed on a new "stat machine" Cacti cacti-0.8.6h with cactid on a Fedora core 4 platform with apache 1.3.34 and php 5.1 and MySQL 5.0.
(I've used your 2 patchs for mySQL 5)
When I run Cacti with my scripts with cmd.php My graphs display correctly and RRA are generated. Whereas when I run it with cactid (0.8.6g), (I've cleared, log, rra, poller cache..) it failed with these messages when I run from command line the poller .:
Waiting on 2/2 pollers.
Waiting on 2/2 pollers.
Waiting on 2/2 pollers.
Waiting on 2/2 pollers.
Waiting on 2/2 pollers.
Waiting on 2/2 pollers.
Waiting on 2/2 pollers.
CACTID: Host[6] ERROR: Empty result [127.0.0.1]: 'perl /servers/apache/sites/cacti-0.8.6h/scripts/getvaleursxml.pl APA,APBS'
CACTID: Host[6] DS[39] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[6] ERROR: Empty result [127.0.0.1]: 'perl /servers/apache/sites/cacti-0.8.6h/scripts/getvaleursxml.pl localhost.xml CE21,CE22,CE25,CE80,CE110'
CACTID: Host[6] DS[29] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[6] ERROR: Empty result [127.0.0.1]: 'perl /servers/apache/sites/cacti-0.8.6h/scripts/getvaleursxml.pl localhost.xml CPUI,CPUS,CPUU'
CACTID: Host[6] DS[30] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[6] ERROR: Empty result [127.0.0.1]: 'perl /servers/apache/sites/cacti-0.8.6h/scripts/getvaleursxml.pl localhost.xml EI0,EO0'
And then :
01/20/2006 10:54:51 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool create /servers/apache/sites/cacti-0.8.6h/rra/192_9_205_241_localhost_up1_36.rrd --step 300 DS:UP15:GAUGE:600:0:100 DS:UP1:GAUGE:600:0:U DS:UP5:GAUGE:600:0:100 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
01/20/2006 10:54:51 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /servers/apache/sites/cacti-0.8.6h/rra/192_9_205_241_localhost_up1_36.rrd --template N:U
OK u:0.00 s:0.01 r:24.15
ERROR: Not enough arguments
I don't know what the issue can be.. if someone could help
Thanx by advance,
Sig
ERROR: Empty result & Not enough arguments
Moderators: Developers, Moderators
For information,
I've just solved the second problem (ERROR: Not enough arguments ) modyfing in the database in the table named poller_item adding the rrd_name manually. I think there is an issue importing templates from cacti 0.8.6e, the rrd_name do not seem to be imported correctly.
Anyone have a solution for the first problem? :
Waiting on 2/2 pollers.
Waiting on 2/2 pollers.
Waiting on 2/2 pollers.
Waiting on 2/2 pollers.
Waiting on 2/2 pollers.
Waiting on 2/2 pollers.
CACTID: Host[6] ERROR: Empty result [127.0.0.1]: 'perl /servers/apache/sites/cacti-0.8.6h/scripts/getvaleursxml.pl APA,APBS'
CACTID: Host[6] DS[39] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[6] ERROR: Empty result [127.0.0.1]: 'perl /servers/apache/sites/cacti-0.8.6h/scripts/getvaleursxml.pl localhost.xml CE21,CE22,CE25,CE80,CE110'
Thanx!
I've just solved the second problem (ERROR: Not enough arguments ) modyfing in the database in the table named poller_item adding the rrd_name manually. I think there is an issue importing templates from cacti 0.8.6e, the rrd_name do not seem to be imported correctly.
Anyone have a solution for the first problem? :
Waiting on 2/2 pollers.
Waiting on 2/2 pollers.
Waiting on 2/2 pollers.
Waiting on 2/2 pollers.
Waiting on 2/2 pollers.
Waiting on 2/2 pollers.
CACTID: Host[6] ERROR: Empty result [127.0.0.1]: 'perl /servers/apache/sites/cacti-0.8.6h/scripts/getvaleursxml.pl APA,APBS'
CACTID: Host[6] DS[39] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[6] ERROR: Empty result [127.0.0.1]: 'perl /servers/apache/sites/cacti-0.8.6h/scripts/getvaleursxml.pl localhost.xml CE21,CE22,CE25,CE80,CE110'
Thanx!
It was because of this :
'perl /servers/apache/sites/cacti-0.8.6h/scripts/getvaleursxml.pl APA,APBS'
I had to put this :
'/usr/bin/perl /servers/apache/sites/cacti-0.8.6h/scripts/getvaleursxml.pl APA,APBS'
the full path is very Important!!
For the 3rd problem :
Waiting on 2/2 pollers.
Waiting on 2/2 pollers.
Waiting on 2/2 pollers.
Waiting on 2/2 pollers.
Waiting on 2/2 pollers.
Waiting on 2/2 pollers.
This was just because of "Maximum Concurrent Poller Processes" which I had set to 500... I've read the comment and set it to 1 and it Rox!!
I hope this could help some of you.
Thanx
'perl /servers/apache/sites/cacti-0.8.6h/scripts/getvaleursxml.pl APA,APBS'
I had to put this :
'/usr/bin/perl /servers/apache/sites/cacti-0.8.6h/scripts/getvaleursxml.pl APA,APBS'
the full path is very Important!!
For the 3rd problem :
Waiting on 2/2 pollers.
Waiting on 2/2 pollers.
Waiting on 2/2 pollers.
Waiting on 2/2 pollers.
Waiting on 2/2 pollers.
Waiting on 2/2 pollers.
This was just because of "Maximum Concurrent Poller Processes" which I had set to 500... I've read the comment and set it to 1 and it Rox!!
I hope this could help some of you.
Thanx
Who is online
Users browsing this forum: No registered users and 4 guests