Re: Fwd: FW: check_openmanage on a Gen 13 (OMSA 8.1) running RHEL7.1

Alex Sotelo <[email protected]>
Newsgroups gmane.linux.hardware.dell.poweredge
Message-ID <CAODfTQ=XV0_qhpCR2n31EVd8UM7gdwh+NJaCFe3xJNWi9GHGJg@mail.gmail.com>
Wow, I overlooked that. That did it. Thank you for sharing!

-Alex

On Sat, Aug 22, 2015 at 1:45 PM, Eero Volotinen <[email protected]>
wrote:

> Is selinux enabled on box? Try disabling it with setenforce 0 and try
> again?
>
> Eero
> 22.8.2015 9.41 ip. "Alex Sotelo" <[email protected]> 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@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@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@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
>> [email protected]
>> https://lists.us.dell.com/mailman/listinfo/linux-poweredge
>>
>>

_______________________________________________
Linux-PowerEdge mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.