Number of Zabbix scripts and templates for custom monitoring
- Python >=2.6
- Check service-specific requirements in scripts itself
Please follow the steps below to integrate it with your Zabbix:
- Import templates into Zabbix
- Copy scripts into monitored servers (usually at /etc/zabbix/users-scripts)
- Update zabbix-agent config. Add User Parameters:
UserParameter=zookeeper[*],/etc/zabbix/user_scripts/check_zookeeper.py -s localhost:2181 -o zabbix -k "$1"
UserParameter=nginx[*],/etc/zabbix/user_scripts/check_nginx.sh "$1" "$2"
UserParameter=mongo[*],/etc/zabbix/user_scripts/check_mongo.py -n locahost -p "$1"
- Restart zabbix agent.