Áú»¢¶Ä²©

Line

LINE is a freeware app for instant communications on electronic devices such as smartphones, tablet computers, and personal computers. LINE users exchange texts, images, video and audio, and conduct free VoIP conversations and video conferences.

Available solutions




This template is for Áú»¢¶Ä²© version: 7.2
Also available for: 7.0 6.4 6.2 6.0

Source:

LINE webhook

This guide describes how to integrate your Áú»¢¶Ä²© installation with LINE messenger using Áú»¢¶Ä²© webhook feature. It also provides instructions on setting up a media type, a user and an action in Áú»¢¶Ä²©.

In LINE developer console

  1. Create a messaging channel access token following original instructions on .

  2. Copy the channel access token of your new integration to be used in Áú»¢¶Ä²©.

In Áú»¢¶Ä²©

The configuration consists of a Media type in Áú»¢¶Ä²©, which will invoke the webhook to send alerts to LINE messenger through the LINE messaging API.

  1. Create a global macro {$ZABBIX.URL} following these instructions in Áú»¢¶Ä²© documentation with Áú»¢¶Ä²© frontend URL - for example, http://192.168.7.123:8081.

  1. Import LINE media type from this file following these instructions in Áú»¢¶Ä²© documentation.

  1. Change the value of the variable bot_token to the channel access token.

For more information on Áú»¢¶Ä²© webhook configuration, see Áú»¢¶Ä²© documentation.

  1. Set Media type LINE for each user you would like to get notified and fill Send to field with the corresponding ID of the target recipient. Use a userId, groupId, or roomId value. See for more information.

See more details on creating Áú»¢¶Ä²© user.

LINE user should suffice the default settings as this user will not be logging into Áú»¢¶Ä²©. Note that in order to be notified about problems on a host, this user must have at least read permissions for this host.
When configuring an alert action, add this user in the Send to users field (in Operation details) - this will tell Áú»¢¶Ä²© to use LINE webhook when sending notifications from this action. Use the LINE user in any actions of your choice.

Testing

Media testing can be done manually, from Media types page. Press Test button opposite to the previously defined media type, under Actions.

  1. To create a problem, following fields should be set:

    • alert_message = Test message
    • alert_subject = Test subject
    • bot_token = Channel access token
    • event_id = 1234567890
    • event_nseverity = 5
    • event_source = 0 (it simulates trigger based event)
    • event_update_status = 0 (not an update operation)
    • event_value = 1 (this is a problem event)
    • send_to = ID of the recipient
    • trigger_description = Test trigger description
    • trigger_id = 0987654
    • zabbix_url =

  2. Having successfully sent a message from Áú»¢¶Ä²©, check if it has been received by the recipient.

Supported Versions

Áú»¢¶Ä²© 7.0, LINE messaging API.

Feedback

Please report any issues with this media type at . You can also provide feedback, discuss the template, or ask for help at ZABBIX forums.

Articles and documentation

+ Propose new article

Sie k?nnen die Integration nicht finden, die Sie ben?tigen?