Sending SMS from HP Openview using an intermediary file
HP Openview is a large scale system and
network management software of an IT infrastructure. It brings an integrated
answer to the question of automation of IT life cycle, phase, delivery and
operation of business plans and improve efficiency. Ozeki's user file
solution to further augment the software's efficiency can be configured in
the way described below. This step-by-step installation guide provides you
the information on how to configure and install HP Openview to send SMS
messages by creating a text file.
HP Openview can efficiently monitor the network
applications and workstations. It provides an overall picture from the
eventlog to the temperature of the processor. In addition to that it can
supervise the availability of the computer. Rules can be configured fully
and elaborate criteria can be added to them.
An exterior program can
also be conditioned to run when a rule completes, thus SMS sending can be
integrated to HP Openview with the help of Ozeki NG SMS Gateway system.
Please follow the installation guide's steps to ensure the proper
functioning of this solution.
Prerequisites
In order to setup this solution you need to find a way
to connect your system to the mobile network. You can do this
by using an Internet connection or you can
setup a wireless connection by attaching a GSM phone/GSM modem to your computer. To help you make a
decision, we have prepared a webpage for you:
Internet based SMS connections vs. GSM modem based (wireless) SMS connections.
Depending
on what you select, you need the following prerequisites.
Prerequisites for Internet based connection to the Mobile network
If you wish to connect your system to an SMS service
provider over the Internet you need the following components:

Figure 1/a - Prerequisites for Ozeki NG SMS
Gateway IP SMS connection
In this case you need to find an SMS service
provider who can reach the mobile phones in your area. This SMS
service provider should be able to provide SMS service through
the Internet. To find such a provider, you can check our
website where we list some of them:
SMPP SMS Service providers.
Once you have found such a provider, you need to sign up for
their service to get the connection parameters. You can use these parameters
to configure your Ozeki NG SMS Gateway software.
Prerequisites for wireless (GSM modem) connection to the Mobile network
If you wish to connect your system to the mobile
network wirelessly, you need a GSM modem or GSM phone, that you
can attach to your computer with a data cable. In this case your Ozeki
NG SMS Gateway software will operate this phone and will send and receive
SMS messages wirelessly. To setup this connection method, you need the following
components:
Figure 1/b - Prerequisites for Ozeki NG SMS
Gateway GSM modem connection
Your checklist (for GSM modem connection):
*The SIM card will come with a plan, that will
determine how much money you will spend on each SMS.
System architecture
As HP Openview monitors the system it notices and reports
all malfunctions and errors. This report is sent to a text file
(e.g.: reports.txt) and it is stored there. Ozeki NG SMS Gateway reads that
file and understands the report. This means that the SMS gateway is not in
direct connection with HP Openview but communicates through the report text
file. After it understands the report Ozeki NG SMS Gateway translates it into
an SMS text message and sends it out. Through a GSM modem or IP SMS connection
the messages are transferred to the SMSC (SMS center). Finally the SMSC
forwards it directly to the mobile user. Ozeki's superior performance ensures
the procedure's security and velocity and thus creates a perfect SMS sending
service for HP Openview (Figure 2).
Figure 2 - Components of the solution
Installation guide
In order to configure Ozeki's solution correctly please
follow the step-by-step installation guide provided below.
Step 1 - Configuring HP Openview
First, you need to run HP Operations Manager Console and
extend "Policy Management" view and then "Policy Groups" view, as well.
After this, right click on "Policy Groups" submenu and select "New" menu
and here click on "Policy Group" (Figure 3).
Figure 3 - New Policy Group
The newly created policy group appears in the "Policy
Groups" list. Now you need to provide a name for it (e.g. Notification)
(Figure 4).
Figure 4 - Policy Group name
Then right click on the created policy group and select
"Windows Event Log" within "New" menu. In this way rules will be applied to
this EventLog (Figure 5).
Figure 5 - New EventLog policy
In the pop-up window, specify the EventLog to be monitored
(in this example: Application) then click on "Rules" tab (Figure 6).
Figure 6 - The monitored EventLog
On "Rules tab" click on the "New..." button (Figure 7).
Figure 7 - Add new rule
In the appearing window provide the criteria
(in our example):
Rule Description: SMS Notification
Source: EventCreate Type: Error.
When it is done click on "Actions" tab (Figure 8).
Figure 8 - Criteria for the rule
In the next window choose the "Active Msg. Browser and"
menu item then click on "Automatic Command" tab (Figure 9).
Figure 9 - Add automatic command
In "Command" line type the follows:
cmd /c echo +36301234567 Alert! An error Occurred on <$MSG_NODE_NAME>.
Description: <$MSG_TEXT>. > C:\sms\smsout\smsout.txt
|
This command creates an "smsout" library on drive C in which the
smsout.txt file will contain the following message:
+36301234567 Alert! An error Occurred on <$MSG_NODE_NAME>.
Description: <$MSG_TEXT>.
|
The number "+36301234567" is the recipient's telephone number,
<$MSG_NODE_NAME> means the monitored computer's name,
<$MSG_TEXT> will be the alert's description.
<$MSG_NODE_NAME> and <$MSG_TEXT> is replaceable for any of the variables
described in this Policy
variables file.
In "Node" field you need to provide the application on which the command
will run. By default it is the monitored computer (Figure 10).
Figure 10 - Automatic command
If you click on "OK" the created automatic command will
appear in a window. In this window, click on "OK", as well (Figure 11).
Figure 11 - Created automatic command
At the bottom of the window you can see the entire text of
the rule. Here click on "Save and Close" button (Figure 12).
Figure 12 - Created rule properties
You need to provide a name for the rule and this created
rule will be seen in the rule list (Figure 13).
Figure 13 - Created rule
In order to come into operation, the rule needs to be
installed on the monitored computer. To do so, right click on the created
rule's name and click on "Deploy on" submenu in "All tasks" menu (Figure 14).
Figure 14 - Deploy rule
In the appeared window select the name of the monitored
computer, then click on "OK" (Figure 15).
Figure 15 - Deploy policy on managed computer
This concludes the configuration of HP Openview.
The next step is to configure Ozeki NG SMS Gateway.
Step 2 - Configuring Ozeki NG SMS Gateway software
In Ozeki NG SMS Gateway you need to add a new user to the
users list.
To do so click on "Add new user or application" submenu in
"Users/Applications" menu (Figure 16).
Figure 16 - Add a user
Select "File user" from the list of users and click on
"Install" next to it (Figure 17).
Figure 17 - Add file user
Provide a name for the user then click on "OK". In our
example it is "OpenView".
When it's done click on the user's name (Figure 18).
Figure 18 - File user
Then click on "Configure" (Figure 19).
Figure 19 - Configure file user
On "General" tab select "Outbox" and set the destination
to the follows:
"Inbox", "Sent", "Failed", "Delivered" also can be configured to the same
destination (Figure 20).
Figure 20. - Set outbox path
This concludes the configuration of Ozeki NG SMS Gateway.
Now the system will be tested to see it is fully operational.
Testing the system
For testing the system I will generate an error into the
"Application log" which will conform to the requirements of the rule created
in HP "Operational Console".
To generate an error I need to issue the following command in Windows'
command line:
eventcreate /T ERROR /ID 1000 /L APPLICATION /D "Test Alert"
|
(Figure 21).
Figure 21 - Eventcreate command
In the "Operation Console" expand the "Node" view then right
click on the computer's name and choose "Active Messages" submenu in
"View" menu (Figure 22).
Figure 22 - Configure to view active messages
The generated error can be seen and its name is "Critical"
(Figure 23).
Figure 23 - Generated error
Double clicking on the critical entry shows that it runs
successfully (Figure 24).
Figure 24 - Command properties
In Ozeki NG SMS Gateway the sent SMS is in the file
"Outbox" menu of the user (Figure 25).
Figure 25 - Sent message
This concludes the configuration of HP Openview and
Ozeki NG SMS Gateway.
If you wish to add SMS extension to your existing
IT system, please go to the Download page to download Ozeki NG SMS Gateway
!
FAQ
Feature list of Ozeki NG SMS Gateway
User Guide for Ozeki NG SMS Gateway
Product manual
|