- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Systems Insight Manager
- >
- Clearing IML entries
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
Forums
Discussions
Discussions
Discussions
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
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
04-19-2004 04:42 AM - last edited on 01-02-2013 06:50 PM by Maiko-I
04-19-2004 04:42 AM - last edited on 01-02-2013 06:50 PM by Maiko-I
Clearing IML entries
I inherit a large system with different management agents. I have a lot of ambers and yellows. I like to clean them all up and start fresh. It is slow going one by one. Is there anyway to automate the process with a script. Can someone point me in the right direction
P.S. This thread has been moved from ITRC server mgmt (Insight Manager 7) Forum to ITRC HP Systems Insight Manager Forum - HP Forums Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2004 05:25 AM
04-19-2004 05:25 AM
Re: Clearing IML entries
Find cpqimlv.exe in "C:\Program Files\Compaq\Cpqimlv"
Arguments:
Command-line arguments
A GUI-less mode with command-line arguments has been added to allow the use of this utility from a batch file. As the commands are executed, feedback will be provided through success and error messages written to a log file. No display will be generated. You must have administrator level privileges to run this utility with command-line arguments.
Parameters:
/? - Displays this help topic.
/f:filename - Specifies the file for status logging. This parameter is optional; if it is not specified, a default filename of cpqimlv.log will be used. If the .LOG extension is not given, it will be added to the log filename.
/m:machine - Specifies the machine to connect to. This parameter is optional; if it is not specified, the local machine will be used.
/p[:filename] - Print the Integrated Management Log (IML) entries. If filename is specified, the information will be printed to that file; otherwise, it will be printed to the default printer.
/save:filename - Save the IML entries to a binary file specified by filename. The binary file can be read back into the viewer later. If the .IML extension is not given, it will be added to the filename.
/export:filename - Export the IML entries to a comma separated file specified by filename.
/clear - Clear all entries from the IML. Note that this is a data destructive action, and should be accompanied by one of the following actions: /save, /p, or /export. The utility will execute the Clear command last, regardless of the order of the parameters on the command line; this is to ensure that the data in the IML has been preserved in some form before it is cleared.
/ackalerts - Acknowledge pending alerts on the Integrated Management Display (IMD). This will clear any currently pending alerts from the system's IMD; however, when new alerts are received the IMD will begin flashing again.
/note:msg - Add a maintenance note to the IML. msg must be enclosed in double quotes, and must be between 1 and 228 characters (inclusive) in length.
Example:
To save the IML entries to the file TEST.IML and then clear the log on machine TEST:
cpqimlv.exe /m:test /save:test.iml /clear
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2009 07:21 AM
07-17-2009 07:21 AM
Re: Clearing IML entries
In our environment, we like to "repair" any critical or caution alarms in the IML when a PSP/ROM is performed. Is there a way to script the repair of all caution or critical alarms? I could easily change the csv file, however I don't believe that will update the IML data on the MB.
Or do we have to resort to clearing the entire IML, losing all previous data?
Thank you in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2009 09:12 AM
10-13-2009 09:12 AM
Re: Clearing IML entries
I have no problem with CLEARing (and deleting) all alerts. How can I automate the non-destructive task of acknowledging all alerts?
Thanks,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2009 11:51 AM
10-13-2009 11:51 AM
Re: Clearing IML entries
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2009 09:05 AM
12-22-2009 09:05 AM
Re: Clearing IML entries
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2009 12:28 PM
12-22-2009 12:28 PM
Re: Clearing IML entries
To Repair an entire IML (all records), use Method: RepairAll targeting (via script);
Note; Attempts to repair single IML records (1 at a time) fails. Bug? No matter. The RepairAll is what is needed anyway.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2010 06:24 AM
01-04-2010 06:24 AM
Re: Clearing IML entries
Here is the tested/working script to automatically CLEAR ALL IML ALERTS on any specified target machine(s)...enjoy!!
Tom
'This VBScript code is used to REPAIR all IML records (NO DELETIONS).
'strComputer = "
strComputer = WScript.Arguments.Item(0)
' strNamespace = "\root\hpq\CIM_ManagedElement\CIM_ManagedSystemElement\CIM_LogicalElement\CIM_EnabledLogicalElement\CIM_Log\CIM_RecordLog\HP_CommonRecordLog"
' HPQ_CommonRecordLog
strNamespace = "\root\hpq"
Set objWMIService = GetObject("winmgmts:\\" & strComputer & strNamespace)
Set colCommonRecordLog = objWMIService.ExecQuery("Select * from HPQ_CommonRecordLog")
Wscript.Echo "Repairing the record logâ ¦"
For Each objCommonRecordLog in colCommonRecordLog
objCommonRecordLog.RepairAll()
Next
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2010 06:26 AM
01-04-2010 06:26 AM
Re: Clearing IML entries
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2010 02:21 PM
01-04-2010 02:21 PM
Re: Clearing IML entries
Thanks Marty, this is a great start I just need to find out what is required for my environment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2010 04:34 AM
01-05-2010 04:34 AM
Re: Clearing IML entries
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2010 02:09 PM
01-06-2010 02:09 PM
Re: Clearing IML entries
This is exactly what I would like to incorporate into our processes to show all problems have been been resolved by our support personnel. But, We currently don't Install WBEM providers for SIM. It is an optional update with the PSP... A good reason to use is has been found now!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2010 05:22 AM
01-07-2010 05:22 AM
Re: Clearing IML entries
As of PSP 8.x and above, HP uses WBEM as the default protocol used to access the HP Web Agent (aka systems management homepage). Previously (PSP 7.x and below, SNMP was the default. Thus, upgrading from PSP 7.x to 8.x also changes the default protocol from SNMP to WBEM, and (because WBEM/WMI is also installed) supports WBEM/WMI access by scripts like mine.
One final note...there is a downside to allowing the default SMH protocol to stay set to WBEM after the upgrade to PSP 8.x. It appears there are limitations to WBEM accessing some disks - in particular disks accessed via SAN controllers are invisible to WBEM - at least in our experience. So...we switched the default SMH protocol back to SNMP after upgrading to PSP 8.x. This gives us the best of both WBEM/WMI (script access), and continued SAN disk access/monitoring. And...yes, I also wrote a script to change the default SMH protocol to WBEM or SNMP. Let me know if you would like a copy!