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