Re: [Nagios-users] Nagios openmanage ERROR: XML transformation failed

2013-06-19 Thread Trond Hasle Amundsen
"Lorenz, Stephan"  writes:

> since installing libxml2, libxml2-devel and curl, the Nagios installation on
> our Dell R720xd server reports XML errors.
>
>  
>
> Problem running 'omreport storage controller': Error! XML Transformation 
> failed
> Problem running 'omreport chassis memory': Error! XML Transformation
> failedProblem running 'omreport chassis fans': Error! XML Transformation
> failedProblem running 'omreport chassis pwrsupplies': Error! XML
> Transformation failedProblem running 'omreport chassis temps': Error! XML
> Transformation failedProblem running 'omreport chassis processors': 
> Error!
> XML Transformation failedProblem running 'omreport chassis volts': Error!
> XML Transformation failedProblem running 'omreport chassis batteries':
> Error! XML Transformation failedProblem running 'omreport chassis
> pwrmonitoring': Error! XML Transformation failedProblem running 'omreport
> chassis intrusion': Error! XML Transformation failedProblem running
> 'omreport chassis removableflashmedia': Error! XML Transformation failed
> Chassis Service Tag is bogus: 'N/A'
>
>  
>
> I am using Nagios 3.5.1, check_openmanage 3.7.9, Openmanage 7.2.0 on Centos 
> 6.4
> 2.6.32-358.11.1.el6.centos.plus.x86_64.
>
>  
>
> When I run check_openmanage or omreport manually everything is fine. I tried 
> to
> reinstall nagios-plugins-openmanage and php-xml for a start, but that did not
> help. I cannot remove libxml2 and the rest since it is needed elsewhere.
>
>  
>
> Does anyone have a suggestion of how to fix this error?

Given that it works when you run the commands manually I'm suspecting
some sort of permission issue. Try running the commands as the NRPE
user, and also try running it from Nagios with SELinux in permissive
mode (needs to be run by the NRPE daemon with the correct SELinux
domain).

Check out this link about using check_openmanage with SELinux in
enforcing mode:

  
http://folk.uio.no/trondham/software/check_openmanage.html#selinux-considerations

Regards,
-- 
Trond H. Amundsen 
Center for Information Technology Services, University of Oslo

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Nagios openmanage ERROR: XML transformation failed

2013-06-19 Thread Lorenz, Stephan
Dear users,

since installing libxml2, libxml2-devel and curl, the Nagios installation on 
our Dell R720xd server reports XML errors.

Problem running 'omreport storage controller': Error! XML Transformation 
failedProblem running 'omreport chassis memory': Error! XML Transformation 
failedProblem running 'omreport chassis fans': Error! XML Transformation 
failedProblem running 'omreport chassis pwrsupplies': Error! XML 
Transformation failedProblem running 'omreport chassis temps': Error! XML 
Transformation failedProblem running 'omreport chassis processors': Error! 
XML Transformation failedProblem running 'omreport chassis volts': Error! 
XML Transformation failedProblem running 'omreport chassis batteries': 
Error! XML Transformation failedProblem running 'omreport chassis 
pwrmonitoring': Error! XML Transformation failedProblem running 'omreport 
chassis intrusion': Error! XML Transformation failedProblem running 
'omreport chassis removableflashmedia': Error! XML Transformation 
failedChassis Service Tag is bogus: 'N/A'

I am using Nagios 3.5.1, check_openmanage 3.7.9, Openmanage 7.2.0 on Centos 6.4 
2.6.32-358.11.1.el6.centos.plus.x86_64.

When I run check_openmanage or omreport manually everything is fine. I tried to 
reinstall nagios-plugins-openmanage and php-xml for a start, but that did not 
help. I cannot remove libxml2 and the rest since it is needed elsewhere.

Does anyone have a suggestion of how to fix this error?

Thanks in advance
Stephan





--
Universität Leipzig KöR
Medizinische Fakultät
Klinik und Poliklinik für Endokrinologie und Nephrologie
Zentrales Forschungszentrum R 1053
Liebigstr. 21
04103 Leipzig

Dr. rer. nat. Stephan Lorenz
Diplom-Biochemiker
wissenschaftlicher Mitarbeiter

Fon: +49 341 97 12512
Fax: +49 341 97 13299
eMail: 
stephan.lor...@medizin.uni-leipzig.de
Web: www.medizin.uni-leipzig.de

Rektorin der Universität Professor Dr. Beate Schücking
Ritterstraße 26, 04109 Leipzig
Zuständige Aufsichtsbehörde:
Sächsisches Staatsministerium für Wissenschaft und Kunst, Wigardstraße 17, 
01097 Dresden,
www.smwk.de
UStNr gemäß § 27 a Umsatzsteuergesetz: DE 141510383


--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null