Fix check_hpasm for 3.x kernels

After upgrading one of my HP ProLiant servers to Ubuntu 12.04 LTS (better late than never) the check_hpasm Nagios plugin broke, resulting in no regular checks of the internal arrays being performed.

Apparently that’s a known bug with the hpacucli utility doing the actual checks, which can’t uname returning a 3.x kernel version. You can manually fix this by running it like this:

Therefore a quick and dirty fix for check_hpasm would be to open upĀ /usr/lib/nagios/plugins/check_hpasm and go to the part that reads:

and replace the line (553 in my case) calling hpacucli with:

Worked just fine for me.

Leave a Reply

Your email address will not be published. Required fields are marked *