I've used a long time the extra templates like graphs for MailScanner. But since I've reinstalled my system from CentOS 4.x x86_64 to CentOS 5.x x86_64
I can't import templates anymore without any problems.
* I've also reinstalled my whole cacti, but still I'm receiving the errors. I'm using version 0.8.7d.
If I import a template like (in this case) MailScanner, everything seems to be okay. But when the poller is running I'm getting alot of errors.
* And yes the .php files in 'scripts' directory exists.sh: lt: command not found
sh: path_php_binarygt: command not found
sh: -q: command not found
sh: path_cactigt: command not found
sh: /scripts/MailScanner_Virus.php: No such file or directory
sh: hostnamegt: command not found
sh: lt: command not found
sh: usernamegt: command not found
sh: lt: command not found
sh: passwordgt: command not found
sh: lt: command not found
sh: dbnamegt: command not found
05/22/2009 01:24:02 AM - SPINE: Poller[0] Host[2] ERROR: Empty result [XXX.XXX.XX.XX]: 'lt;path_php_binarygt; -q lt;path_cactigt;/scripts/MailScanner_Virus.php lt;hostnamegt; lt;usernamegt; lt;passwordgt; lt;dbnamegt;'
05/22/2009 01:24:02 AM - SPINE: Poller[0] Host[2] DS[10] WARNING: Result from SCRIPT not valid. Partial Result: ...
sh: lt: command not found
sh: path_php_binarygt: command not found
sh: -q: command not found
sh: path_cactigt: command not found
sh: /scripts/MailScanner_Mail.php: No such file or directory
sh: hostnamegt: command not found
sh: lt: command not found
sh: usernamegt: command not found
sh: lt: command not found
sh: passwordgt: command not found
sh: lt: command not found
sh: dbnamegt: command not found
05/22/2009 01:24:02 AM - SPINE: Poller[0] Host[2] ERROR: Empty result [XXX.XXX.XX.XX]: 'lt;path_php_binarygt; -q lt;path_cactigt;/scripts/MailScanner_Mail.php lt;hostnamegt; lt;usernamegt; lt;passwordgt; lt;dbnamegt;'
05/22/2009 01:24:02 AM - SPINE: Poller[0] Host[2] DS[9] WARNING: Result from SCRIPT not valid. Partial Result: ...
sh: lt: command not found
sh: path_php_binarygt: command not found
sh: -q: command not found
sh: path_cactigt: command not found
sh: /scripts/MailScanner_Bytes_Transfer.php: No such file or directory
sh: hostnamegt: command not found
sh: lt: command not found
sh: usernamegt: command not found
sh: lt: command not found
sh: passwordgt: command not found
sh: lt: command not found
sh: dbnamegt: command not found
05/22/2009 01:24:02 AM - SPINE: Poller[0] Host[2] ERROR: Empty result [XXX.XXX.XX.XX]: 'lt;path_php_binarygt; -q lt;path_cactigt;/scripts/MailScanner_Bytes_Transfer.php lt;hostnamegt; lt;usernamegt; lt;passwordgt; lt;dbnamegt;'
05/22/2009 01:24:02 AM - SPINE: Poller[0] Host[2] DS[8] WARNING: Result from SCRIPT not valid. Partial Result: ...
OK u:0.00 s:0.00 r:1.01
OK u:0.00 s:0.00 r:1.01
OK u:0.00 s:0.00 r:1.01
OK u:0.00 s:0.00 r:1.01
OK u:0.00 s:0.00 r:1.01
OK u:0.00 s:0.00 r:1.01
OK u:0.00 s:0.00 r:1.01
OK u:0.00 s:0.00 r:1.01
OK u:0.00 s:0.00 r:1.01
OK u:0.00 s:0.00 r:1.01
OK u:0.00 s:0.00 r:1.01
05/22/2009 01:24:03 AM - SYSTEM STATS: Time:1.2209 Method:spine Processes:1 Threads:1 Hosts:2 HostsPerProcess:2 DataSources:33 RRDsProcessed:26
OK u:0.00 s:0.00 r:1.01
OK u:0.00 s:0.00 r:1.01
OK u:0.00 s:0.00 r:1.01
OK u:0.00 s:0.00 r:1.01
OK u:0.00 s:0.00 r:1.01
OK u:0.00 s:0.00 r:1.01
OK u:0.00 s:0.00 r:1.01
OK u:0.00 s:0.00 r:1.01
OK u:0.00 s:0.00 r:1.01
OK u:0.00 s:0.00 r:1.01
OK u:0.00 s:0.00 r:1.01
OK u:0.00 s:0.00 r:1.01
ERROR: Not enough arguments
ERROR: Not enough arguments
OK u:0.00 s:0.00 r:1.01
Also if I try to use something else like the MySQL graphs template I got the same errors.
Does anybody know the problem and can help me to fix this?