Application/nginx

From Observium

Jump to: navigation, search

Description

The nginx application monitor uses a Python script to extend the SNMP server on the host to be monitored. All stats are polled via SNMP and no further ports need to be opened.

Example Graphs

0990.png 5da7d.png


Instructions

This module requires the UNIX Agent to be installed on the monitored host.

You need the stub status module for this. You will also need to allow connections from localhost as to making the snmp-server being able to use the script to provide data over SNMP. It should look something like this:

location /nginx-status {
    stub_status on;
    access_log   off;
    allow 127.0.0.1;
    deny all;
}

Place the nginx script into the agent's local directory (/usr/lib/check_mk_agent/local).

You can check to make sure the statistics are being generated by running the agent manually.

You should now see the "nginx" application on your host on Observium after the next polling cycle.