Nagios check for nginx with separate metrics

Nikolaos Milas nmilas at
Wed Nov 13 15:10:25 UTC 2013

On 27/10/2013 9:09 μμ, Nikolaos Milas wrote:

> I am trying to run a Nagios check for nginx (in Opsview Core) but I 
> have a problem: All of the available (to my knowledge) nginx Nagios 
> checks 
> ( 
> produce comprehensive output which includes all "metrics" together, 
> while I would want one that can output a selected metric at a time, by 
> using a parameter, like "-m <metric>," in the following example:
> ./ -H localhost -P 80 -p /var/run -n -s 
> nginx_status -o /tmp -m current_requests
> - or -
> ./ -H localhost -P 80 -p /var/run -n -s 
> nginx_status -o /tmp -m requests_per_second
> - or -
> ./ -H localhost -P 80 -p /var/run -n -s 
> nginx_status -o /tmp -m accesses
> etc.
> Does anyone know whether such an nginx Nagios check exists (and where) 
> or we would have to modify source code of one of these plugins to 
> achieve the required behavior? (Frankly, I would be surprised if such 
> a check does not exist yet, but I couldn't find one on the Net, 
> despite my searches.)
> Output with a single metric at a time is important for use in 
> server/network monitoring systems.

Anyone? No NGINX Nagios users around?


More information about the nginx mailing list