Server Management - Systems Insight Manager
1833541 Members
2878 Online
110061 Solutions
New Discussion

Re: mxquery.exe not outputting XML: An internal error occurred.

 
Derek_56
Valued Contributor

mxquery.exe not outputting XML: An internal error occurred.

First off, stats:
HP Systems Insight Manager version 5.1
Build version C.05.01.00.00
Build date 2006-12-14 13:18

When I try to run mxquery against a attribute based collection to output results to XML, I get the following:

C:\>mxquery -e "SQL Servers" -x xml
An internal error occurred.

Collection is visible in the app and from mxquery -ln. Collection is defined as:
System Type - is - Server
System Name - contains - SQL

When I execute without the XML output, I get the data expected, just not formated as desired. According to the man pages, I have the command correct. They also mention that all attribute based collections must still be managed by mxquery, not mxcollection. Has anyone else seen this issue? Is this a known bug in this version? Have I completely missed the bus on the syntax in the man pages?
3 REPLIES 3
David Claypool
Honored Contributor

Re: mxquery.exe not outputting XML: An internal error occurred.

Derek, I can confirm that the results you are getting are what I am getting as well. I'll check to see if it's a documented bug, and if not, I'll submit it...
Derek_56
Valued Contributor

Re: mxquery.exe not outputting XML: An internal error occurred.

Thanks Dave
Derek_56
Valued Contributor

Re: mxquery.exe not outputting XML: An internal error occurred.

Just tested under HP SIM 5.02.02.00.
Issue resolved.