Once again i have the same Problem. Cacti ran totally smooth until last Saturday, when cactid hang up for no reason.
I had several cactid and php.exe running. Had to restart the machine.
And after that cactid isnt able to query_host_cpu and host_partitions
This is the log.
Code: Select all
CACTID: Host[0] DS[294] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[0] DS[294] SCRIPT: E:\PHP\php.exe -q E:\inetpub\mrtgroot\cacti\scripts\query_host_cpu.php get usage 0, output: U
Code: Select all
CACTID: Host[0] DEBUG: The POPEN returned the following File Descriptor 6
CACTID: Host[0] DS[294] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[0] DS[294] SCRIPT: E:\PHP\php.exe -q E:\inetpub\mrtgroot\cacti\scripts\query_host_cpu.php get usage 0, output: U
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (294,'cpu','2005-07-13 14:30:35','U')
When i run it manually it returns valid values like this
Code: Select all
C:\cactid>E:\PHP\php.exe -q E:\inetpub\mrtgroot\cacti\scripts\query_host_cpu.php 192.168.xx.xx public 1 get usage 0
19
There is no permission problem. The user who runs the Task for poller.php
is the same user who runs the script manually.
I changed to cactid 0.8.6e didnt work.
I took the query_host_cpu and _partition scripts from cacti 0.8.6f didnt work
any suggestions..?
greez ahab