<?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 Notification Parsing in Server Management - Systems Insight Manager</title>
    <link>https://community.hpe.com/t5/server-management-systems/notification-parsing/m-p/3273333#M61611</link>
    <description>With the event notification functionality of HP SIM, I found myself wanting a few extra things that was not provided out of the box.  That is the intention of this vbscript.  This script does the following:&lt;BR /&gt;1) Reads the NOTICEPLAINTEXT variable from HP SIM.&lt;BR /&gt;2) Breaks down the individual components of that variable.&lt;BR /&gt;3) Checks if the event is a "system unreachable" event.  If it is it does the following:&lt;BR /&gt;  a) Pings the machine once every 30 seconds for 6 times in a row (this is configurable).&lt;BR /&gt;  b) If the machine responds any of those times a flag is set so no specified alert is sent (indicating it was a false alarm notification usually around a reboot).&lt;BR /&gt;  c) If no response is received then it allows the specified alert to be sent and writes the name of the system to a log file.&lt;BR /&gt;4) Checks if the event is a "system is reachable" event.  If it is it does the following:&lt;BR /&gt;  a) Checks the log file for the system name.  If it is found it removes it from the log file and allows the specified alert to be sent.&lt;BR /&gt;  b) If it is not found in the log file then it does not allow the specified alert to be sent (to prevent false alarms).&lt;BR /&gt;5) Concatenates the components read from NOTICEPLAINTEXT into a usable small format.&lt;BR /&gt;6) Sends specified alert using a local file to send via whatever mechanism (i.e. paging system or e-mail)&lt;BR /&gt;7) Allows the ability to send another alert based upon system name to a another user.&lt;BR /&gt;8) Reports back to HP SIM success/failure of sending the alert.&lt;BR /&gt;&lt;BR /&gt;Change lines 175, 198, and 202 as needed.  Create a custom task with this type of command line:&lt;BR /&gt;&lt;BR /&gt;cscript.exe "C:\DIRECTORY_name_replace\yourfile_replace.Vbs" //nologo&lt;BR /&gt;&lt;BR /&gt;You should have a working knowledge of vbscript before using this.&lt;BR /&gt;&lt;BR /&gt;Sorry, I can't really support this script, but if you post a question I'll see what I can do.&lt;BR /&gt;&lt;BR /&gt;Tim</description>
    <pubDate>Tue, 11 May 2004 10:38:37 GMT</pubDate>
    <dc:creator>Tim McGue</dc:creator>
    <dc:date>2004-05-11T10:38:37Z</dc:date>
    <item>
      <title>Notification Parsing</title>
      <link>https://community.hpe.com/t5/server-management-systems/notification-parsing/m-p/3273333#M61611</link>
      <description>With the event notification functionality of HP SIM, I found myself wanting a few extra things that was not provided out of the box.  That is the intention of this vbscript.  This script does the following:&lt;BR /&gt;1) Reads the NOTICEPLAINTEXT variable from HP SIM.&lt;BR /&gt;2) Breaks down the individual components of that variable.&lt;BR /&gt;3) Checks if the event is a "system unreachable" event.  If it is it does the following:&lt;BR /&gt;  a) Pings the machine once every 30 seconds for 6 times in a row (this is configurable).&lt;BR /&gt;  b) If the machine responds any of those times a flag is set so no specified alert is sent (indicating it was a false alarm notification usually around a reboot).&lt;BR /&gt;  c) If no response is received then it allows the specified alert to be sent and writes the name of the system to a log file.&lt;BR /&gt;4) Checks if the event is a "system is reachable" event.  If it is it does the following:&lt;BR /&gt;  a) Checks the log file for the system name.  If it is found it removes it from the log file and allows the specified alert to be sent.&lt;BR /&gt;  b) If it is not found in the log file then it does not allow the specified alert to be sent (to prevent false alarms).&lt;BR /&gt;5) Concatenates the components read from NOTICEPLAINTEXT into a usable small format.&lt;BR /&gt;6) Sends specified alert using a local file to send via whatever mechanism (i.e. paging system or e-mail)&lt;BR /&gt;7) Allows the ability to send another alert based upon system name to a another user.&lt;BR /&gt;8) Reports back to HP SIM success/failure of sending the alert.&lt;BR /&gt;&lt;BR /&gt;Change lines 175, 198, and 202 as needed.  Create a custom task with this type of command line:&lt;BR /&gt;&lt;BR /&gt;cscript.exe "C:\DIRECTORY_name_replace\yourfile_replace.Vbs" //nologo&lt;BR /&gt;&lt;BR /&gt;You should have a working knowledge of vbscript before using this.&lt;BR /&gt;&lt;BR /&gt;Sorry, I can't really support this script, but if you post a question I'll see what I can do.&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Tue, 11 May 2004 10:38:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/notification-parsing/m-p/3273333#M61611</guid>
      <dc:creator>Tim McGue</dc:creator>
      <dc:date>2004-05-11T10:38:37Z</dc:date>
    </item>
  </channel>
</rss>

