How to connect to IBM Tivoli to SMS ServiceSetup instructions for sending SMS from IBM Tivoli
This installation guide provides you
further information on how to add SMS functionality to your corporate IT
environment. You will find step by step instructions and video tutorials to
help you configure your system to be able to send SMS messages.
IBM Tivoli is a system manager and monitoring software. It
is able to detect and recover potential problems in your IT networks.
Critical problems such as switch shut down, processor overheating, no space
on HDD, no cooling in the server room, no network connection, etc can be
noticed by this software. Moreover it can generate reports about these errors
and also about monitoring results.
Ozeki NG SMS Gateway makes it possible to add SMS functionality to your
corporate IT system. Therefore these generated reports and monitoring results
can be forwarded in SMS messages to the intended people. In this way the
administrator can intervene in the right time or even can prevent several
further damages and the manager will be informed about all the problems
occurred in the system.
With this solution you will gain a reliable, stable and well-functioning
system. Furthermore you can improve the efficiency of your network monitoring
software. With SMS functionality your IT environment will be more reliable
and secure and you can also save time and money.
Prerequisites
In order to run this solution properly you need to meet some
system requirements. Please make sure
you meet the listed below (Figure 1).
Figure 1 - Prerequisites for Ozeki NG SMS
Gateway
Your checklist:
*The SIM card will come with a plan, that will
determine how much money you will spend on each SMS.
System architecture
If you add SMS extension to your system it will work as
follows: IBM Tivoli monitors the system and if an error occurs it will be
noticed by the software. The system will search for a pre-set
situation for this kind of problem. If it finds the proper situation it
forwards the alert to Ozeki NG SMS Gateway with the help of a command
(SendSMS.exe). The Command Line Client of the SMS gateway will process this
alert and send a notification message to a given mobile device or devices.
This process can be examined in Figure 2.
Figure 2 - Components of the solution
Installation guide
To install and configure Ozeki's solution for IBM Tivoli
please follow the steps below and watch the video tutorials at the top of
the page.
Step 1. Configuring IBM Tivoli
After you launched Tivoli Enterprise Portal,
you need to create a new situation to be able to send an SMS message to a
given user. To create a Situation in IBM Tivoli click on "Situation Editor"
at the "Edit" menu (Figure 3).
Figure 3 - Situation editor
The "Situation editor" window appears.
Click on "Create New Situation" to create a new situation (Figure 4).
Figure 4 - New situation
Now choose a name (e.g. SMS notification)
and a description for this situation. Also set the "Monitored Application":
"Windows OS". Click on "OK" (Figure 5).
Figure 5 - Situation name
Select an attribute group (e.g."NT Event
Log") and an attribute item (e.g. "Source" ) for this situation.
When it is done click on "OK" (Figure 6).
Figure 6 - Select a condition
The "Situation Editor" window appears.
Click on the first row at the Source table and you can type a value
(e.g. EventCreate) (Figure 7).
Figure 7 - Condition value
You can add further conditions for the
situation by clicking on "Add Conditions" (Figure 8).
Figure 8 - Add an additional condition
In this example I add a further
condition for this situation.
I want the "Log Name" to be equal to "Application" (Figure 9) and (Figure 10).
Figure 9 - Select condition attributes
Figure 10 - Additional condition
When it is done click on the "Distribution"
tab and select a managed system you wish to apply this situation to (Figure 11).
Figure 11 - Select management nodes
If you click on "Add" (the first arrow)
you can assign this situation to the managed systems (Figure 12).
Figure 12 - Assigned nodes
When it is done click on the "Action" tab.
Type this at the "System Command" line:
cd "c:\Program Files\Ozeki\OzekiNG - SMS Gateway\" & SendSMS.exe
-h 127.0.0.1:9500 -u admin -p abc123 -r "+36301234567" -m "An error
occurred on &{NT_Event_Log.Computer}. Description:
&{NT_Event_Log.Description}."
|
This command comes from the concatenation of
two commands: the
first opens the log directory of Ozeki NG SMS Gateway. The second one
launches SendSMS.exe with the following parameters: (Ozeki NG SMS Gateway
runs on "My computer" and uses port 9500. It enters "admin" user with the use
of "abc123" password; and send SMS to "+36301234567" phone number.
The body of the message is the following:
An error occured on &{NT_Event_Log.Computer}. Description:
&{NT_Event_Log.Description} |
You need to provide the adequate values instead of
"&{NT_Event_Log.Computer}" and "&{NT_Event_Log.Description}".
Finally, click on "OK"(Figure 13).
Figure 13 - System command
After you click on "OK", Tivoli Monitoring
will automatically apply this situation for the selected systems.
The configuration is done and it is time to test the settings.
Step 2. Testing the settings
In order to create an event which will
match the situation criteria of the "SMS_notification" rule I will use the
Eventcreate command at the Command prompt.
This command will generate an error in the application log (Figure 14):
eventcreate /T ERROR /ID 1000 /L APPLICATION /D "Test Alert"
|
Figure 14 - Creating an event
In the part of Tivoli Monitoring which
monitors the log files of the computer, you can see the generated
notification (Figure 15).
Figure 15 - Event at Tivoli
If you take a look at Ozeki NG SMS Gateway
you can see that the message has been sent out (Figure 16).
Figure 16 - Sent message
If you wish to add SMS
functionality to your corporate IT system please go to the download page to
download Ozeki NG SMS Gateway software. |