AlertScriptsPath=/usr/local/zabbix/bin
http://www.w3school.com.cn/php/func_filesystem_file_put_contents.asp
PHP file_put_contents();
384M-Memory牛逼哄哄的哈!
还行挺给力!
- #monitor nginx
- UserParameter=nginx.accepts,/etc/zabbix/scripts/nginx_status accepts
- UserParameter=nginx.handled,/etc/zabbix/scripts/nginx_status handled
- UserParameter=nginx.requests,/etc/zabbix/scripts/nginx_status requests
- UserParameter=nginx.connections.active,/etc/zabbix/scripts/nginx_status active
- UserParameter=nginx.connections.reading,/etc/zabbix/scripts/nginx_status reading
- UserParameter=nginx.connections.writing,/etc/zabbix/scripts/nginx_status writing
- UserParameter=nginx.connections.waiting,/etc/zabbix/scripts/nginx_status waiting