From the point of view of a central monitoring, the availability of a system depends on the time zone of the user. To ensure that only SLA-relevant data is collected, UXMon allows you to define work modes on the level of robots executing scripts at certain locations. The UXMon scripts are executed according to the work modes you activate, for example only during the local business hours.
Example
A server is located in the CET zone, the time is GMT+1. Users are located in the CET zone and in Japan (GMT+9).
The SLA contract promises availability during office hours (9 a.m. to 5 p.m.). If the server fails at 4 p.m., from the point of view of the European user, the SLA contract is breached. From the point of view of the users in Japan, the issue occurs outside business hours (at 1 a.m.), so the requirements of the SLA contract are complied with.
Example
Define the Chinese New Year as Non-Business Hours work mode. During the Chinese New Year holidays, the execution of UXMon scripts on the robots in China is interrupted while the UXMon scripts are executed on the robots located, for example, in EMEA or the Americas.
Note
UXMon uses standard work modes as defined in work mode management. It does not support custom work modes.
By default, UXMon uses global work modes scheduled in work mode management. For more information, see Activating Monitoring for Global Work Modes.
You have created an UXMon script and deployed it on at least one UXMon robot. For more information, see Creating UXMon Scripts and Distributing Them on Robots.
Defining local work modes comprises two steps:
Schedule local work modes, for example the peak business hours for UXMon robots in New York, Frankfurt, and Tokyo.
Assign the local work modes (for the peak business hours, for example) to those UXMon scripts which are end user-relevant. Typically, you have two types of UXMon scripts:
Back end scripts which monitor, for example, the 24/7 availability of a database permanently. These scripts are typically not subject to work modes, and the SLA reporting is not time zone-dependent. You do not assign a work mode, so the global work mode settings remain effective.
End user scripts which simulate business scenarios. For these UXMon scripts, the SLA reporting is time zone-dependent. You assign one or more local work modes, to define when the UXMon scripts are to be executed locally.
Choose
.In the Configure Infrastructure
step, choose the Work Mode Settings
sub-step.
Choose the Work Mode for Robots Configuration
link.
Under Components whose Work Modes are managed
, select the UXMon robot.
Under Present Work Modes in Calendar
, choose the Schedule Work Mode(s)
pushbutton.
Enter data as required.
Type/Phase
: Select the UXMon work mode you want to schedule, Non-Business Hours
, for example.
Title
: Enter a meaningful name, Christmas Holidays, for example.
Status
: Set the status to active.
Start/End Date/Time
: Specify the time frame, for example 25 December to 26 December.
Optional: To reuse the schedule for other UXMon robots, save it as template.
Save your entries.
The scheduled work mode is displayed in the list.
To configure additional work modes, for example the standard Non-Business Hours
, or the Peak Business Hours
, repeat steps 5 to 8.
Repeat steps 4 to 9 for all robots whose work modes are to be defined.
The work modes appear under Present Work Modes in Calendar
.
To be able to execute an UXMon script, an UXMon robot must know its work mode. UXMon allows you to assign one or more of the following work modes you have defined locally for one or more UXMon robots, to an UXMon script:
Peak-Business Hours
Business Hours
Non-Business Hours
Choose
.In the Monitoring
step, choose the Scrips
tab page.
Select the UXMon script which is to be executed depending on the local work modes of the UXMon robots.
Under Configuration Parameters
, choose Add
.
A dialog box appears.
Select the work mode you want to assign to the UXMon script. Select one of the following parameters:
workmode.enabled.Peak Business Hours
workmode.enabled.Non-Peak Business Hours
workmode.enabled.Non Business Hours
To confirm, choose OK
.
Set the parameter value to true.
Repeat steps 4 to 7 for each work mode you want to assign.
Save your entries.
UXMon scripts are executed during the local times scheduled in the work modes for the UXMon robots.