Jump to:navigation, search
Wiki































De.png
En.png
Fr.png









Syntax of the CLI command alertingcenter

Last adaptation to the version: 12.7.0

New:
notempty
This article refers to a Resellerpreview
Access: Extras CLI


  • If no values ​​are to be passed for a parameter, this parameter is not to be specified. If a parameter value is to be overwritten with <empty>, two square brackets must be used.
    Example: alertingcenter collectd set plugin "DF" limit_severity_1 "35" limit_severity_2 [ ]

  • Command Parameter Description Example

    alertingcenter

    alertingcenter collectd

    alertingcenter 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 syslog

    alertingcenter 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 severity

    alertingcenter 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 alerts

    alertingcenter alerts get
    Listing of all notifications
    alertingcenter alerts get
    alertingcenter alerts program get Listing of all notifications
    alertingcenter alerts program get

    alertingcenter report

    alertingcenter 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 test

    alertingcenter test
    Generates a test alert, which should then be readable (alertingcenter alerts get) alertingcenter test