Integrate OpManager with Lark

Lark is an online platform designed for team collaboration, providing a variety of free tools such as chat, document collaboration, video conferencing, workflow automation, and AI features, all within a single application. It allows communication across teams, departments, and entire organizations with its integrated messaging system, which includes voice and video conferencing capabilities.

By integrating OpManager with Lark, alerts can be efficiently sent to the Groups in Lark, ensuring instant notifications and facilitating effective communication within teams.

OpManager can be integrated with lark using the custom integration option.

  1. Steps to perform in Lark
    1. Create a Group and Select a Bot
  2. Steps to perform in OpManager
    1. Configure Custom Integration
    2. Associate a Notification Profile

Steps to follow in Lark

Create a Group and Select a Bot

  1. Login to Lark
  2. Click on '+' icon and then click on New Group.
  3. lark-login

  4. Select group type as Chat and click on Create
  5. lark-login

  6. Navigate through settings in the Group and click on Bots within your group
  7. lark-custom-bots

  8. Click on Custom Bot
  9. lark-login

  10. Within Custom Bot page, specify the name and description for the bot and click on add.
  11. Copy the Webhook URL and click Finish.
  12. lark-webhook-url

Steps to follow in OpManager

Configure Custom Integration

  1. Go to Settings -> General Settings -> Integrations -> New Custom Integration.
  2. Enter the following:
    1. Integration Type: Chat
    2. Method Type: POST
    3. URL: (Paste the copied Webhook URL)
    4. Data Type: Raw
    5. Payload Type: JSON
    6. Timeout: 10s
    7. Body Content:
  3. {
       "content": {
          "text": "$DeviceField(ipAddress),$message",
       },
       "msg_type": "text ",
    }

    custom-integration

  4. Save your Custom Integration and click on Configure Now to add Notification profile for Lark.
  5. configure-notification-profile

Associate a Notification Profile

  1. By clicking 'Configure Now' you will be directed to the Notification profile page.
  2. Click Custom Integration
  3. Associate-notification-profile

  4. Select Lark and follow the below steps to configure the notification profile
  5. lark-custom-integration

  6. Learn more about configuring criteria, devices, and time window in Notification Profiles here.
  7. Click Save.

Verifying the Integration

Trigger a real-time alert in OpManager, then log in to your Lark interface to verify that the triggered alert has been posted in your Lark group.

lark-alerts

Know more about the integrations offered by OpManager

Know more about dynamic variables used in request body

Thank you for your feedback!

Was this content helpful?

We are sorry. Help us improve this page.

How can we improve this page?
Do you need assistance with this topic?
By clicking "Submit", you agree to processing of personal data according to the Privacy Policy.