Skip to main content

Zabbix Plugin

A native Zabbix template that integrates with the Generator Labs API using built-in HTTP Agent items. No external scripts are required — Zabbix makes the API requests directly.

Source: https://github.com/generator-labs/zabbix-plugin

Supported Products

  • RBL Monitoring — monitors IP/domain blacklist status
  • Certificate Monitoring — monitors SSL/TLS certificate errors

Return Values

ValueMeaning
0No issues detected
> 0Issues detected (count of listings or errors)
-1Error (e.g. invalid API token)

Requirements

  • Zabbix Server 7.0 or later
  • HTTPS connectivity from the Zabbix Server to api.generatorlabs.com

Installation

1. Import the Template

Import the generator_zabbix.yaml file into your Zabbix instance via Configuration > Templates > Import.

Edit an existing Host (or create a new one) and link the Generator Labs template from the Templates tab.

3. Configure Credentials

From the Macros tab on the host, set the following values:

MacroValue
{$GENERATOR_ACCOUNT_SID}Your Generator Labs Account SID
{$GENERATOR_API_TOKEN}Your Generator Labs Auth Token

Both values are available from the Generator Labs Portal.

tip

The API token macro is configured as a secret type, so the value is masked in the Zabbix UI.

What's Included

The template provides:

  • Items — HTTP Agent checks for both RBL listings and certificate errors, running every 5 minutes
  • Triggers — Alerts for detected listings, certificate errors, and API error states
  • Graphs — Visualizations of RBL and certificate check results over time