Lantronix welcomes Uplogix! Learn more here.

SLV HTTP Test Connection Failed

Updated March 9, 2021. Written for LMS Version 6.2.

These rules examine the results from an SLV (service level verification) test run by a Lantronix local manager for results that indicates that the test failed, and send email alerts to notify users subscribed to alerts on the Lantronix local manager in question.

To load them onto your Lantronix Local Manager, simply copy and paste the below rules into the CLI.

config rule httpResponseZeroes
description this rule sends an alarm if the http slv test receives 0 for all round trip metrics
action alarm GENERIC -a "http test returned 0 on all metrics"
slv.timeToConnect equals 0 AND
slv.timeToFirstByte equals 0 AND
slv.timeToLastByte equals 0

config rule httpResponseConnectionRefused
description this rule sends an alarm if the http slv test receives a 'connectionrefused' response
action alarm GENERIC -a "http test returned 'Connection refused'"
slv.message equals "Connection refused"

config ruleset httpSLVErrors
description null
httpResponseConnectionRefused | httpResponseZeroes

To apply the rules, attach them to a SLV test on the Lantronix local manager with the config monitor command (for example: config monitor slv webtestexample httpSLVErrors :500).


Create an SLV http test following the instructions in Service Level Verification.

[admin@LantronixLM]# config slv http uplogixedu
[config slv http uplogixedu]# url
[config slv http uplogixedu]# exit

Configure a monitor using the created SLV http test and the new httpSLVErrors ruleset.

[admin@LantronixLM]# config monitor slv uplogixedu httpSLVErrors
Validate scheduled monitor(slv)?  (This will execute the job now.) (y/n): y
Job was scheduled 2: [Interval: 00:00:30 Mask: * * * * *] rulesMonitor slv uplogixedu httpSLVErrors 30

View the alarms with the show alarm command.

[admin@LantronixLM]# show alarm
GMT       Elapsed     Device     Context        Message                             
-----     -------     ------     ----------     ------------------------------------
18:22     0:22                   uplogixedu      http test returned 0 on all metrics

Not finding what you're looking for?

The LEVEL Technical Services team is standing by 24/7/365 to answer any questions you may have about the installation, configuration, and usage of our products.

© 2023 Lantronix, Inc. All Rights Reserved