Skip to content

Instantly share code, notes, and snippets.

@akhdaniel
Created January 17, 2019 22:29
Show Gist options
  • Save akhdaniel/244e1681f25541f700392e7f44214edd to your computer and use it in GitHub Desktop.
Save akhdaniel/244e1681f25541f700392e7f44214edd to your computer and use it in GitHub Desktop.
Nginx Monitoring Plugin
sudo apt-get install libwww-perl
Edit nginx.conf, bagian http
Test curl http://localhost/nginx_status
server {
listen 127.0.0.1;
server_name localhost;
location /nginx_status {
stub_status on;
access_log off;
allow 127.0.0.1;
deny all;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment