linux系统下zabbix监控php-fpm要怎么配置?

include fastcgi_params;

}

}

}

编译zabbix——agent配置文件

[root@cat ~]# vim /etc/zabbix/zabbix_agentd.d/php_status.conf

UserParameter=php-fpm.status[*],/usr/bin/curl -s "https://127.0.0.1/php_statusxml" | grep "" | awk -F'>|

重启服务

[root@cat ~]# systemctl restart php-fpm.service

[root@cat ~]# systemctl restart nginx.service

[root@cat ~]# systemctl restart zabbix-agent.service

导入模板


分享到:


相關文章: