IPMI configuration options

Hello,

I am trying to set up our Netbackup storage devices in CheckMK using IPMI and I am having a few issues. I can get this working on the CLI without a problem with the following string.

root@check_mk:~# ipmitool -H 10.10.10.10 -U sysadmin -P 'PASSWORD' chassis status -L ADMINISTRATOR
System Power         : on
Power Overload       : false
Power Interlock      : inactive
Main Power Fault     : false
Power Control Fault  : false
Power Restore Policy : always-off
Last Power Event     : 
Chassis Intrusion    : inactive
Front-Panel Lockout  : inactive
Drive Fault          : false
Cooling/Fan Fault    : false
Sleep Button Disable : not allowed
Diag Button Disable  : allowed
Reset Button Disable : allowed
Power Button Disable : allowed
Sleep Button Disabled: false
Diag Button Disabled : false
Reset Button Disabled: false
Power Button Disabled: false

This looks good, shows connectivity. However when adding the device into CheckMK using either FreeIPMI or ipmitool I get this error:

Invalid integrity check value reported in RAKP4

Looking online this is somewhat expected from SuperMicro boards. Could be the reponse string is too long or that some -X option must be passed.

My question is, does anyone know what these options are and what I might need to change to get this working? It’s very frustrating the IPMI stuff in CheckMK is barely documented.

IPMI

Appreciate any insight someone can share. I had no issues setting up the ILO and DRACs using IPMI.

Thanks

Please try with the selection “Use IPMItool” instead of “Use FreeIPMI”.
Next step would be to issue a “cmk -D hostname” on the command line.
There you find the complete call of the special agent and can try this manually.
On the command line you can add the extra option “–debug” to the special agent.
What happens if you try this?

Thanks for your reply Andreas.

I have changed from FreeIPMI to IPMItool and still get the same error, however some maybe more useful bits from the output.

This host can only be monitored from it’s BMC and that is all I am trying to monitor. This is the output from the cmk -D hostname:

OMD[checkptp]:~$ cmk -D netbackup

netbackup
Addresses: No IP
Tags: [HypervisorType:None], [address_family:no-ip], [agent:special-agents], [criticality:prod], [networking:lan], [piggyback:no-piggyback], [site:checkptp], [snmp_ds:no-snmp], [tcp:tcp]
Labels:
Host groups: check_mk
Contact groups: all
Agent mode: No Checkmk agent, all configured special agents
Type of agent: Management board - IPMI (Address: 10.10.10.10, User: sysadmin)
Services:
checktype item params description groups


It seems like CheckMK isn’t even trying to call the management board. This is the host config:

Any pointers as to what’s wrong would be greatly appreciated. I feel like I must have set something wrong somewhere.

Thanks
James

That will not work.
If you monitor only the BMC then configure this host like a normal host.
10.10.10.10 to the “Network Address” section
Set “Check_MK Agent” to “Normal Checkmk agent, or special agent if configured”.
In your first post you already showed the configured special agent.
Don’t use the “Management Board” section for such hosts.

Thank you for your assistance Andreas, with your help I’ve got this working.

One last question, the IPMI checks are all grouped into one high level check, it would be good to split this out and graph specific values such as power usage. Or at least see the full output from the check and all sensors.

How do I split this “IPMI Sensor Summary” check into individual sensors? That would be very useful for the hard drive status checks.

Thanks
James

This is possible with the rule “Discovery of IPMI sensors”.
There you can switch between summary and single checks.

1 Like