Server Management - Systems Insight Manager
1834704 Members
2882 Online
110069 Solutions
New Discussion

Re: How to put event identifier in a custom task?

 
Javier Juarez
Frequent Advisor

How to put event identifier in a custom task?

Are there some way to include a variable that point to any failure from servers and this pass thru a task, which execute a bat file, and the variable save the description failure, e.g. Power Supply Lost, memory degraded, and So. ?

3 REPLIES 3
David Claypool
Honored Contributor

Re: How to put event identifier in a custom task?

Javier:

The short answer is yes, a custom command could be triggered based on an event and there are variables that contain the data that are passed to the environment, such as %NOTICERAWDATA%.

However, if all you're trying to do is start logging the information, the event systems information is in the database, and I would think having an already formatted table structure would be what you wanted to end up with anyway?
Javier Juarez
Frequent Advisor

Re: How to put event identifier in a custom task?

Hi David!
I want include the event Description field, as shown in event window in a custon command to page the event, I can include the variable %DEVICENAME% with the value SysName, but what would be the correct variable and value for Description Event.
Or if I use the %NOTICERAWDATA% variable what value should I use?
Thkns
David Claypool
Honored Contributor

Re: How to put event identifier in a custom task?

I'm sorry, in hpSIM it is %NOTICEPLAINTEXT%.

Here is a sample:

NOTICEPLAINTEXT="Event Name: Discovered System|Event originator: hpsm01w3|Event Severity: Informational|Event received: 22-Mar-2004, 18:22:42|Event description: This event is created whenever a system has been discovered. The Discovered System event can not be deleted. If this is seen from a notification task, that task was configured to run using new or removed entries from a system list and likely the system status changed. See the help text on creating notification tasks for additional information.| ||Current Device Status: Normal|Current Time: 19-Apr-2004, 11:19:29 CDT|"

You're going to have to parse it manually. I think the first 3 fields contain the information you're interested in.