support@parny.io
Zabbix
Parny | Zabbix Integration Guide
Parny supports direct integration with Zabbix alerts. Zabbix is a network and system monitoring tool that can create alarms to detect and prevent potential problems. This documentation explains how to redirect alarms created in Zabbix to a webhook using Parny.
Parny Settings
Go to the Parny interface.
Navigate to the "Services" section of your organization.
Click on the "New Services" option in the upper right corner.
Enter the relevant service name.
Service Name Usage: The service name here is independent of the structure and can be chosen according to the preferences of the organization.
Select Zabbix from the list of integrations.
Click "Add".
After the service is created, the following screen will appear.

You can now click on the token section of your service and copy your Zabbix Webhook URL.
Zabbix Configuration
Add Webhook Media Type:
Navigate to Alerts → Media types or Administration → Media types on the left sidebar according to your Zabbix version.
Click on Create media type.
Configure the following:
Name:
Parny
(or any other name you prefer)Type:
Webhook
Parameters:
Enter the parameters list provided below.
Script:
Enter the JavaScript code provided below, ensuring it matches the requirements for Zabbix version 6.2 and later.
Save the changes.

Parameters List:
alert_message
:{ALERT.MESSAGE}
eventack
:{EVENT.ACK.STATUS}
eventdate
:{EVENT.DATE}
eventname
:{ALERT.SUBJECT}
eventupdate
:{EVENT.UPDATE.STATUS}
eventvalue
:{EVENT.VALUE}
event_source
:{EVENT.SOURCE}
hostip
:{HOST.IP}
hostname
:{HOST.NAME}
parnyUrl
:https://zabbix.parny.io/alert/<your-parny-service-token-here>
severity
:{EVENT.NSEVERITY}
triggerdesc
:{TRIGGER.DESCRIPTION}
triggerid
:{TRIGGER.ID}
url
:{$ZABBIX.URL}
JavaScript Code for Zabbix version 6.2 and later:
JavaScript Code for Zabbix version earlier than 6.2:
Redirecting Alarms:
Create Action:
Navigate to Alerts → Actions or Administration → Actions according to your Zabbix version.
Click on Create action.
Enter a name in the "Action" field and select the "Enabled" option.
Conditions:
In the "Conditions" tab, specify the conditions under which the alarms will be triggered.
For example, if you want to receive an alert when a server goes offline, select the relevant server group by choosing the "Host group" option.
Operations:
Choose the "Webhook" option. Select the "Send message to users" option and choose the "Webhook" option.
Redirect the webhook to the Parny media type you previously created and make the necessary settings. Click the "Save" button to save the operation.
Problem Recovery (Auto Resolve Alerts)
In the "Media Type" → "Message Templates" section, referring to the image below,ensure that the "Problem" and "Problem recovery" templates are the same. With this setting, the problem will be resolved on Parny automatically when the problem is resolved on Zabbix.

With these settings, your Zabbix alarms will be integrated into Parny, allowing you to manage them alongside your other alerts within your organization's Parny portal.
For any further questions, please contact us at: support@parny.io
Check out these other integrations
Seamlessly use your preferred tools for unified work, start to finish.