Percona Nginx Monitoring Template for Cacti
nginx conf
1 2 3 4 5 |
location /server-status { stub_status on; allow 127.0.0.1 # deny all; } |
Testing and Setup
1 |
sudo -u cacti php /usr/share/cacti/scripts/ss_get_by_ssh.php --type nginx --host 127.0.0.1 --items hw,hx |