<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Connect to Grafana OnCall on Grafana Labs</title><link>https://grafana.com/docs/oncall/v0.0.39/integrations/</link><description>Recent content in Connect to Grafana OnCall on Grafana Labs</description><generator>Hugo -- gohugo.io</generator><language>en</language><atom:link href="/docs/oncall/v0.0.39/integrations/index.xml" rel="self" type="application/rss+xml"/><item><title>Integrate with data sources</title><link>https://grafana.com/docs/oncall/v0.0.39/integrations/add-integration/</link><pubDate>Tue, 18 Mar 2025 12:53:54 +0100</pubDate><guid>https://grafana.com/docs/oncall/v0.0.39/integrations/add-integration/</guid><content><![CDATA[&lt;h1 id=&#34;integrate-with-data-sources&#34;&gt;Integrate with data sources&lt;/h1&gt;
&lt;p&gt;Grafana OnCall can connect directly to the monitoring services of your data sources listed in the Grafana OnCall &lt;strong&gt;Integrations&lt;/strong&gt; section.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Connect to a data source with configured alerts.&lt;/p&gt;
&lt;p&gt;In Grafana OnCall, click on the &lt;strong&gt;Integrations&lt;/strong&gt; tab and click &lt;strong&gt;&#43; New integration for receiving alerts&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select an integration from the provided options.&lt;/p&gt;
&lt;p&gt;If you want to use an integration that is not listed, you must use webhooks. To learn more about using webhooks see &lt;a href=&#34;../webhooks/add-webhook-integration/&#34;&gt;Integrate with webhooks&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Configure your integration.&lt;/p&gt;
&lt;p&gt;Each integration has a different method of connecting to Grafana OnCall. For example, if you want to connect to your Grafana data source, select Grafana and follow the instructions.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
]]></content><description>&lt;h1 id="integrate-with-data-sources">Integrate with data sources&lt;/h1>
&lt;p>Grafana OnCall can connect directly to the monitoring services of your data sources listed in the Grafana OnCall &lt;strong>Integrations&lt;/strong> section.&lt;/p>
&lt;ol>
&lt;li>
&lt;p>Connect to a data source with configured alerts.&lt;/p></description></item><item><title>Configure alert notifications with Grafana Alerting</title><link>https://grafana.com/docs/oncall/v0.0.39/integrations/add-grafana-alerting/</link><pubDate>Wed, 19 Apr 2023 14:16:27 +0100</pubDate><guid>https://grafana.com/docs/oncall/v0.0.39/integrations/add-grafana-alerting/</guid><content><![CDATA[&lt;h1 id=&#34;connect-grafana-alerting-to-grafana-oncall&#34;&gt;Connect Grafana Alerting to Grafana OnCall&lt;/h1&gt;
&lt;p&gt;You must have the Admin role assigned to connect to Grafana OnCall.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Navigate to the &lt;strong&gt;Integrations&lt;/strong&gt; tab in Grafana OnCall.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click on the Grafana logo.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Follow the instructions that display in the dialog box to find a unique integration URL in the monitoring configuration.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;grafana-installations&#34;&gt;Grafana installations&lt;/h2&gt;
&lt;p&gt;Grafana OnCall can be set up using two methods:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Grafana Alerting: Grafana OnCall is connected to the same Grafana instance being used to manage Grafana OnCall.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Grafana (External): Grafana OnCall is connected to one or more Grafana instances separate from the one being used to manage Grafana OnCall.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;grafana-cloud-alerting&#34;&gt;Grafana Cloud Alerting&lt;/h3&gt;
&lt;p&gt;Use the following method if you are connecting Grafana OnCall with alerts coming from the same Grafana instance from which Grafana OnCall is being managed.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In Grafana OnCall, navigate to the &lt;strong&gt;Integrations&lt;/strong&gt; tab and select &lt;strong&gt;New Integration for receiving alerts&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Quick connect&lt;/strong&gt; in the &lt;strong&gt;Grafana Alerting&lt;/strong&gt; tile. This will automatically create the integration in Grafana OnCall as well as the required contact point in Alerting.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; You must connect the contact point with a notification policy. For more information, see &lt;a href=&#34;/docs/grafana/latest/alerting/unified-alerting/contact-points/&#34;&gt;Contact points in Grafana Alerting&lt;/a&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Determine the escalation chain for the new integration by either selecting an existing one or by creating a new chain.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In Grafana Cloud Alerting, navigate to &lt;strong&gt;Alerting &amp;gt; Contact Points&lt;/strong&gt; and find a contact point with a name matching the integration you created in Grafana OnCall.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click the &lt;strong&gt;Edit&lt;/strong&gt; (pencil) icon, then click &lt;strong&gt;Test&lt;/strong&gt;. This will send an alert to Grafana OnCall.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;grafana-external&#34;&gt;Grafana (External)&lt;/h3&gt;
&lt;p&gt;Connect Grafana OnCall with alerts coming from an instance of Grafana different from the one on which Grafana OnCall is being managed:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In Grafana OnCall, navigate to the &lt;strong&gt;Integrations&lt;/strong&gt; tab and select &lt;strong&gt;New Integration for receiving alerts&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select the &lt;strong&gt;Grafana&lt;/strong&gt; tile.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;View and save the URL needed to connect.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Determine the escalation chain for the new integration by either selecting an existing one or by creating a new chain.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Go to the other Grafana instance to connect to Grafana OnCall and navigate to &lt;strong&gt;Alerting &amp;gt; Contact Points&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select &lt;strong&gt;New Contact Point&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Choose the contact point type &lt;code&gt;webhook&lt;/code&gt;, then paste the URL generated in step 3 into the URL field.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; You must connect the contact point with a notification policy. For more information, see &lt;a href=&#34;/docs/grafana/latest/alerting/unified-alerting/contact-points/&#34;&gt;Contact points in Grafana Alerting&lt;/a&gt;.&lt;/p&gt;&lt;/blockquote&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click the &lt;strong&gt;Edit&lt;/strong&gt; (pencil) icon, then click &lt;strong&gt;Test&lt;/strong&gt;. This will send an alert to Grafana OnCall.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
]]></content><description>&lt;h1 id="connect-grafana-alerting-to-grafana-oncall">Connect Grafana Alerting to Grafana OnCall&lt;/h1>
&lt;p>You must have the Admin role assigned to connect to Grafana OnCall.&lt;/p>
&lt;ol>
&lt;li>
&lt;p>Navigate to the &lt;strong>Integrations&lt;/strong> tab in Grafana OnCall.&lt;/p></description></item><item><title>Configure alert notifications with Alertmanager</title><link>https://grafana.com/docs/oncall/v0.0.39/integrations/add-alertmanager/</link><pubDate>Wed, 19 Apr 2023 14:16:27 +0100</pubDate><guid>https://grafana.com/docs/oncall/v0.0.39/integrations/add-alertmanager/</guid><content><![CDATA[&lt;h1 id=&#34;alertmanager-prometheus&#34;&gt;Alertmanager (Prometheus)&lt;/h1&gt;
&lt;p&gt;The Alertmanager integration handles alerts sent by client applications such as the Prometheus server.&lt;/p&gt;
&lt;p&gt;Grafana OnCall provides&lt;!--[grouping](#alertmanager-grouping-amp-oncall-grouping)--&gt; grouping abilities when processing alerts from Alertmanager, including initial deduplicating, grouping, and routing the alerts to Grafana OnCall.&lt;/p&gt;
&lt;h2 id=&#34;connect-alertmanager-to-grafana-oncall&#34;&gt;Connect Alertmanager to Grafana OnCall&lt;/h2&gt;
&lt;p&gt;You must have an Admin role to connect to Grafana OnCall.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Navigate to the &lt;strong&gt;Integrations&lt;/strong&gt; tab in Grafana OnCall.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click on the Alertmanager icon.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Follow the instructions that display in the dialog box to find a unique integration URL in the monitoring configuration.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;!--![123](../_images/connect-new-monitoring.png)--&gt;
&lt;h2 id=&#34;configure-alertmanager&#34;&gt;Configure Alertmanager&lt;/h2&gt;
&lt;p&gt;Update the &lt;code&gt;receivers&lt;/code&gt; section of your Alertmanager configuration to use a unique integration URL:&lt;/p&gt;

&lt;div class=&#34;code-snippet code-snippet__mini&#34;&gt;&lt;div class=&#34;lang-toolbar__mini&#34;&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet code-snippet__border&#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-none&#34;&gt;route:
  receiver: &amp;#39;oncall&amp;#39;
  group_by: [alertname, datacenter, app]

receivers:
- name: &amp;#39;oncall&amp;#39;
  webhook_configs:
  - url: &amp;lt;integation-url&amp;gt;
    send_resolved: true&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h2 id=&#34;configure-grouping-with-alertmanager-and-grafana-oncall&#34;&gt;Configure grouping with Alertmanager and Grafana OnCall&lt;/h2&gt;
&lt;p&gt;You can use the grouping mechanics of Alertmanager and Grafana OnCall to configure settings for groups of alert notifications.&lt;/p&gt;
&lt;p&gt;Alertmanager offers three grouping settings:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;group_by&lt;/code&gt; provides two options, &lt;code&gt;instance&lt;/code&gt; or &lt;code&gt;job&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;group_wait&lt;/code&gt; sets the length of time to initially wait before sending a notification for a particular group of alerts. For example, &lt;code&gt;group_wait&lt;/code&gt; can be set to 45s.&lt;/p&gt;
&lt;p&gt;Setting a high value for &lt;code&gt;group_wait&lt;/code&gt; reduces alert noise and minimizes interruption, but it may introduce longer delays in receiving alert notifications. To set an appropriate wait time, consider whether the group of alerts will be the same as those previously sent.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;group_interval&lt;/code&gt; sets the length of time to wait before sending notifications about new alerts that have been added to a group of alerts that have been previously alerted on. This setting is usually set to five minutes or more.&lt;/p&gt;
&lt;p&gt;During high alert volume periods, Alertmanager will send alerts at each &lt;code&gt;group_interval&lt;/code&gt;, which can mean a lot of distraction. Grafana OnCall grouping will help manage this in the following ways:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Grafana OnCall groups alerts based on the first label of each alert.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Grafana OnCall marks an incident as resolved only when the amount of grouped alerts with state &lt;code&gt;resolved&lt;/code&gt; equals the amount of alerts with state &lt;code&gt;firing&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
]]></content><description>&lt;h1 id="alertmanager-prometheus">Alertmanager (Prometheus)&lt;/h1>
&lt;p>The Alertmanager integration handles alerts sent by client applications such as the Prometheus server.&lt;/p>
&lt;p>Grafana OnCall provides&lt;!--[grouping](#alertmanager-grouping-amp-oncall-grouping)--> grouping abilities when processing alerts from Alertmanager, including initial deduplicating, grouping, and routing the alerts to Grafana OnCall.&lt;/p></description></item><item><title>Configure alert notifications with Zabbix</title><link>https://grafana.com/docs/oncall/v0.0.39/integrations/add-zabbix/</link><pubDate>Tue, 11 Mar 2025 08:38:14 -0600</pubDate><guid>https://grafana.com/docs/oncall/v0.0.39/integrations/add-zabbix/</guid><content><![CDATA[&lt;h1 id=&#34;connect-zabbix-to-grafana-oncall&#34;&gt;Connect Zabbix to Grafana OnCall&lt;/h1&gt;
&lt;p&gt;Zabbix is an open-source monitoring software tool for diverse IT components, including networks, servers, virtual machines, and cloud services. Zabbix provides monitoring for metrics such as network utilization, CPU load, and disk space consumption.&lt;/p&gt;
&lt;p&gt;To connect Grafana OnCall with Zabbix using the following procedure, you must have an Admin role assigned.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Navigate to the &lt;strong&gt;Integrations&lt;/strong&gt; tab in Grafana OnCall.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Follow the instructions that display in the dialog box to use a unique integration URL in the monitoring configuration.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;!--![123](../_images/connect-new-monitoring.png)--&gt;
&lt;h2 id=&#34;configure-the-zabbix-server&#34;&gt;Configure the Zabbix server&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Deploy a Zabbix playground if you don&amp;rsquo;t have one set up:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt; docker run --name zabbix-appliance -t \
      -p 10051:10051 \
      -p 80:80 \
      -d zabbix/zabbix-appliance:latest&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Establish an ssh connection to a Zabbix server.&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;docker exec -it zabbix-appliance bash&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Place the &lt;a href=&#34;#grafana_oncallsh-script&#34;&gt;grafana_oncall.sh&lt;/a&gt; script in the &lt;code&gt;AlertScriptsPath&lt;/code&gt; directory specified within the Zabbix server configuration file (zabbix_server.conf).&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;grep AlertScriptsPath /etc/zabbix/zabbix_server.conf&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; The script must be executable by the user running the zabbix_server binary (usually &amp;ldquo;zabbix&amp;rdquo;) on the Zabbix server. For example, &lt;code&gt;chmod &#43;x grafana_oncall.sh&lt;/code&gt;&lt;/p&gt;&lt;/blockquote&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;ls -lh /usr/lib/zabbix/alertscripts/grafana_oncall.sh
-rw-r--r--    1 root     root        1.5K Jun  6 07:52 /usr/lib/zabbix/alertscripts/grafana_oncall.sh&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;configure-zabbix-alerts&#34;&gt;Configure Zabbix alerts&lt;/h2&gt;
&lt;p&gt;Within Zabbix web interface, do the following:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In a browser, open localhost:80.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Navigate to &lt;strong&gt;Adminitstration &amp;gt; Media Types &amp;gt; Create Media Type&lt;/strong&gt;.&lt;/p&gt;
 &lt;!--![](../_images/zabbix-1.png)--&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Create a Media Type with the following fields.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Name: Grafana OnCall&lt;/li&gt;
&lt;li&gt;Type: script&lt;/li&gt;
&lt;li&gt;Script parameters:
&lt;ul&gt;
&lt;li&gt;{ALERT.SENDTO}&lt;/li&gt;
&lt;li&gt;{ALERT.SUBJECT}&lt;/li&gt;
&lt;li&gt;{ALERT.MESSAGE}&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
 &lt;!--![](../_images/zabbix-2.png)--&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;set-the-alertsend_to-value&#34;&gt;Set the {ALERT.SEND_TO} value&lt;/h3&gt;
&lt;p&gt;To send alerts to Grafana OnCall, the {ALERT.SEND_TO} value must be set in the &lt;a href=&#34;https://www.zabbix.com/documentation/3.4/manual/config/notifications/media/script#user_media&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;user media configuration&lt;/a&gt;.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In the web UI, navigate to &lt;strong&gt;Administration &amp;gt; Users&lt;/strong&gt; and open the &lt;strong&gt;user properties&lt;/strong&gt; form.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the &lt;strong&gt;Media&lt;/strong&gt; tab, click &lt;strong&gt;Add&lt;/strong&gt; and copy the link from Grafana OnCall in the &lt;code&gt;Send to&lt;/code&gt; field.&lt;/p&gt;
 &lt;!--![](../_images/zabbix-7.png)--&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Test&lt;/strong&gt; in the last column to send a test alert to Grafana OnCall.&lt;/p&gt;
 &lt;!--![](../_images/zabbix-3.png)--&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Specify &lt;strong&gt;Send to&lt;/strong&gt; OnCall using the unique integration URL from the above step in the testing window that opens.&lt;br /&gt;
Create a test message with a body and optional subject and click &lt;strong&gt;Test&lt;/strong&gt;.&lt;/p&gt;
 &lt;!--![](../_images/zabbix-4.png) 
  WHERE DID SLACK COME FROM?! 1. View the Grafana OnCall incident that appears in the Slack channel.
 ![](../_images/zabbix-5.png)--&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;grouping-and-auto-resolve-of-zabbix-notifications&#34;&gt;Grouping and auto-resolve of Zabbix notifications&lt;/h2&gt;
&lt;p&gt;Grafana OnCall provides grouping and auto-resolve of Zabbix notifications.
Use the following procedure to configure grouping and auto-resolve.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Provide a parameter as an identifier for group differentiation to Grafana OnCall.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Append that variable to the subject of the action as &lt;code&gt;ONCALL_GROUP: ID&lt;/code&gt;, where &lt;code&gt;ID&lt;/code&gt; is any of the Zabbix &lt;a href=&#34;https://www.zabbix.com/documentation/4.2/manual/appendix/macros/supported_by_location&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;macros&lt;/a&gt;.
For example, &lt;code&gt;{EVENT.ID}&lt;/code&gt;. The Grafana OnCall script &lt;a href=&#34;#grafana_oncallsh-script&#34;&gt;grafana_oncall.sh&lt;/a&gt; extracts this event and passes the &lt;code&gt;alert_uid&lt;/code&gt; to Grafana OnCall.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;To enable auto-resolve within Grafana Oncall, the &amp;ldquo;Resolved&amp;rdquo; keyword is required in the &lt;strong&gt;Default subject&lt;/strong&gt; field in &lt;strong&gt;Recovered operations&lt;/strong&gt;.&lt;/p&gt;
 &lt;!--![](../_images/zabbix-6.png)--&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;grafana_oncallsh-script&#34;&gt;grafana_oncall.sh script&lt;/h2&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;#!/bin/bash
# This is the modification of original ericos&amp;#39;s shell script.

# Get the url ($1), subject ($2), and message ($3)
url=&amp;#34;$1&amp;#34;
subject=&amp;#34;${2//$&amp;#39;\r\n&amp;#39;/&amp;#39;\n&amp;#39;}&amp;#34;
message=&amp;#34;${3//$&amp;#39;\r\n&amp;#39;/&amp;#39;\n&amp;#39;}&amp;#34;

# Alert state depending on the subject indicating whether it is a trigger going in to problem state or recovering
recoversub=&amp;#39;^RECOVER(Y|ED)?$|^OK$|^Resolved.*&amp;#39;

if [[ &amp;#34;$subject&amp;#34; =~ $recoversub ]]; then
    state=&amp;#39;ok&amp;#39;
else
    state=&amp;#39;alerting&amp;#39;
fi

payload=&amp;#39;{
    &amp;#34;title&amp;#34;: &amp;#34;&amp;#39;${subject}&amp;#39;&amp;#34;,
    &amp;#34;state&amp;#34;: &amp;#34;&amp;#39;${state}&amp;#39;&amp;#34;,
    &amp;#34;message&amp;#34;: &amp;#34;&amp;#39;${message}&amp;#39;&amp;#34;
}&amp;#39;

# Alert group identifier from the subject of action. Grouping will not work without ONCALL_GROUP in the action subject
regex=&amp;#39;ONCALL_GROUP: ([a-zA-Z0-9_\&amp;#34;]*)&amp;#39;
if [[ &amp;#34;$subject&amp;#34; =~ $regex ]]; then
    alert_uid=${BASH_REMATCH[1]}
    payload=&amp;#39;{
        &amp;#34;alert_uid&amp;#34;: &amp;#34;&amp;#39;${alert_uid}&amp;#39;&amp;#34;,
        &amp;#34;title&amp;#34;: &amp;#34;&amp;#39;${subject}&amp;#39;&amp;#34;,
        &amp;#34;state&amp;#34;: &amp;#34;&amp;#39;${state}&amp;#39;&amp;#34;,
        &amp;#34;message&amp;#34;: &amp;#34;&amp;#39;${message}&amp;#39;&amp;#34;
    }&amp;#39;
fi

return=$(curl $url -d &amp;#34;${payload}&amp;#34; -H &amp;#34;Content-Type: application/json&amp;#34; -X POST)&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h2 id=&#34;more-information&#34;&gt;More Information&lt;/h2&gt;
&lt;p&gt;For more information on Zabbix scripts, see &lt;a href=&#34;https://www.zabbix.com/documentation/4.2/manual/config/notifications/media/script&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;scripts for notifications&lt;/a&gt;.&lt;/p&gt;
]]></content><description>&lt;h1 id="connect-zabbix-to-grafana-oncall">Connect Zabbix to Grafana OnCall&lt;/h1>
&lt;p>Zabbix is an open-source monitoring software tool for diverse IT components, including networks, servers, virtual machines, and cloud services. Zabbix provides monitoring for metrics such as network utilization, CPU load, and disk space consumption.&lt;/p></description></item><item><title>Use webhooks to send and receive alerts</title><link>https://grafana.com/docs/oncall/v0.0.39/integrations/webhooks/</link><pubDate>Tue, 11 Mar 2025 08:38:14 -0600</pubDate><guid>https://grafana.com/docs/oncall/v0.0.39/integrations/webhooks/</guid><content><![CDATA[&lt;h1 id=&#34;use-webhooks-to-send-and-receive-alerts&#34;&gt;Use webhooks to send and receive alerts&lt;/h1&gt;
&lt;p&gt;You can use webhooks to send alert group notifications, and also to receive alerts in the event that the data source for for the alerts is not directly supported by Grafana OnCall. You can also use custom templates to format your alerts.&lt;/p&gt;
&lt;p&gt;Follow these links to learn more about using webhooks for OnCall alert notifications:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/oncall/v0.0.39/integrations/webhooks/add-webhook-integration/&#34;&gt;Webhook integration&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/oncall/v0.0.39/integrations/webhooks/create-custom-templates/&#34;&gt;Format alerts with templates&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/oncall/v0.0.39/integrations/webhooks/configure-outgoing-webhooks/&#34;&gt;Send alert notifications by webhook&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
]]></content><description>&lt;h1 id="use-webhooks-to-send-and-receive-alerts">Use webhooks to send and receive alerts&lt;/h1>
&lt;p>You can use webhooks to send alert group notifications, and also to receive alerts in the event that the data source for for the alerts is not directly supported by Grafana OnCall. You can also use custom templates to format your alerts.&lt;/p></description></item></channel></rss>