Overview
The idea is to use gbscmd sendmessage command to write a custom message to ITM Universal Message Console and develop a situation to forward any messages written to Universal Message Console.
Step 1: Create a situation
Now develop a simple situation to forward Universal Message Log entries with the following formula. Hint. Create a situation under "Tivoli Enterprise Monitoring Server".
(Originnode == AND Category == GBSMSG)
It is important to include "Originnode" in your condition. Otherwise, the situation will not fire. Distribute the situation to *HUB. Associate and start the situation.
Step 2: Write to Universal Message Console using Gbscmd
You can send a message to Universal Message Console using the following command.
gbscmd sendmessage --auth --message "some test message" --category "GBSMSG" --severity 2
Step 3: Verify the results
Ensure that the message appears in Situation Event Console and if you have Netcool/TEC Integration enabled, the message should also appear in the respective consoles.
No comments:
Post a Comment