9.9. Input parameters passed on bgppeer-alarm.sh program
An external program is run for a BGP peer when it is in
Critical state. The program receives information, as
its input parameters, about a given BGP peer in the following format:
alarm-on or alarm-off - shows if an alarm
(i.e. sound) for a given BGP peer is turned on;
test-on or test-off - shows if it is a test or not;
a BGP peer description;
a BGP peer IPaddress;
a BGP peer AS number;
a number of the program calls since the last state change;
a time which passed since the last state change;
a BGP peer administrative state;
a BGP peer operation state;
a device name, that is an owner of the BGP peer;
a calculated community of the BGP peer.