I’ve been searching for a few days on how to resolve this issue and I’ve even downloaded and ran the LibreNMS VM to test.
I have ipmi in my config.php and I’ve added my machine with SNMP on and “Don’t perform ICMP or SNMP checks?”
I have added the hostname and login info to the IPMI tab.
I’m able to use the cli ipmitool to get chassis information but get no IPMI discovery when I use the “./poller.php -h 10.64.119.50 -m ipmi -d” command.
This is the output:
I have no errors in my validate.php
This is the discovery debug:
In your output:
* SNMP['/usr/bin/snmpget' '-v2c' '-c' 'COMMUNITY' '-Oqv' '-m' 'SNMPv2-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'sysObjectID.0']
* Timeout: No Response from udp:10.64.119.50:161.
Have you tried a snmpwalk or something to test?
It’s an Intel chassis and only has ‘send to SNMP trap’. Is Librenms able to get IPMI information with out using SNMP as well?
LibreNMS polls with SNMP, if you would like specific traps from your device processed you’d probably have to write something to handle those traps.
A quick search shows Murrant is thinking about the discovery thing:
Sure, I’d appreciate that - I could definitely use some hints as I didn’t code in php so far.
Thanks Dan, I did see it but was caught in a loop with the “Don’t perform SNMP checks” option. Plus his output showed "… some arrays
Fetching IPMI sensor data…"
So I wasn’t sure if my install wasn’t functioning correctly.
Again, thanks for your time, I’ll see what I can learn about running the sensor poller without SNMP!
There isn’t much to poll besides ping without SNMP. If you are willing to mess around, you can mess with handling those traps to generate alerts. I did once, but my poor php skills required me to resort to shim python scripts and it just was ugly.