diff options
author | Miks Kronkalns <miks.kronkalns@zabbix.com> | 2021-12-02 11:09:09 +0300 |
---|---|---|
committer | Sergey Simonenko <sergey.simonenko@zabbix.com> | 2021-12-02 11:09:09 +0300 |
commit | aab41e634284fa954028e19f0945dc6d771a4667 (patch) | |
tree | 44dd2b1fe27fb10bcce0c2734580f40b0bca16e9 /include/common.h | |
parent | 4038a2734e64fd66406db1281bb415298c45a8d4 (diff) | |
parent | 26dcc0b43620fc086bef92acbf4d73166f8f1684 (diff) |
A.F.....S. [ZBXNEXT-6250] added option to opt-out of "escalation canceled" messages
* commit '26dcc0b43620fc086bef92acbf4d73166f8f1684':
..F....... [ZBXNEXT-6250] minor code refactoring
.......... [ZBXNEXT-6250] added new notify_if_canceled field to data.tmpl
........S. [ZBXNEXT-6250] removed redundant blank line
.......... [ZBXNEXT-6250] typo fix
.......... [ZBXNEXT-6250] typo fix
.......... [ZBXNEXT-6250] updated integration tests
........S. [ZBXNEXT-6250] changed log message string (AmE)
.D........ [ZBXNEXT-6250] fixed changelog
ADF....... [ZBXNEXT-6250] implemented escallation cancellation frontend and API part
........S. [ZBX-20177] updated constant names (server part)
........S. [ZBXNEXT-6250] changed field name
........S. [ZBXNEXT-6250] initial commit
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h index 47f3592ec00..c91f6af45cf 100644 --- a/include/common.h +++ b/include/common.h @@ -721,6 +721,10 @@ const char *zbx_item_logtype_string(unsigned char logtype); #define ACTION_PAUSE_SUPPRESSED_FALSE 0 /* process escalation for suppressed events */ #define ACTION_PAUSE_SUPPRESSED_TRUE 1 /* pause escalation for suppressed events */ +/* action escalation canceled notification mode */ +#define ACTION_NOTIFY_IF_CANCELED_TRUE 1 /* notify about canceled escalations for action (default) */ +#define ACTION_NOTIFY_IF_CANCELED_FALSE 0 /* do not notify about canceled escalations for action */ + /* max number of retries for alerts */ #define ALERT_MAX_RETRIES 3 |