Skip to content

Notification notify-host-rocketchat

Overview

Sends host notifications using the Rocket.Chat API.

Fact Sheet

Fact Value
Notification Plugin Download https://github.com/Linuxfabrik/monitoring-plugins/tree/main/notification-plugins/notify-host-rocketchat
Can be called without parameters No
Compiled for Windows No

Help

usage: notify-host-rocketchat [-h] [-V] --datetime DATETIME
                              --host-displayname HOST_DISPLAYNAME
                              [--host-output HOST_OUTPUT]
                              --host-state HOST_STATE [--hostname HOSTNAME]
                              [--icingaweb2-url ICINGAWEB2_URL]
                              [--notification-author NOTIFICATION_AUTHOR]
                              [--notification-comment NOTIFICATION_COMMENT]
                              [--rocketchat-mentions ROCKETCHAT_MENTIONS]
                              --rocketchat-url ROCKETCHAT_URL

Sends host notifications using the Rocket.Chat API.

options:
  -h, --help            show this help message and exit
  -V, --version         show program's version number and exit
  --datetime DATETIME   Set the message timestamp ($icinga.short_date_time$).
  --host-displayname HOST_DISPLAYNAME
                        Set the display name of the host
                        ($host.display_name$).
  --host-output HOST_OUTPUT
                        Set the host output ($host.output$).
  --host-state HOST_STATE
                        Set the host state ($host.state$).
  --hostname HOSTNAME   Set the hostname ($host.name$).
  --icingaweb2-url ICINGAWEB2_URL
                        Set the Icinga Web 2 URL. Example: `--icingaweb2-
                        url=https://icinga.example.com/icingaweb2`.
  --notification-author NOTIFICATION_AUTHOR
                        Set the author of the comment ($notification.author$).
  --notification-comment NOTIFICATION_COMMENT
                        Set the comment ($notification.comment$).
  --rocketchat-mentions ROCKETCHAT_MENTIONS
                        Set the Rocket.Chat mentions. Can be specified
                        multiple times.
  --rocketchat-url ROCKETCHAT_URL
                        Set the Rocket.Chat Webhook API URL.

Documentation:
https://linuxfabrik.github.io/monitoring-plugins/notification-plugins/notify-host-rocketchat/

Credits, License