- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Systems Insight Manager
- >
- send more verbose email alerts
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
06-30-2005 08:27 AM
06-30-2005 08:27 AM
Got HPSIM 4.2 update 1 installed and running on a CMS of HPUX 11.11 .
I am able to setup and integrate pages from the SIM to our paging software. However, I cannot get the messages to state the issue as to why the alert.
Example, on an HP 9000 system I have an EMS alert for disk space setup. Send a SNMP trap to the CMS as a critical.
In SIM I have created a custom command that specifies the executable to run, the parameters to pass, and in the executable I specify the %1 and %2. Automatic Event Handling is configured also.
My message is "a critical event on %1 with severity of %2..."
The %1 and %2 are %DEVICENAME% and %NOTICESEVERITYSTR% respectively. But the emails and pages are not passing these variables through.
Any idea why?
When the critical condition is met
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2005 02:41 PM
06-30-2005 02:41 PM
Re: send more verbose email alerts
I tend to use perl and just run a perl script.
With the "use env;" line I can then read all of the variables that HPSIM will send through by default. The two you mention would be included.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2005 08:21 AM
07-06-2005 08:21 AM
Re: send more verbose email alerts
Got a sample I can look at?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2005 09:45 AM
07-06-2005 09:45 AM
SolutionOpens a file, writes the contents of the $Noticeplaintext variable to a file. Then uses the SMTP Utility blat to send it.
I've hacked a bit of stuff out so it might not work as is.
use Env;
open MAILDIST, '<>
open MAILTMP, '>mailmajor.tmp';
print MAILTMP "$NOTICEPLAINTEXT";
close MAILTMP;
$MailUser='joe.bloggs@myco.com';
system "blat mailmajor.tmp -to \"$MailUser\" -subject \"Major Event Detected \" \n";
unlink 'mailmajor.tmp';
close MAILDIST;
exit;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2005 11:43 PM
07-11-2005 11:43 PM