[Linux-PowerEdge] Fwd: FW: check_openmanage on a Gen 13 (OMSA 8.1) running RHEL7.1

Alex Sotelo sotelojalex at gmail.com
Sat Aug 22 14:52:42 CDT 2015


Wow, I overlooked that. That did it. Thank you for sharing!

-Alex

On Sat, Aug 22, 2015 at 1:45 PM, Eero Volotinen <eero.volotinen at iki.fi>
wrote:

> Is selinux enabled on box? Try disabling it with setenforce 0 and try
> again?
>
> Eero
> 22.8.2015 9.41 ip. "Alex Sotelo" <sotelojalex at gmail.com> kirjoitti:
>
>> Hello all,
>>
>> My intent is to setup the plugin check_openmanage
>> <https://exchange.nagios.org/directory/Plugins/Hardware/Server-Hardware/Dell/check_openmanage/details>using
>> NRPE from our Nagios server. On the client, the command is working just
>> fine:
>>
>> [root at box1 plugins]# ./check_openmanage
>>
>> OK - System: 'PowerEdge R730xd', SN: ‘xxxxxx', 64 GB ram (4 dimms), 2
>> logical drives, 6 physical drives
>>
>> I already have the latest srvadmin-omcommon package installed.
>>
>> [root at box1 plugins]# yum list srvadmin-omcommon
>>
>> Loaded plugins: dellsysid, langpacks, product-id, rhnplugin,
>> subscription-manager
>>
>> This system is receiving updates from RHN Classic or Red Hat Satellite.
>>
>> Installed Packages
>>
>> srvadmin-omcommon.x86_64
>>                                       8.1.0-4.92.1.el7
>>
>> @dell-omsa-indep
>>
>> Yet when I run the plugin using NRPE from the Nagios server, this is what
>> I receive:
>>
>> [root at nagios plugins]# ./check_nrpe -H box1 -c check_openmanage
>>
>> I/O warning : failed to load external entity
>> "/opt/dell/srvadmin/var/lib/openmanage/xslroot//oma/cli/omclpr.xsl"
>>
>> error
>>
>> xsltParseStylesheetFile : cannot parse
>> /opt/dell/srvadmin/var/lib/openmanage/xslroot//oma/cli/omclpr.xsl
>>
>> I/O warning : failed to load external entity
>> "/opt/dell/srvadmin/var/lib/openmanage/xslroot//oma/cli/omclpr.xsl"
>>
>> error
>>
>> xsltParseStylesheetFile : cannot parse
>> /opt/dell/srvadmin/var/lib/openmanage/xslroot//oma/cli/omclpr.xsl
>>
>> I/O warning : failed to load external entity
>> "/opt/dell/srvadmin/var/lib/openmanage/xslroot//oma/cli/omclpr.xsl"
>>
>> error
>>
>> xsltParseStylesheetFile : cannot parse
>> /opt/dell/srvadmin/var/lib/openmanage/xslroot//oma/cli/omclpr.xsl
>>
>> Couldn't close filehandle for command '"/opt/dell/srvadmin/bin/omreport"
>> -? 2>&1': <br/>Couldn't close filehandle for command
>> '"/opt/dell/srvadmin/bin/omreport" system -fmt ssv': <br/>Problem running
>> 'omreport storage controller': Error! XML Transformation failed<br/>Problem
>> running 'omreport chassis memory': Error! XML Transformation failed<br/>Pro
>>
>> >From the archives and simple search, I noticed that the only solution to
>> the above error was to install srvadmin-omcommon package but that is
>> already there. I removed and re-install all srvadmin-all packages and
>> rebooted. No luck. Has anyone seen this on the new Gen 13 server? Could be
>> a possible compatibility issue.
>>
>> Also, as a side note—other NRPE checks are working on box1 and I added a
>> "2>&1” at the end of the open_manage command definition for troubleshooting
>> purposes.
>>
>> Thanks,
>> Alex Sotelo
>>
>>
>> _______________________________________________
>> Linux-PowerEdge mailing list
>> Linux-PowerEdge at dell.com
>> https://lists.us.dell.com/mailman/listinfo/linux-poweredge
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.us.dell.com/pipermail/linux-poweredge/attachments/20150822/0e150172/attachment-0001.html 


More information about the Linux-PowerEdge mailing list