Monitoring NGINX Plus Status Page with Nagios
May 25, 2015 04:29PM
Hello All,

I was wondering if anyone has done any monitoring of Nginx Plus with Nagios, in order to keep historic data? We use Nagios with the nagiosgraph addon which keeps an RRD file with the performance data returned on checks and makes a graph of the data.

Thought I would check to see if anyone has done this in the past before attempting to make something myself. All the nagios checks that I have found only work with the http_stub_status_module which isn't the status page that the PLUS provides.

Thanks!
Re: Monitoring NGINX Plus Status Page with Nagios
May 25, 2015 04:34PM
This addon https://github.com/vozlt/nginx-module-vts is usable for such tasks where you can store the results anywhere.

---
nginx for Windows http://nginx-win.ecsds.eu/
Re: Monitoring NGINX Plus Status Page with Nagios
May 25, 2015 04:52PM
That's not exactly what I am looking for, as we already have a status page and a json status page built in with Nginx Plus, and cannot compile in any other. Just looking for a good way to parse the data available into nagios.

Thanks!
Re: Monitoring NGINX Plus Status Page with Nagios
May 25, 2015 05:25PM
If you got a json output then it should be easy to stuff this into something like a database for nagios to read, or use perl as a html client to parse this for nagios.

Or go the Lua way, read json internally and have it read via a co-socket by nagios.

---
nginx for Windows http://nginx-win.ecsds.eu/
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 146
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready