Server Management - Systems Insight Manager
1833852 Members
1962 Online
110063 Solutions
New Discussion

HPSIM - Custom Commands - DOS OUTPUT

 
Annette Jones_2
Regular Advisor

HPSIM - Custom Commands - DOS OUTPUT

Anyone know about the variables that are sent when alerts are processed through HPSIM.

I have custom commands that run on specific sets of alerts, and they also use the parameter variable ie PAGER or EMAIL. This allows us to separate paging and emailing alerts through our Wireless off etc.

The batch files logs the output of each alert to a logfile whilst we determine what's important and what aint. The batchfile uses the SET command to output this information to the logfile. Currently the NOTICELABEL seems to be captured on 1 of these custom commands.

Does anyone know what determines that NOTICELABEL is sent or not? without NOTICELABEL it's pretty hard to know why an alert is sent.

Anyone help please?
2 REPLIES 2
Annette Jones_2
Regular Advisor

Re: HPSIM - Custom Commands - DOS OUTPUT

All it looks like only critical alerts don't output the NOTICELABEL variable.

I've just tested on Major and Critical, Major is fine I get the NOTICELABEL parameter on the SET command.

So if anyone knows why or how to get the critical alerts to give me the same output it will be greatfully appreciated.

Ta
Rob Buxton
Honored Contributor

Re: HPSIM - Custom Commands - DOS OUTPUT

I was under the impression all calls to the custom commands passed the full range of variables.
See
http://www.hp.com/wwsolutions/misc/downloads/management/hpsim/sys-book.pdf

The section on Using Default Tools / Custom Command Tools / Environment Variables sugegsts they're passed all the time.

I tend to use perl to process custom commands and do any formatting. It seems to work quite well.