I am using esxiograph.sh script to monitor our Virtual hosts on VMWare ESXi.
The problem is that when the script is executed by poller then in cacti log I see only empty values:
Code: Select all
12/14/2015 06:25:15 PM - SPINE: Poller[0] Host[46] TH[1] DS[4847] SCRIPT: /var/www/domains/default/htdocs/cacti/scripts/esxiograph.sh mem_vm xx.xx.xx.xx esxihost vmname PASSWORD, output: usage: active:
Code: Select all
root@monitoring:~#/var/www/domains/default/htdocs/cacti/scripts/esxiograph.sh mem_vm xx.xx.xx.xx esxihost vmname PASSWORD
usage:1016.04 active:102.40root@monitoring:~#
Code: Select all
root@monitoring:~#su -c "/var/www/domains/default/htdocs/cacti/scripts/esxiograph.sh mem_vm xx.xx.xx.xx esxihost vmname PASSWORD" cacti
usage:1016.11 active:81.92root@monitoring:~#
How can I debug this issue?
Thanks for help.