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