Example – Westermo RedFox Series User Manual
Page 564
Westermo OS Management Guide
Version 4.17.0-0
24.3.2.9
Ping Trigger Configuration Example
Syntax trigger ping
Context
context
Usage Create a ping trigger, and enter the
context
for this trigger. The ping trigger monitors the network connectivity (i.e.,
network reachability) to a given host, using the ping command.
Associated with the ping trigger are the following settings:
❼ peer: The host to test the connectivity against.
❼ interval: the ping interval can be configured (see
❼ number: a robustness threshold, i.e., number of failed (or successful,
depending on the condition) pings required to consider the remote host
to be unreachable (or reachable), see
❼ outbound: to force ping to use a specific interface. Useful with dynamic
VRRP priority (see
), where you do not want to rely on the
system default gateway.
In this example a ping trigger is created and mapped to the default ac-
tion profile, to indicate alarm when the peer become unreachable after 3
retries.
Example
example:/config/alarm/#> trigger ping
Trigger 2: Peer is mandatory
example:/config/alarm/trigger-2/#> peer bbc.co.uk
example:/config/alarm/trigger-2/#> number 3
example:/config/alarm/trigger-2/#> interval 3
example:/config/alarm/trigger-2/#> action 2
example:/config/alarm/trigger-2/#> end
example:/config/alarm/#> show
Trigger
Type
Enabled
Action
Source
===============================================================================
1
frnt
YES
1
Instance 1
2
ping
YES
1
peer bbc.co.uk
Action
Targets
===============================================================================
1
snmp log led digout
===============================================================================
Summary alarm traps: Disabled
example:/config/alarm/#>
564
➞ 2015 Westermo Teleindustri AB