Server Management - Systems Insight Manager
1833774 Members
2689 Online
110063 Solutions
New Discussion

output sample for hp custom tools

 
SOLVED
Go to solution
Tony Ironside
New Member

output sample for hp custom tools

I am trying to write a script to filter events and then pass them on a log file to be monitored by another process.

I need a sample of the output of an event. I tried creating a custom command that runs set >> c:\bla.txt when I generate a test trap it says it ran, but I see no output.

is there any other way to output a sample of this? (the docs are rather sparse)

Thanks

Tony
4 REPLIES 4
David Claypool
Honored Contributor
Solution

Re: output sample for hp custom tools

Tony:

Please find attached the output of environment variables from 3 events that fired on a test system. Each event's first line starts with "ALLUSERSPROFILE." The text of the event is contained in the NOTICEPLAINTEXT variable and is delimited with the pipe "|" symbol.

For your own custom command, more than likely you put your command set>>c:\bla.txt all in the field labeled "Command (Executable path and file name):" The trick to making it work is to have set in that field and to put >>c:\bla.txt in the "Parameters" field.

David
Tony Ironside
New Member

Re: output sample for hp custom tools

Hi,

Thanks for the info, another related question, when I execute the task based on an automated alert (automated event handling) will the task run on the sim box, or will it be executed on the node that generated the alert?

Thanks.


Tony
David Claypool
Honored Contributor

Re: output sample for hp custom tools

All of the custom commands managed from the UI are executed at the central management server (CMS).
David Claypool
Honored Contributor

Re: output sample for hp custom tools

Bumped to be above moved questions...