Syntax of the CLI command alertingcenter
Last adaptation to the version: 12.7.0
New:
- Updated to Redesign of the webinterface
- New alert type for severity
- New command: alertingcenter test v12.6
This article refers to a Resellerpreview
Example: alertingcenter collectd set plugin "DF" limit_severity_1 "35" limit_severity_2 [ ]
Command | Parameter | Description | Example |
---|---|---|---|
alertingcenteralertingcenter collectdalertingcenter collectd get |
– | Output of all threshold-controlled notifications | alertingcenter collectd get |
alertingcenter collectd set | Set values for threshold driven notification | alertingcenter collectd set plugin "DF" limit_severity_1 "35" | |
plugin | Name of the monitored system | ||
limit_serverity_1 | First Threshold | ||
limit_serverity_2 | Second Threshold | ||
tolerance_time | Time of tolerated monitoring in minutes | ||
serverity_1 | First notification level | ||
serverity_2 | Second notification level | ||
alertingcenter syslogalertingcenter syslog pattern get |
– | List of all syslog services | alertingcenter syslog pattern get |
alertingcenter syslog patterngroup get | – | List of all service groups | alertingcenter syslog patterngroup get |
alertingcenter syslog patterngroup set | Creation of a new service group | alertingcenter syslog patterngroup set group_id 26 group_severity "INFO" language de | |
group_id | ID of the group | ||
group_severity | Assigned threshold-driven notification of the group | ||
language | Language of the service group. German: de, English: en | ||
alertingcenter syslog expression get | – | Listing of all syslog expressions | alertingcenter syslog expression get |
alertingcenter severityalertingcenter severity get |
– | Listing of all threshold-driven notifications | alertingcenter severity get |
alertingcenter severity set | Creates a new threshold-driven notification | alertingcenter severity set severity "DEBUG" emitter "report" | |
severity | Name of the threshold-driven notifications | ||
emitter | Assigned notification type (report, fast_mail or notempty New since v12.7.0 http_request)
| ||
alertingcenter alertsalertingcenter alerts get |
– | Listing of all notifications | alertingcenter alerts get |
alertingcenter alerts program get | – | Listing of all notifications | alertingcenter alerts program get |
alertingcenter reportalertingcenter report create |
Creates a new periodic notification | alertingcenter report create program "fetchmail" collector "MAILQUEUE" severity "WARNING" alert_id "100" period "all" since_id "0800" alert_limit [ ] | |
program | Notification | ||
collector | Threshold controlled notification | ||
severity | Name of the threshold-driven notifications | ||
alert_id | Alarm ID | ||
period | Time frame of the message to be sent all | today | unit | ||
since_id | Time of delivery of the message | ||
alert_limit | Maximum number of alarm messages | ||
alertingcenter testalertingcenter test |
– | Generates a test alert, which should then be readable (alertingcenter alerts get) | alertingcenter test |