|
Service
Level Management
SLCheck is a
tool that helps you to create Service Level Reports to control your
Service Level Agreements (SLA). It produces log files in .csv format
(comma separated values). These log files can be used to get compact
information about your – or your provider’s – service quality.
SLCheck provides two command line options for Service Level
Management:
-SLTime
<time> Time
in ms. The measured time is compared with this value
-SLFile <log file name>
Name of the log file
There are two additional batch files for Service Level Management. CheckSLViolation.cmd
is executed if the server doesn’t answer with the correct
answer string within the given service level time (–SLTime).
Only for the double HTTP check: CheckSLViolationDoubleHTTP.cmd is executed if both servers don’t
answer with the correct answer string within the given service level
time (–SLTime).
Let’s have a
look at this example:
SLCheck
–p 80 –a server.domain.com -r
"HTTP/1.1 200 OK" –SLFile httplog.csv –SLTime 100 –w
1000
SLCheck tries to establish a
connection with server server.domain.com on port 80 and to send a
HTTP
GET request.
-
If the 15 characters of the answer string (from left)
match the string "HTTP/1.1
200 OK" and
the answer time is less or equal 100ms the check is successful –
CheckOK.cmd will be executed (can be avoided with option -NoOkBatch.
The results are logged in SLFile
httplog.csv
-
If
the server answers with string "HTTP/1.1
200 OK",
but the Service Level Time of 100ms is exceeded, batch file
CheckSLViolation.cmd will be executed. The results are logged in SLFile
httplog.csv
-
If
the server doesn’t answer within 1000ms, batch files
CheckTimeout.cmd and CheckSLViolation.cmd will be executed. The
results are logged in SLFile
httplog.csv
-
If
the server answers within the 1000ms, but delivers a wrong answer
string (e.g. “403 Forbidden“), batch file CheckMismatch.cmd and
CheckSLViolation.cmd will be executed. The results are logged in SLFile
httplog.csv
All
batch files can be customized by the user. You can suppress the execution of the batch files with the following options:
-NoBatch
No batch file will be executed
-NoOkBatch
No batch file should be executed if check is OK. All error batches
should run
-NoErrorBatch
No timeout, mismatch and fatal batch will be executed, only SL batch
and OK batch
-NoSLBatch
No
service level alarm batches will be executed
|
|