Zabbix plugins and serverside crons (FreeBSD specific and tested)
These scripts are here mainly for my personal use. They monitor FreeBSD server functions and prepare data for Zabbix templates.
- _config.sh - local server configuration (distributed in conf directory as a sample)
- _cron.sh - this script is called as a cron job and it call all other scripts
- _database.sh - (used by other scripts as library) - default definitions
- _get_data.sh - (called by zabbix_agent) - sends data to Zabbix Server/Proxy
- _setup.sh - this script is used for easy setup and first clone of this repo
- _update.sh - (called by _cron.sh) - do the automatic sync from this Github repo
Scripts (called by _cron.sh)
Server side scripts for asynchronous gathering of data. See scripts/README.md
Zabbix templates and configuration plugin. See templates/README.md
To download and install use bash -c "$(curl -fsSL https://raw.githubusercontent.com/remetremet/RMT_zabbix/master/_setup.sh)"
Almost all the scripts needs to be run as a root.
git
- 😉bash
fping
- (for rping.sh function)smartmontools
- (for smart.sh function)curl
- (for network_discovery.sh and mfi_get.sh function)py-speedtest-cli
- (for speedtest.sh function)speedtest
- Official Ookla's client (for speedtest.sh function)- RMT_ipfw - (for ipfw_traffic.sh and network_discovery.sh function)
Use it if like it.