You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading several of my servers to OMSA Version 9.2.0, check_openmanage has stopped working when used with NRPE. Check_openmanage works when run from the command line, but when run through NRPE, it gets errors of this sort:
Problem running 'omreport chassis memory': Error: SMStatus: 700
Problem running 'omreport chassis batteries': Error! XML Transformation failed
Problem running 'omreport chassis pwrmonitoring': Error: SMStatus: 700
Problem running 'omreport chassis removableflashmedia': Error: SMStatus:
On servers that haven't had OMSA upgraded, check_openmanage still works fine with NRPE.
Edit to add more info:
I found out more about this. The problem actually has nothing to do with NRPE. Rather, it has to do with the user who runs check_openmanage. If "root" runs the command, it works fine. However, if another user, such as "nagios" runs the command, it produces the error above. Seems related to permissions somewhere and I'll investigate further.
Another edit:
Further investigation shows that this is not a check_openmanage problem. If I run omreport directly as a non-root user, I get the same error. Strangely, some reports from omreport work fine while some give errors.
The text was updated successfully, but these errors were encountered:
This can be fixed by making sure the following file exists with the following permissions:
-rw-r--rw-. 1 root root 21K Mar 11 12:54 /opt/dell/srvadmin/var/log/openmanage/UsageReport.xml
After upgrading several of my servers to OMSA Version 9.2.0, check_openmanage has stopped working when used with NRPE. Check_openmanage works when run from the command line, but when run through NRPE, it gets errors of this sort:
Problem running 'omreport chassis memory': Error: SMStatus: 700
Problem running 'omreport chassis batteries': Error! XML Transformation failed
Problem running 'omreport chassis pwrmonitoring': Error: SMStatus: 700
Problem running 'omreport chassis removableflashmedia': Error: SMStatus:
On servers that haven't had OMSA upgraded, check_openmanage still works fine with NRPE.
Edit to add more info:
I found out more about this. The problem actually has nothing to do with NRPE. Rather, it has to do with the user who runs check_openmanage. If "root" runs the command, it works fine. However, if another user, such as "nagios" runs the command, it produces the error above. Seems related to permissions somewhere and I'll investigate further.
Another edit:
Further investigation shows that this is not a check_openmanage problem. If I run omreport directly as a non-root user, I get the same error. Strangely, some reports from omreport work fine while some give errors.
The text was updated successfully, but these errors were encountered: