

This guide provides instructions on setting up a media type, a user and an action in Zabbix.ġ.
#Rocketchat user custom fields how to#
This guide describes how to integrate Zabbix 5.0 installation with Rocket.Chat using the Zabbix webhook feature. Make sure this user has access to all hosts, for which you would like problem notifications to be converted into Rocket.Chat tasks.įor more information see Zabbix and Rocket.Chat documentations. If the channel is already specified in the rc_send_to parameter, you can put any symbol in this field to comply with frontend requirements. "Send to" field should be filled as #channel_name or that "Send to" field cannot be empty. Create a Zabbix user and add Media with the Rocket.Chat media type. There can be any text including whitespaces or symbols.aces or symbols.Ĥ. Used if the field should be sent only on problem/recovery operation. If short, there can be several fields on one line, otherwise, the field will be placed on a separate line.

field - prefix of the parameter with field info."Field" parameters with another format or empty value will be ignored. For non trigger-based notifications, it is always set as true.įield_1_short_p:Host - contains data for each field of the attachment. If true all messages will be posted as text of. Use_default_message - false (default) or true. Rc_send_to - #channel or Supports private and public channels and direct messages. Can be useful if the version will be changed. The following parameters can help you customize the alerts: Rc_user_token - user's API access token created earlier.ģ. Rc_url - the actual URL of your Rocket.Chat instance. The following parameters should be filled: Rocket.chat provides functionality to post as another user or to another channel / user, compared to the webhook configuration. Open the newly added Rocket.Chat media type and replace all with your values. In the Administration > Media types section, import media_rocketchat.yaml.Ģ. If the token is lost or forgotten, you can regenerate or delete the token.

The tokens that will be generated are irrecoverable, after generating, you must save it in a safe place. See Rocket.Chat documentation for the information.ģ. Grant to the user a role with create-personal-access-tokens permission. Make sure the user is able to post messages in the required channel.Ģ. Create a user for API or use an existing one. Event updates and resolve messages will be added to the thread of the first message. This guide provides instructions on setting up a media type, a user and an action in Zabbix.īy default, all new alerts will be posted as messages with an attachment card. This guide describes how to integrate Zabbix 6.2 installation with Rocket.Chat using the Zabbix webhook feature.
