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