Hi guys!
New member, and new-ish LibreNMS user here. I’m having a strange issue getting IPMI polling to work properly and I’m hoping someone here has seen this and fixed it, or can provide some input.
I have 5+ machines on a network in a datacenter that have either IPMI or iLO, and for some strange reason when I run:
./poller.php -h hostname* -m ipmi -v
it doesn’t include the IPMI interface type after the interface switch (-I) in the auto-generated command. I can include this value on the command line and the polling works, so I know that reading the values from at least the machine I’m testing on works.
Auto-generated command:
/usr/bin/ipmitool -I -c -H x.x.x.x -U 'user' -P 'pass' -L USER sdr 2>/dev/null
Working command:
/usr/bin/ipmitool -I lanplus -c -H x.x.x.x -U 'user' -P 'pass' -L USER sdr 2>/dev/null
I’ve added the following to my config.php in the hopes it would pull the correct value out of one of them, but it appears not to be:
$config['ipmi']['type'] = "lanplus";
$config['ipmi']['type'] = 'lan';
$config['ipmi']['type'] = 'imb';
$config['ipmi']['type'] = 'open';
I’m sort of at a loss here, as I have an install on my home network that it works for, but only on one machine, and I have no idea what I did to get that one machine to work, either.
Thanks for any and all help.