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.
Usage: setarch x86_64 --uname-2.6 [[program] [program arguments]]
Example: setarch x86_64 --uname-2.6 hpacucli ctrl all show
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:
if [ -x "$hpacucli" ]; then for i in config status do $hpacucli ctrl all show $i | while read line do printf "%s %s\n" $i "$line" done done fi
and replace the line (553 in my case) calling hpacucli with:
/usr/bin/setarch x86_64 --uname-2.6 $hpacucli ctrl all show $i | while read line
Worked just fine for me.