Tools for Zabbix routines
- Zabbix*.py - Common scripts - generator, parsing.
- ZabbixAlert*.py - script for alerting (alertscripts)
- ZabbixServer*.py - server-side Zabbix item (externalscripts)
- ZabbixAgent*.py - script for zabbix-agent side (UserParameters)
- ZabbixAPI*.py - for work with Zabbix API
- profiles - templates for Zabbix
- config - for config item and trigger in zabbix-agent
- Installed Python 3.4 on Zabbix-server and Zabbix-agent
- On zabbix-agent pip modules: requirements-agent.txt
- On zabbix-server pip modules: requirements-server.txt
- Change ZABBIX_SERVER in ZabbixCommon.py to your zabbix-server address
- Copy to /usr/lib/zabbix/zabbixtools
- Change path in /etc/zabbix/zabbix_server.conf:
- ExternalScripts=/usr/lib/zabbix/zabbixtools
- AlertScriptsPath=/usr/lib/zabbix/zabbixtools
- Copy this directory to C:\ZBX\zabbixtools
- Add Include=C:\ZBX\zabbixtools\zabbix_agentdWIN.conf to zabbix configuration file
- Restart Zabbix-Agent service
- Copy this directory to /srv/ZBX/zabbixtools
- Add Include=/srv/ZBX/zabbixtools/zabbix_agentdNIX.conf to zabbix configuration file
- Restart Zabbix-Agent service
- zabbixtools.discovery[*] - Get Discovery Rules-json from YAML-file in ./config folder.
- CheckSwap - check that swap is disabled in server
- CheckDiskExistAndWrite[*] - Check disk exist and writable [Usable with Discovery Rules]
- GetFolderSize[*] - Get folder size [Usable with Discovery Rules]
- zabbixtools.discovery[*] - Get Discovery Rules-json from YAML-file in ./config folder.