<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Clearing IML entries in Server Management - Systems Insight Manager</title>
    <link>https://community.hpe.com/t5/server-management-systems/clearing-iml-entries/m-p/3252553#M55709</link>
    <description>This is a very helpful post, but I would like to build on it.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Or do we have to resort to clearing the entire IML, losing all previous data?&lt;BR /&gt;&lt;BR /&gt;Thank you in advance!</description>
    <pubDate>Fri, 17 Jul 2009 14:21:43 GMT</pubDate>
    <dc:creator>BNewby</dc:creator>
    <dc:date>2009-07-17T14:21:43Z</dc:date>
    <item>
      <title>Clearing IML entries</title>
      <link>https://community.hpe.com/t5/server-management-systems/clearing-iml-entries/m-p/3252551#M55707</link>
      <description>&lt;P&gt;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&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;P.S. This thread has been moved&amp;nbsp;from ITRC server mgmt (Insight Manager 7) Forum to ITRC HP Systems Insight Manager Forum - HP Forums Moderator&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jan 2013 02:50:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/clearing-iml-entries/m-p/3252551#M55707</guid>
      <dc:creator>Martin T. Greene</dc:creator>
      <dc:date>2013-01-03T02:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing IML entries</title>
      <link>https://community.hpe.com/t5/server-management-systems/clearing-iml-entries/m-p/3252552#M55708</link>
      <description>Assuming you want to clear (delete) the Integrated Management Log, you can automate that the the Integrated Management Log Viewer.  It should be installed if the ProLiant Support Pack was used to install the server or to apply an update.  cpqimlv has the ability to take arguments from a command line so you can build it into a batch file, and even automate it by calling it from IM7 or hpSIM.&lt;BR /&gt;&lt;BR /&gt;Find cpqimlv.exe in "C:\Program Files\Compaq\Cpqimlv"&lt;BR /&gt;&lt;BR /&gt;Arguments:&lt;BR /&gt;&lt;BR /&gt;Command-line arguments&lt;BR /&gt;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.&lt;BR /&gt;Parameters:&lt;BR /&gt;/? - Displays this help topic.&lt;BR /&gt;/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.&lt;BR /&gt;&lt;BR /&gt;/m:machine - Specifies the machine to connect to. This parameter is optional; if it is not specified, the local machine will be used.&lt;BR /&gt;/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.&lt;BR /&gt;&lt;BR /&gt;/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.&lt;BR /&gt;&lt;BR /&gt;/export:filename - Export the IML entries to a comma separated file specified by filename.&lt;BR /&gt;&lt;BR /&gt;/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.&lt;BR /&gt;&lt;BR /&gt;/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.&lt;BR /&gt;&lt;BR /&gt;/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.&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;To save the IML entries to the file TEST.IML and then clear the log on machine TEST:&lt;BR /&gt;&lt;BR /&gt;cpqimlv.exe /m:test /save:test.iml /clear</description>
      <pubDate>Mon, 19 Apr 2004 12:25:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/clearing-iml-entries/m-p/3252552#M55708</guid>
      <dc:creator>David Claypool</dc:creator>
      <dc:date>2004-04-19T12:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing IML entries</title>
      <link>https://community.hpe.com/t5/server-management-systems/clearing-iml-entries/m-p/3252553#M55709</link>
      <description>This is a very helpful post, but I would like to build on it.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Or do we have to resort to clearing the entire IML, losing all previous data?&lt;BR /&gt;&lt;BR /&gt;Thank you in advance!</description>
      <pubDate>Fri, 17 Jul 2009 14:21:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/clearing-iml-entries/m-p/3252553#M55709</guid>
      <dc:creator>BNewby</dc:creator>
      <dc:date>2009-07-17T14:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing IML entries</title>
      <link>https://community.hpe.com/t5/server-management-systems/clearing-iml-entries/m-p/3252554#M55710</link>
      <description>I have same problem - I don't want to clear/delete the IML.  Instead, I want to automate/script execution of "Mark all items repaired" aka "acknowledge all alerts", leaving the logs intact otherwise on many servers.  The problem is that when I run cpqimlv with the /ackalerts option, I get back "Unable to acknowledge pending alerts on the Integrated Management Display."  Any workaround??  I can, of course MANUALLY log onto each server's agent and MANUALLY click the "Mark all items repaired" button.  However, there are far to many servers, that need this, far to frequently.&lt;BR /&gt;&lt;BR /&gt;I have no problem with CLEARing (and deleting) all alerts.  How can I automate the non-destructive task of acknowledging all alerts?&lt;BR /&gt;Thanks,&lt;BR /&gt;Tom</description>
      <pubDate>Tue, 13 Oct 2009 16:12:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/clearing-iml-entries/m-p/3252554#M55710</guid>
      <dc:creator>Tom McGuigan</dc:creator>
      <dc:date>2009-10-13T16:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing IML entries</title>
      <link>https://community.hpe.com/t5/server-management-systems/clearing-iml-entries/m-p/3252555#M55711</link>
      <description>Is there a way to log an enhancement request with the ProLiant Support Pack team?  It looks like this is a common request and would benefit from this feature.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 13 Oct 2009 18:51:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/clearing-iml-entries/m-p/3252555#M55711</guid>
      <dc:creator>BNewby</dc:creator>
      <dc:date>2009-10-13T18:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing IML entries</title>
      <link>https://community.hpe.com/t5/server-management-systems/clearing-iml-entries/m-p/3252556#M55712</link>
      <description>Still stuck "Unable to acknowledge pending alerts on the Integrated Management Display" when attempting to run cpqimlv.exe with the /ackalerts option.  Any ideas??</description>
      <pubDate>Tue, 22 Dec 2009 17:05:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/clearing-iml-entries/m-p/3252556#M55712</guid>
      <dc:creator>Tom McGuigan</dc:creator>
      <dc:date>2009-12-22T17:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing IML entries</title>
      <link>https://community.hpe.com/t5/server-management-systems/clearing-iml-entries/m-p/3252557#M55713</link>
      <description>Ok, I did some digging and found what appears to be the object and method needed to repair all IML entries via script (I verified the execution of the RepairAll method against a test server using WMI CIM Studio (a manual proof of concept) - and it worked!  Now to create a script to automate it...more later!).&lt;BR /&gt;To Repair an entire IML (all records), use Method: RepairAll targeting (via script);&lt;BR /&gt;&lt;SERVERNAME&gt;\root\HPQ\CIM_ManagedElement\CIM_ManagedSystemElement\CIM_LogicalElement\CIM_EnabledLogicalElement\CIM_Log\CIM_RecordLog\HP_CommonRecordLog\HPQ_CommonRecordLog&lt;BR /&gt;&lt;BR /&gt;Note; Attempts to repair single IML records (1 at a time) fails.  Bug?  No matter.  The RepairAll is what is needed anyway.&lt;BR /&gt;&lt;/SERVERNAME&gt;</description>
      <pubDate>Tue, 22 Dec 2009 20:28:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/clearing-iml-entries/m-p/3252557#M55713</guid>
      <dc:creator>Tom McGuigan</dc:creator>
      <dc:date>2009-12-22T20:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing IML entries</title>
      <link>https://community.hpe.com/t5/server-management-systems/clearing-iml-entries/m-p/3252558#M55714</link>
      <description>Ok,&lt;BR /&gt;  Here is the tested/working script to automatically CLEAR ALL IML ALERTS on any specified target machine(s)...enjoy!!&lt;BR /&gt;Tom&lt;BR /&gt;&lt;BR /&gt;'This VBScript code is used to REPAIR all IML records (NO DELETIONS).&lt;BR /&gt;'strComputer = "&lt;SERVERNAME&gt; or &lt;IP address=""&gt;"&lt;BR /&gt;strComputer = WScript.Arguments.Item(0)&lt;BR /&gt;' strNamespace = "\root\hpq\CIM_ManagedElement\CIM_ManagedSystemElement\CIM_LogicalElement\CIM_EnabledLogicalElement\CIM_Log\CIM_RecordLog\HP_CommonRecordLog"&lt;BR /&gt;' HPQ_CommonRecordLog&lt;BR /&gt;strNamespace = "\root\hpq"&lt;BR /&gt;Set objWMIService = GetObject("winmgmts:\\" &amp;amp; strComputer &amp;amp; strNamespace)&lt;BR /&gt;Set colCommonRecordLog = objWMIService.ExecQuery("Select * from HPQ_CommonRecordLog")&lt;BR /&gt;Wscript.Echo "Repairing the record logâ ¦"&lt;BR /&gt;For Each objCommonRecordLog in colCommonRecordLog&lt;BR /&gt;  objCommonRecordLog.RepairAll()&lt;BR /&gt;Next&lt;/IP&gt;&lt;/SERVERNAME&gt;</description>
      <pubDate>Mon, 04 Jan 2010 14:24:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/clearing-iml-entries/m-p/3252558#M55714</guid>
      <dc:creator>Tom McGuigan</dc:creator>
      <dc:date>2010-01-04T14:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing IML entries</title>
      <link>https://community.hpe.com/t5/server-management-systems/clearing-iml-entries/m-p/3252559#M55715</link>
      <description>Note; the prior script RESETS ALL IML ALERTS ("CLEAR" = delete in HP Speak).</description>
      <pubDate>Mon, 04 Jan 2010 14:26:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/clearing-iml-entries/m-p/3252559#M55715</guid>
      <dc:creator>Tom McGuigan</dc:creator>
      <dc:date>2010-01-04T14:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing IML entries</title>
      <link>https://community.hpe.com/t5/server-management-systems/clearing-iml-entries/m-p/3252560#M55716</link>
      <description>Does this require HP Insight Management WBEM Providers?  I can't find \root\hpq... with WMI Explorer.  What is the class name?&lt;BR /&gt;&lt;BR /&gt;Thanks Marty, this is a great start I just need to find out what is required for my environment</description>
      <pubDate>Mon, 04 Jan 2010 22:21:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/clearing-iml-entries/m-p/3252560#M55716</guid>
      <dc:creator>BNewby</dc:creator>
      <dc:date>2010-01-04T22:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing IML entries</title>
      <link>https://community.hpe.com/t5/server-management-systems/clearing-iml-entries/m-p/3252561#M55717</link>
      <description>Yes, wbem/wmi install is required to use this script on any target.</description>
      <pubDate>Tue, 05 Jan 2010 12:34:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/clearing-iml-entries/m-p/3252561#M55717</guid>
      <dc:creator>Tom McGuigan</dc:creator>
      <dc:date>2010-01-05T12:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing IML entries</title>
      <link>https://community.hpe.com/t5/server-management-systems/clearing-iml-entries/m-p/3252562#M55718</link>
      <description>Darn,&lt;BR /&gt;&lt;BR /&gt;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!</description>
      <pubDate>Wed, 06 Jan 2010 22:09:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/clearing-iml-entries/m-p/3252562#M55718</guid>
      <dc:creator>BNewby</dc:creator>
      <dc:date>2010-01-06T22:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing IML entries</title>
      <link>https://community.hpe.com/t5/server-management-systems/clearing-iml-entries/m-p/3252563#M55719</link>
      <description>Just to be clear...the target/monitored servers must have WBEM/WMI installed for my "IML Repair All" script to work.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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!</description>
      <pubDate>Thu, 07 Jan 2010 13:22:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/clearing-iml-entries/m-p/3252563#M55719</guid>
      <dc:creator>Tom McGuigan</dc:creator>
      <dc:date>2010-01-07T13:22:15Z</dc:date>
    </item>
  </channel>
</rss>

