I am trying to make cacti pass the host to the script so I can monitor multiple proxies. I have tested the script at command line and it works fine.
If I hard code the proxy address in the script it works fine in cacti.
The debug ouput from cacti shows that it is passing;
My data input method is:CMD: php /usr/share/cacti/site/scripts/proxy.php , output: U
And I have added the input "host" to the inputs.php <path_cacti>/scripts/proxy.php <host>
I have been running around in circles checking against existing input methods for differences but I just cannot find why mine is not passing the host address correctly.
Any help on things to check would be greatly appreciated.
Thanks a lot.