Ad Widget

Collapse

Zabbix integration with Grafana OnCall OSS

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wyang
    Member
    • Mar 2016
    • 93

    #1

    Zabbix integration with Grafana OnCall OSS

    Hello,
    I need configure Zabbix to send alerts to Grafana OnCall OSS.
    Zabbix version: 6.0
    Grafana OnCall OSS version: v1.7.1
    Following the steps on the Grafana Doc Zabbix | Grafana OnCall documentation, sending a testing alert from Zabbix to Grafana OnCall OSS failed due to “curl: command not found” in zabbix-server image.
    I’d much appreciate if you could share your success story for Zabbix integration with Grafana OnCall OSS.
    THANK YOU!!!
  • markfree
    Senior Member
    • Apr 2019
    • 868

    #2
    The Grafana OnCall alert script uses "cURL" to send Zabbix data to Grafana.
    Code:
    return=$(curl $url -d "${payload}" -H "Content-Type: application/json" -X POST)
    You need to make sure that your Zabbix Server has the cURL command available to the Zabbix user.
    If it is not installed, you need to install it.

    Comment

    • wyang
      Member
      • Mar 2016
      • 93

      #3
      Thank you very muchmarkfree for looking into my request and providing advice.
      Zabbix server is running on docker container with the alpine version of the zabbix/zabbix-server-pgsql image, in which curl command is not available. Since the container is not started by root user, I am not able to install curl in Zabbix server container.
      Any recommendation on this front?
      THANK YOU!!!

      Comment

      • markfree
        Senior Member
        • Apr 2019
        • 868

        #4
        I think the "ol" image tag has the cURL built-in.

        Comment

        • wyang
          Member
          • Mar 2016
          • 93

          #5
          Thanks very much markfree for for your feedback. Greatly appreciated!
          For unknown reason, I have not received notifications for reacts to my posts, configured in my user settings though.
          I ended up building zabbix server docker image from zabbix-server-pgsql with curl installed.
          With this image, the alertscript for the media type of Grafana OnCall works well.
          THANK YOU!!!

          Comment

          • markfree
            Senior Member
            • Apr 2019
            • 868

            #6
            Originally posted by wyang
            For unknown reason, I have not received notifications for reacts to my posts, configured in my user settings though.
            Me neither.
            If you like, you can add your report to this thread.


            Comment

            Working...