Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OMSA Version 9.2.0 breaks check_openmanage #5

Open
blue82dc opened this issue Nov 28, 2018 · 1 comment
Open

OMSA Version 9.2.0 breaks check_openmanage #5

blue82dc opened this issue Nov 28, 2018 · 1 comment

Comments

@blue82dc
Copy link

blue82dc commented Nov 28, 2018

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.

@GittyBytes
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants