HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Systems Insight Manager
- >
- Notification Parsing
Server Management - Systems Insight Manager
1834587
Members
3407
Online
110069
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
05-11-2004 03:38 AM
05-11-2004 03:38 AM
Notification Parsing
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:
1) Reads the NOTICEPLAINTEXT variable from HP SIM.
2) Breaks down the individual components of that variable.
3) Checks if the event is a "system unreachable" event. If it is it does the following:
a) Pings the machine once every 30 seconds for 6 times in a row (this is configurable).
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).
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.
4) Checks if the event is a "system is reachable" event. If it is it does the following:
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.
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).
5) Concatenates the components read from NOTICEPLAINTEXT into a usable small format.
6) Sends specified alert using a local file to send via whatever mechanism (i.e. paging system or e-mail)
7) Allows the ability to send another alert based upon system name to a another user.
8) Reports back to HP SIM success/failure of sending the alert.
Change lines 175, 198, and 202 as needed. Create a custom task with this type of command line:
cscript.exe "C:\DIRECTORY_name_replace\yourfile_replace.Vbs" //nologo
You should have a working knowledge of vbscript before using this.
Sorry, I can't really support this script, but if you post a question I'll see what I can do.
Tim
1) Reads the NOTICEPLAINTEXT variable from HP SIM.
2) Breaks down the individual components of that variable.
3) Checks if the event is a "system unreachable" event. If it is it does the following:
a) Pings the machine once every 30 seconds for 6 times in a row (this is configurable).
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).
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.
4) Checks if the event is a "system is reachable" event. If it is it does the following:
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.
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).
5) Concatenates the components read from NOTICEPLAINTEXT into a usable small format.
6) Sends specified alert using a local file to send via whatever mechanism (i.e. paging system or e-mail)
7) Allows the ability to send another alert based upon system name to a another user.
8) Reports back to HP SIM success/failure of sending the alert.
Change lines 175, 198, and 202 as needed. Create a custom task with this type of command line:
cscript.exe "C:\DIRECTORY_name_replace\yourfile_replace.Vbs" //nologo
You should have a working knowledge of vbscript before using this.
Sorry, I can't really support this script, but if you post a question I'll see what I can do.
Tim
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP