Sorry if this is a newbie question (which I have little doubt it won't be), but I am having trouble with cacti altering the syntax of the command line options given to a perl script I am trying to run. I've created my data input method, and have specified the two input fields that it needs.
Wether I run it via poller.php or cactid, the same things happens where specific characters are stripped or changed. Below is an example of the output from running cactid;
If you look at line 6 that cacti is trying to execute;D:\cactid>cactid
CACTID: Using cactid config file [cactid.conf]
CACTID: Windows Environment, root permissions not required for ICMP Ping
CACTID: Version 0.8.6d starting
CACTID: Host[2] PING: Result UDP: Host is Alive
CACTID: Host[2] ERROR: Empty result [127.0.0.1]: 'perl D:/cacti/scripts/w32_perfmon.pl "C:PerfLogsada.csv" "/ADA-1048Processor(_Total)/Processor Time"'
CACTID: Host[2] WARNING: Result from SCRIPT not valid. Partial Result: U...
CACTID: Host[2] SCRIPT: perl D:/cacti/scripts/w32_perfmon.pl "C:PerfLogsada.csv" "/ADA-1048Processor(_Total)/Processor Time", output: U
CACTID: Execution Time: 0.6240 s, Threads: 1, Hosts: 1
D:\cactid>
The syntax I need Cacti to use is this;perl D:/cacti/scripts/w32_perfmon.pl c:/Perflogs/cpu-usage.csv "/ADA-1048Processor(_Total)/% Processor Time"
The only other options in the input fields are for regex and special type code, both of which I have no idea about. Could someone help me out with this one?perl D:/cacti/scripts/w32_perfmon.pl "C:\PerfLogs\ada.csv" "\\ADA-1048\Processor(_Total)\% Processor Time"