- Requirements:
- Zabbix Server 3.0.5 (It's my version,maybe support other version)
- jq tools on linux server ( https://stedolan.github.io/jq/ )
- Confirm your Zabbix config was enable below setting not comment
Include=/etc/zabbix/zabbix_agentd.d/*.conf
- Create spectrum-stats-params.conf file in below path or you want , change mode permission to 644 .
vi /etc/zabbix/zabbix_agentd.d/spectrum-stats-params.conf
chmod 644 /etc/zabbix/zabbix_agentd.d/spectrum-stats-params.conf
- Create spectrum_stats.sh file in below path or you want , and change mode to 755.
vi /usr/local/zabbix-agent/scripts/spectrum_stats.sh
chmod 755 /usr/local/zabbix-agent/scripts/spectrum_stats.sh
- Try to get Spectrum Status from zabbix server
zabbix_get -s ZabbixServer -k spectrum.stats[appID,[appID]]