Nagios NRPE omreport errors

Nagios check for Dell OpenManage was failing after upgrade to srvadmin 9.2 with:

UNKNOWN: Problem running 'omreport chassis memory': Error: SMStatus: 700
UNKNOWN: Problem running 'omreport chassis batteries': Error! XML Transformation failed
UNKNOWN: Problem running 'omreport chassis pwrmonitoring': Error: SMStatus: 700
UNKNOWN: Problem running 'omreport chassis removableflashmedia': Error: SMStatus:

The check command:

/usr/lib64/nagios/plugins/check_openmanage -s -b ctrl_fw=all/bat_charge=all

Ran fine as root but when run as the ‘nrpe’ user it failed with the error message above.

su - nrpe -s /bin/bash
/usr/lib64/nagios/plugins/check_openmanage -s -b ctrl_fw=all/bat_charge=all 

Solution as per kmscherer on Dell site was to set the permissions on the log files so the user running the NRPE process could write to the logs:

chown nrpe /opt/dell/srvadmin/var/log/openmanage/omcmdlog.xml 
chown nrpe /opt/dell/srvadmin/var/log/openmanage/UsageReport.xml

Hopefully repeating here helps someone else.

Leave a Reply

  • (will not be published)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>