Implementasi SMS alert di WhatsUpGold

How implement SMS in WhatsUP Gold

Setup instructions for sending SMS from WhatsUp Gold

In a diverse It environment supervision job can be demanding and exhaustive. To select the important data from secondary information is hard to do when one is dealing with a complex network. WhatsUp Gold provides a solution for supervision difficulties with its easy to use and uncomplicated interface. However Ozeki's solution makes it even more professional by adding SMS functionality to it. In this Installation Guide you will receive a detailed, step by step description of its configuration procedure.
Video:Send SMS from WhatsUpGold (part 1/5, configure your modem)
Video:Send SMS from WhatsUpGold (part 2/5, creating an action)
Video:Send SMS from WhatsUpGold (part 3/5, creating an action policy)
Video:Send SMS from WhatsUpGold (part 4/5, adding a device)
Video:Send SMS from WhatsUpGold (part 5/5, testing the system)

Prerequisites

In order to run this solution properly you need to meet both WhatsUp Gold's and Ozeki NG SMS Gateway's system requirements. Please make sure you meet the listed below (Figure 1).
Figure 1 - Prerequisites for WhatsUp Gold
Your checklist:

SIM Card - You can get this from your local mobile network operator.*
Modem Use a Wavecom, Siemens or Multitech modem.
Data cable - Comes with the modem
Computer - Recommended: Intel P4 2.8Ghz, 4GB RAM, 100GB HDD, Windows OS
Ozeki NG SMS Gateway - Download it from http://www.sms- integration.com
WhatsUp Gold

*The SIM card will come with a plan, that will determine how much money you will spend on each SMS.

System architecture

If a problem occurs in the monitored network (e.g.: down event) WhatsUp Gold notices it. Its SMS Notification Policy-set during configuration, forwards it to Ozeki NG SMS Gateway software. It translates the report into a text message and sends it to the GSM modem attached to the PC via COM1 cable or to an IP SMS connection. Which will forwards the SMS to the SMSC of the service provider(s). Then the message is sent to the intended mobile user. This stable and fast connection is achieved by Ozeki NG SMS Gateway's superior performance (300+ SMS/second to 64+ concurrent SMSC connections). Please feel free to examine the architectural diagram below (Figure 2).
Figure 2 - Components of the solution

Installation guide

To install and configure Ozeki's solution for WhatsUp Gold please follow the steps below and watch the video tutorials at the top of the page.

Step 1. Create an action.

To create an action you need to click on "Action Library" in "Configure" menu (Figure 3).
Figure 3 - Action Library
A window appears and you can see pre-defined actions in it. On the left hand side click on "New" (Figure 4) and set the type of the action to "Program Action" and click on "OK" (Figure 5).
Figure 4 - New action library
Figure 5 - Action type
In "Launch Program Action" window provide a name for the action (e.g. SMS Notification) then type in the following values (Figure 6):

Program filename:
C:\Program Files\Ozeki\OzekiNG - SMS Gateway\SendSMS.exe


Working path:
C:\Program Files\Ozeki\OzekiNG - SMS Gateway


Program arguments:
-h 127.0.0.1:9500 -u admin -p qwe123 -r "+36301234567" -m
"An error occurred on device %Device.HostName at %System.Date.
Monitor state: %Device.State" (Please note that you can change the text of the message as you want and "%Device.HostName, %System.Date, %Device.State" also can be changed for any data written in a text file.)

Figure 6. - Launch program action
To test the action click on "Test..." on the right hand side (Figure 7) and (Figure 8).
Figure 7 - Test selected action
Figure 8 - Testing the action
If you can see the sent message in Ozeki NG SMS Gateway, then it means that the given settings operate properly (Figure 9).
Figure 9 - Sent message

Step 2. Create an action policy

To create an action policy you need to click on "Action Policies" in "Configure" menu (Figure 10).
Figure 10 - Action policy
The "Action policy" window appears, here you can see the pre-defined action policies (there is only one action policy by default). Click on "New..." (Figure 11).
Figure 11 - New action policy
Provide a name for the action policy (e.g.: Notification Policy) and click on "Add..." and select the "Select an action from the Action Library" option and click on "Next".(Figure 12).
Figure 12 - Select an action
In the appeared "Action Builder" window select the created action (SMS Notification) and set the executing criteria to "Down". When it is done, click on "Finish" (Figure 13).
Figure 13 - Select action and state

Step 3. Add a device

To add a device you wish to manage, right click at the "My Network" on the left hand side and select "New Device" option (Figure 14)
Figure 14. - Add a new device
In the appeared window you need to type the IP address of the device (e.g.:127.0.0.1) and click on "OK" (Figure 15).
Figure 15 - IP address of the device
A window appears, here select the device type and click on "Actions" on the left hand side (Figure 16).
Figure 16 - Device type
Set the "Apply this Action Policy" option then select the created policy (Notification Policy). When all done click on "OK" (Figure 17).
Figure 17 - Apply notification policy
Now the configuration is complete, it is time to test the system.

Test the system

To test the system I need to create a Down event. To do this right click on the management computer name and click on "Properties". In the device properties I change the IP address of the device to a non-existing one in "General" option (Figure 18).
Figure 18 - Creating a down event
This will create a down event (Figure 19).
Figure 19 - Down event
In Ozeki NG SMS Gateway you can see that the message has been sent(Figure 20).
Figure 20 - Sent Message
These steps conclude the installation and configuration procedure. If you followed the guide above correctly then you will have a swift, stable and working environment.

Thank you for reading this guide!

Comments

Popular Posts