One-Zabbix installation deployment
Configuration of the second surveillance Apache service
First download the template in this machine: https://github.com/rdvn/zabbix-templates/archive/m aster.zip the ZIP package has Apache, Memcache, Redis, varnish templates, We extracted the Apache template after using it.
Unzip Master.zip
CD zabbix-templates-master/
CD apache/
Ls
apache_status.sh Apache.xml README
apache_status.sh This file is a script file required for Apache agent monitoring
Apache.xml files are templates required by Zabbix
CP apache_status.sh/usr/local/zabbix/sbin/
Vim/usr/local/zabbix/etc/zabbix_agentd.conf
Join userparameter=apache[*],/usr/local/zabbix/sbin/apache_status.sh $
chmod +x/usr/local/zabbix/sbin/apache_status.sh//For scripts and Execute permissions
Pass Apache.xml files to host Windows
Open Zabbix
Point configuration, Templates, import, select files, select the Server.xml file that you just uploaded to Windows, point to import
Displays a successful import.
Now add the template we imported for server.zabbix.com
Point configuration, Host, server.zabbix.com, template, select, click on the top of the template we imported, select, point Add, update
After the host has shown that the template has been updated, we have imported templates.
Three viewing effects
Point detection, graphics, selection of groups, hosts, graphics: Choose different graphics, out of different effects.
Zabbix monitoring Apache configuration succeeded.
Zabbix 3.4.11 Monitoring the configuration of Apache services