Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Please make sure to NOT rely on $PATH; "cactiuser" does not have $PATH set when executing your script. So we need /full/path/to/every/cmd you use within that script.
See 2nd link of my sig for more debugging hints
R.
I have changed the script path in cacti to :
/usr/bin/perl /var/www/html/cacti/scripts/DataCoreSanSymphonyv5PerfPoolDisk.pl myserver diskpool, output: 0
This command works in bash under root session or cacti session.
I have checked in the poller cache and it is the same commande whiched was executed by spine.
OK, I have found. In my output, I have at the end : 27/04/201207:17:59
And the cacti poller (spine for me) doesn't like this value and all my output (with the other correct value) is consider like output: 0