This script is used along with a basic autodiscovery (see the zbx_template.xml
and the pingdom_ldd.json
) to have Pingdom data available within Zabbix and to have Zabbix triggers based on that data.
The zbx_pingdom_discovery.sh
script:
- fetches the Pingdom data through the API, filtered by a tag which relates to the specific Zabbix Proxy
- transforms the Pingdom data with
jq
so that it fits thezabbix_sender
data format - pushes the information about available checks to the Zabbix proxy with
zabbix_sender
The zbx_pingdom.sh
script:
- fetches the Pingdom data through the API, filtered by a tag which relates to the specific Zabbix Proxy
- transforms the Pingdom data with
jq
so that it fits thezabbix_sender
data format - pushes the measurements to the Zabbix proxy with
zabbix_sender
- Pingdom checks have to have a clean naming "<host> <check>" (e.g.
www0.example.org homepage
) within Pingdom - Pingdom check have to have a tag which allows filtering when fething the data
- Zabbix LLD needs to be in place (imported template)
curl
andjq
have to be installed on the system- A cronjob should run the scripts on a regular basis
Not working as is with Zabbix 3.0.