Skip to content

Monitor Cloudflare Spectrum Status With Zabbix

Notifications You must be signed in to change notification settings

iamkcyao/mcfsswz

Repository files navigation

Monitor Cloudflare Spectrum Status With Zabbix

Step:

  1. Confirm your Zabbix config was enable below setting not comment
Include=/etc/zabbix/zabbix_agentd.d/*.conf
  1. 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
  1. 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
  1. Try to get Spectrum Status from zabbix server
zabbix_get -s ZabbixServer -k spectrum.stats[appID,[appID]]

  1. Import template use monitor_cloudflare_templates.xml

  2. Create host from Zabbix Web or import host with ImportHost.xml when you use web to add host , you need select template and setting a Macro and spectrum appID value.

  3. Get status success!

About

Monitor Cloudflare Spectrum Status With Zabbix

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages