pgstef / check_pgbackrest

pgBackRest backup check plugin for Nagios
PostgreSQL License
35 stars 14 forks source link

Feature: zabbix integration #31

Closed klepek closed 2 years ago

klepek commented 2 years ago

Hi,

I have prepared pull request with zabbix integration (#30).

If you agree with this, please review and let me know if there is any change required.

Regards, Jan Klepek

goat90 commented 2 years ago

It's a great functionality! I am waiting for implementation.

pgstef commented 2 years ago

Hi,

I'm happy to learn that the tool (using the json output format) is working with Zabbix.

Unfortunately, I don't have any knowledge of that tool and I wasn't able to implement it in the test suite yet. So, currently, I'm not open to support any code I can't test.

I'll have a look at the PR though and see if there's any code impact to accept it.

That being said, if you have any good resource to show how to use zabbix docker containers to monitor PG instances, I'd be willing to give it another try. (The test suite code is based on docker and ansible, can be found in the test directory)

Kind Regards

goat90 commented 2 years ago

This could be helpfull to prepare a test server: https://techexpert.tips/zabbix/zabbix-docker-installation-ubuntu-linux/ Official documentation: https://www.zabbix.com/documentation/current/en/manual/installation/containers

Agent installation: https://www.codesie.ch/en/wiki/ansible/install-zabbix-agent

Best Regards