Author: incama

Currently working as a Senior Technical Infrastructure admin at a large hospital, former owner of a single person web design company, in love with my wife, trying to cook out of my league, Bitcoin enthusiast, Open Source Don Quichot, human Cat slave.

23 March 2024 / / Zabbix
5 December 2023 / / Running
14 March 2023 / / All Sorts Of
4 February 2023 / / Zabbix
19 November 2021 / / Zabbix

As some howto’s and wiki’s disappear from the internet, and I don’t want to use the “way back machine”, here are the sql scripts which I have used to partition the Zabbix History and Trends tables. I have tested these within Mysql v5.7 and v8.0.

13 September 2021 / / Ansible

Merging Ansible with Zabbix under Debian 10.

I recenty rediscovered Ansible and wondered if I could use Ansible to create trigger actions and scripts to maintain my home lab. It turns out you can with some adjustments to the Zabbix server.

As an example I use Zabbix to monitor the available updates on my Debian vm’s. When updates are detected, I fire up my dedicated Ansible vm and run my update playbook, which works fine. The only downside is that I must boot the dedicated Ansible server and run the playbooks against the “to be updated” hosts. This is a bit time consumming and wondered if I could update the vm using Zabbix.

What if I could run the playbooks directly from within the Zabbix instance? Mmmm!

I went on the net looking for examples of such howto’s, but wasn’t able to find any. Guess I had to make my own then.