@运维,只需要把下载的nginx_status.pyconf文件最前面这段修改一下就行:
modules {
module {
name = 'nginx_status'
language = 'python'
param status_url {
value = '
http://127.0.0.1:12345/nginx_status'
}
param nginx_bin {
value = '/usr/local/nginx/sbin/nginx'
}
param refresh_rate {
value = '15'
}
}
}