HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Systems Insight Manager
- >
- Re: How to send alarm to text file
Server Management - Systems Insight Manager
1833723
Members
3454
Online
110063
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-30-2005 12:58 AM
05-30-2005 12:58 AM
How to send alarm to text file
Hi,
How can i send an alarm from SIM to a text file.
I would like to create a event / task that starts a custom command that creates a text file with this info: Systemname, eventtime and serity.
Can anyone help me??
Thanks in advance
How can i send an alarm from SIM to a text file.
I would like to create a event / task that starts a custom command that creates a text file with this info: Systemname, eventtime and serity.
Can anyone help me??
Thanks in advance
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2005 12:37 PM
05-30-2005 12:37 PM
Re: How to send alarm to text file
You'll need to develop some scripting skills.
I use perl, but anything will do.
You can generate events by using the HP Management Agents GUI to send Test SNMP Traps which generate Events.
The Help Guide for HPSIM has a section on the variables HPSIM will send through to a Custom command.
See:
http://h18004.www1.hp.com/products/servers/management/hpsim/infolibrary.html
I use perl, but anything will do.
You can generate events by using the HP Management Agents GUI to send Test SNMP Traps which generate Events.
The Help Guide for HPSIM has a section on the variables HPSIM will send through to a Custom command.
See:
http://h18004.www1.hp.com/products/servers/management/hpsim/infolibrary.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2005 11:29 PM
05-30-2005 11:29 PM
Re: How to send alarm to text file
Hi,
Do you have any nice example script, which put for ex. noticelable, devicename and noticeseveretystr in a text file.
Thanks
Do you have any nice example script, which put for ex. noticelable, devicename and noticeseveretystr in a text file.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 08:20 AM
05-31-2005 08:20 AM
Re: How to send alarm to text file
The following perl script would open the file texfile.tmp and write the contents of the variable $NOTICEPLAINTEXT to that file.
use Env;
open MAILTMP, '>textfile.tmp';
print MAILTMP "$NOTICEPLAINTEXT";
close MAILTMP;
exit;
You would need to have perl installed on the CMS.
use Env;
open MAILTMP, '>textfile.tmp';
print MAILTMP "$NOTICEPLAINTEXT";
close MAILTMP;
exit;
You would need to have perl installed on the CMS.
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