Learning how to setup an eValid alarm script

Applying eValid to Rich Internet Application (RIA) Performance Monitoring.

Learning how to setup an eValid alarm script

Postby JShutan » Thu Jun 17, 2021 11:11 am

Good Afternoon.

What can you tell me about creating a multi-tier alarm script?

I would like to be alerted when certain conditions happens during my tests.

Thanks in advance.
JShutan
 
Posts: 1
Joined: Thu Jun 17, 2021 11:07 am

Re: Learning how to setup an eValid alarm script

Postby eValid » Fri Jun 18, 2021 7:28 am

JShutan wrote:Good Afternoon.

What can you tell me about creating a multi-tier alarm script?

I would like to be alerted when certain conditions happens during my tests.

Thanks in advance.


Great question to post JShutan.

The eValid timer alarms provide useful information to the user who monitors the performance of a site by sending an email alert to a specified recipient.

This however, can result in numerous and non-urgent email alerts.

A good way of configuring eValid to send only the most urgent email alert is by using a 3 Tier Alarm Script.

(1) Navigate to the page you want to monitor and edit in the WaitMod commands to specify the exact time to run the script.

(2) Insert the "OnAlarmGoScript" command at the beginning of the script and proceed to set the Timer Alarm.

e.g.

#Launches the script every hour.
WaitModHH 00
# Launches the second script upon error
OnAlarmGoScript "script2.evs"
ResetTimer
InitLink "URL"
Wait 1000
ElapsedTime
OvertimeAlarm 500 "Alarm Message " "" "" 2

(3) Copy the same script and rename it as the second script without the Wait command and replacing the script called to the third and final script.

e.g.

# Launches the third script upon error
OnAlarmGoScript "script3.evs"
ResetTimer
InitLink "URL"
Wait 1000
ElapsedTime
OvertimeAlarm 500 "Alarm Message " "" "" 2

(4) On the third and final script, simply add the Overtime Alarm message with the corresponding CGI script and the recipients' email.

You may also add a GoScript command to return to the original script once the email alert has been sent.

e.g.

OvertimeAlarm 500 "Alarm Message Here"
"CGI script here" "email here" 2
GoScript "script1.evs"

In the example shown, eValid will only send the email alert once it has confirmed twice that the page loads slower than the expected time and when the script has reached the final script due to the errors reported.


-- eValid Support
eValid
 
Posts: 2176
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to Rich Internet Application Monitoring (RIA)

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons