|
Re: [ITM] ITM workbench help: msg#00416sysutils.tivoli.tme10
In the event defintion add the attributes (severity and msg). Then in your RM's JS or VBS set the appropriate severity/msg values and add them to a map table you are using in the SendeventEx method. Also change the message field in the event to @msg@. Or enroll in our IBM Tivoli Resource Model Builder 1.1.2 Workshop. This is one of the labs we do in the class. http://gulfsoft.com/modules/gb_main/Workshops/rmwkshp.pdf http://gulfsoft.com/modules/gb_main/Workshops/jswkshp.pdf John Willis Gulf Breeze Software www.gulfsoft.com Quoting Jeff Kurzawa <jeff-VplbCisWAMlWk0Htik3J/w@xxxxxxxxxxxxxxxx>: > I am starting to experiment with the workbench and creating my own resource > models but one thing I cannot seem to figure out is the attributes and how > that works in relationship to the output. > > I have a shell script that simply outputs one of a few messages, in which > states the severity. I have created a RM using the Resource Model Wizard > and I would like to be able to customize my trigger condition so that it can > parse the output and make the severity dependent on pieces of the message > and then the other part of that output would be the actual TEC event > message. > > Example: > > My possible output is either: "Critical - problem with ABCapp" or > "Warning - problem with XYZapp". > > I realize that I can simply put in 2 trigger conditions, one for each of > these but in the future my output will be much more complex and having one > trigger condition per event doesn't seem like a good solution. > > How can I parse up my output in variables so that it would be something > similar to $SEVERITY - $ERROR_MSG and then pass that to the RM which will > create an event of CRITICAL if $SEVERITY=CRITICAL and then pass on the > message $ERROR_MSG? > > Also, I have the documentation that IBM offers online for the workbench and > resource models but is there anything more descriptive out there that > someone can recommend? > > Thanks > > Jeff > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [TEC] snmp adapter problems: 00416, justin_eagleson-n1yi7zhirBtBDgjK7y7TUQ |
|---|---|
| Next by Date: | RE: [TEC] snmp adapter problems: 00416, John Guadagnino |
| Previous by Thread: | [ITM] ITM workbench helpi: 00416, Jeff Kurzawa |
| Next by Thread: | TEC 39 and Netview Integration: 00416, Bryan Odom |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |