Lantronix welcomes Uplogix! Learn more here.

Device Ping Monitors

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


A ping monitor allows you to run the ping command on the managed device and apply rules to the results.

Create a Rule (optional)

If you want to take action based on the ping results, you should create a rule. Here's an example of a rule that creates an alarm if the ping's Round Trip Time exceeds 1ms.

[admin@LantronixLM]# config rule pingHigh
[config rule pingHigh]# conditions
[config rule pingHigh conditions]# ping.roundTripTime max 1
[config rule pingHigh conditions]# exit
[config rule pingHigh]# action alarm GENERIC -a "Ping RTT exceeding limit"
[config rule pingHigh]# exit

[admin@LantronixLM]# show rule pingHigh
rule pingHigh
action alarm GENERIC -a "Ping RTT exceeding limit"
ping.roundTripTime max 1

Configure the Monitor

To configure the monitor without any associated rules:

Syntax: config monitor ping ip_address [interval]

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

To use the pingHigh rule with the ping monitor:

Syntax: config monitor ping ip_address pingHigh [interval]

[admin@LantronixLM (port1/1)]# config monitor ping pingHigh
Validate scheduled monitor(ping)?  (This will execute the job now.) (y/n): y
Cancelling previous monitor for 'ping'
Job was scheduled 14: [Interval: 00:00:30 Mask: * * * * *] rulesMonitor ping pingHigh 30

If a previous ping monitor was scheduled, it will be canceled and replaced with a new one.

If the round trip time of the ping exceeds the limit, an alarm will be generated:

[admin@LantronixLM (port1/1)]# show alarm
GMT       Elapsed     Device       Context     Message                  
-----     -------     --------     -------     -------------------------
18:35     0:32        AUS-CORE                  Ping RTT exceeding limit

Viewing Ping Stats

[admin@LantronixLM (port1/1)]# show pingstats
GMT       Host           Success     Round Trip Time
-----     ----------     -------     ---------------
18:35     *           4.0 ms         
18:34     *           1.0 ms         
18:34     *           4.0 ms         
18:33     *           4.0 ms         

in the Success column, * is positive, blank is negative

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