- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Systems Insight Manager
- >
- mxquery and list creation
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2004 08:34 AM
тАО12-16-2004 08:34 AM
mxquery and list creation
What I'm specifically looking for is the ability to create a device list based on multiple server names (up to 400 per list). I'd also like to create an event list based on multiple server names (again up to 400) and a severity of Critical, Major, or Minor. Any help in the syntax for the xml would be greatly appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2004 09:23 AM
тАО12-16-2004 09:23 AM
Re: mxquery and list creation
You also could build one in the GUI as an example -- maybe not with all 400 names -- and then examine the resulting XML and modify it and replace the one in the system. To spit out the XML of a query
mxquery -l t "queryname"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2005 09:49 PM
тАО07-17-2005 09:49 PM
Re: mxquery and list creation
Where you able to create a query that add systems on a file, to System Lists on SIM??
If yes, can tou provide me with that?
As you can see on ( http://forums2.itrc.hp.com/service/forums/questionanswer.do?threadId=938258 ), David helped me out, but i cannot put to work the query.
Thank you very much
Alfredo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2006 07:30 AM
тАО02-02-2006 07:30 AM
Re: mxquery and list creation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-16-2006 03:07 AM
тАО10-16-2006 03:07 AM
Re: mxquery and list creation
FYI, on a related topic, I recently attempted to insert a new query by 1) extracting all querries, and 2) modifying a query slightly (rename it and modify the list of selected servers/criteria). I have done this several times successfully, so I was suprised when I encountered problems this time. It seems the "index" value you use should NOT duplicate any previous entry. I had not messed with this value before but evidently it should be unique/new for new queries. The problem became apparent when I tried to perform subsequent extracts (mxquery -l t Querydef.txt). The result was "An internal error occurred. Index 0". I was still able to perform extracts of all query names, but the xml output containing the query details were no longer available. I'm not going to try to troubleshoot this further...we are in the process of restoring the database from backup right now. I'll probably take the precaution of getting a snapshot of the database before performing another insert, just in case the problem recurs.