Ozeki Phone System XE - VoIP PBX Software
is an excellent tool for making automated phone calls.
If an alert occurs MOM 2005 generates a report for the administrator. Ozeki adds the extra function of sending SMS message about this report to the user. The agent notices the alert and generates a critical error which is processed by MOM 2005. The Command Notification Channel of it is in direct connection with Ozeki NG SMS Gateway's Command line Tool which interprets the message. After this, it forwards the message through COM1 channel to the GSM modem or to the IP SMS connection. With SMPP (Short Message Peer-to-peer) protocol it is then sent to the SMSC (SMS Center) and finally, the SMS message is sent to the given mobile phone. In Figure 2 you can see how it works.
Figure 2 - Components of the solution
To install and configure Ozeki's solution for MOM 2005 please follow the steps below and watch the video tutorials at the top of the page.
Step 1. Create an operator
To do this, open the Administrator Console. On the left hand side, choose the Management Pack menu and Notification sub-menu in it and click on Operators (Figure 3).
Figure 3 - Notification operators
In the Action menu, click on Create Operator (Figure 4).
Figure 4 - Create operator
A window appears, type the name of the operator in, for example: SMS Administrator (Figure 5), click on Next.
Figure 5 - Operator Name
The following two options are about the setting up of the e-mail (Figure 6) and page (Figure 7) the operator's addresses.
Figure 6 - Operator e-mail
Figure 7 - Operator page
If you do not want to notify this operator by e-mail or by page, click on Next. On the next page, choose the Notify this external command option and below this, type the Operator ID, for example, SMS Problems (Figure 8).
Figure 8 - Operator Command
Then choose a specified time to notify this operator. By default the operator always gets notification messages. After it, click on Finish. If you did it right, you see the created operator at the Operators list (Figure 9).
Figure 9 - Created Operator
Then you need to add this operator to an existing group: In the Notification menu, choose Notification Groups (Figure 10).
Figure 10 - Notification Groups
Double click on the chosen group you want the operator to be in, for example, Operations Manager Administrators (Figure 11).
Figure 11 - Operation Manager Administrator
Choose an operator you wish to add from the available operators and then on the Add button between the two tables (Figure 12 ), if you have done it, you can see the created operator in the Group Operators (Picture 13). Click on OK.
Figure 12 - Operator to Notification group
Figure 13 - Operator is a member of the Notification group
Step 2. Set up the software
To set up Operation Manager for sending SMS messages first click on Global Settings (Figure 14) in the Administration menu.
Figure 14 - Global settings
Then select Notification Command Format from the Global Setting Types and double click on it (Figure 15).
Figure 15 - Notification command format
Make sure that the Use Windows command
interpreter option is not checked and type these values:
You can change the $Alert Name$ and the $Alert Description$ values in the command line by clicking the select button on the right hand side (Figure 16).
Figure 16 - Set Notification format
When it is done select the security tab at the top of the appeared window and uncheck this option: Disable execution of custom responses on Management Servers (Figure 17). Click on OK.
Figure 17 - Custom Responses
With these steps the configuration is completed and now you can test the system.
Step 3. Test the system
To test the system you need to create a rule which will generate an alert and send the SMS message. You need to know which rules are applied to the management computer. First, in the Administration menu select Computers sub-menu and then the Management Servers. Then double click on the present computer name (Figure 18).
Figure 18 - Management Server name
A window appears and on the top of it, select the Rules tab. Now you can see which rules are applied to the management computer (Figure 19). Click on OK.
Figure 19 - Applied rules
From the Management Packs menu choose Rule Groups. Then expand Microsoft Operations Manager and Operation Manager 2005 in it. Here you can see the groups of rules that are applied to the computer. You can see that the agent group is also applied (Figure 20).
Figure 20 - Rule groups
Now you need to create a rule that will be a part of the Agent group: Expand the Agent group and right click on Event Rules and select the Create Event Rule (Figure 21).
Figure 21 - Create event rule
A window appears, select the type of the event: Alert on or Responding to Event (Figure 22).
Figure 22 - Event Rule type
Click on Next. Now choose the provider name in the appeared window: Application (Figure 23). Click on Next.
Figure 23 - Event Provider
In the next step define a criterion for the event: e.g. click on 'From source': and type EventCreate and then select 'of type': and choose Error (Figure 24). Click on Next.
Figure 24 - Event criterion
In case you do not wish to schedule this rule, leave this option default (Figure 25) and click on Next.
Figure 25 - Event schedule
This step is about generating alerts. To see the created alert you need to generate a Critical alert and its owner is going to be Application Alert. To do this in the Event Rule Properties window select the Generate alert option. In the Owner line type Application Alert (Figure26). Click on Next.
Figure 26 - Event alert properties
If you want to treat all alerts as a new alert then uncheck this option: Suppress duplicate alerts (Figure 27). Click on Next.
Figure 27 - Alert suppression
You can create a response to this alert by sending a notification to the Notification Group: Click on Add and select the Send a notification to a Notification Group option. Select a Notification group you wish to alert (Figure 28), for example, Operations Manager Administrators (Figure 29).Click on OK and Next.
Figure 28 - Event response
Figure 29 - Select Notification Group
When you are finished, the Notification Group and the type of notification appear in the list (Figure 30).
Figure 30 - Created Image response
In the appeared window, Event Rule Properties-General, you need to give a name to the created rule, so type in the line of Rule Name, for example, Alert Generator (Figure 31). Click on Finish.
Figure 31 - Rule name
When you are finished, you can see the created rule in the Agent sub-menu, in Event Rules (Figure 32).
Figure 32 - Created alert
Then, to create an event use the Eventcreate command at the Command Prompt in the Administrator menu. This command will generate an error in the application log: eventcreate /T ERROR /ID 1000 /L APPLICATION /D "Test Alert" (Figure 33).
Figure 33 - Error in command prompt
At the Operations console you see the generated Critical Alert (Figure 34) and at the Ozeki NG SMS Gateway you will see that the message has been sent (Figure 35).
Figure 34 - Generated alert
Figure 35 - 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.