From 99a3013b3d27294f361b770a5522b91bd1f81612 Mon Sep 17 00:00:00 2001 From: Sims24 Date: Tue, 22 Nov 2016 16:33:38 +0100 Subject: [PATCH] + add examples in help --- apps/protocols/bgp/4/mode/bgppeerstate.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/protocols/bgp/4/mode/bgppeerstate.pm b/apps/protocols/bgp/4/mode/bgppeerstate.pm index fd486f587..99824eca7 100644 --- a/apps/protocols/bgp/4/mode/bgppeerstate.pm +++ b/apps/protocols/bgp/4/mode/bgppeerstate.pm @@ -229,11 +229,12 @@ Critical threshold on last update (seconds) =item B<--warning-status> -Specify admin and peer state that trigger a warning +Specify admin and peer state that trigger a warning. Can use %{adminstate} and %{peerstate} +e.g --warning-status "%{adminstate} =~ /stop" =item B<--critical-status> -Specify admin and peer state that trigger a critical +Specify admin and peer state that trigger a critical. Can use %{adminstate} and %{peerstate} =back