Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Enable stub status module
  2. Add a new servrver server block configuration inside /etc/nginx/sites-enabled/default
  3. restart nginx service
  4. Now the Url 127.0.0.1:8081/nginx_status should be available
  5. Configure nginx_status
    1. manually
    2. via Bakery
Code Block
linenumberstrue
MK_CONFDIR=/etc/check_mk /usr/lib/check_mk_agent/plugins/nginx_status 

<<<nginx_status>>>
127.0.0.1 8081 Active connections: 1 
127.0.0.1 8081 server accepts handled requests
127.0.0.1 8081  380 380 380 
127.0.0.1 8081 Reading: 0 Writing: 1 Waiting: 0 

...