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

導入模板


分享到:


相關文章: