Open mohierf opened 8 years ago
Maybe a problem with permissions as when you executed it from cli you are logged as root.
My guess is a problem to read your config file containing credentials or something with ipmi binary.
Try to execute the raw command :
/usr/sbin/ipmi-sensors -h 10.106.185.5 --config-file /var/lib/shinken/libexec/ipmi.conf --quiet-cache --sdr-cache-recreate --interpret-oem-data --output-sensor-state --ignore-not-available-sensors --driver-type=LAN_2_0
Sorry, for the delay about this :/
Today i had the same issue. It also occurs when running as user shinken. Setuid root helped in my case. For that you need to run chmod u+s on ipmi-sel and ipmi-sensors in /usr/sbin
Hi @claneys
I am trying to use your ipmi pack on my configuration but I have some unexpected results
The shinken poller launchs this command (changed IP address ...):
And the result is:
But when I launch the same command from the command line, I get this result: