Tag Archive for 'Nagios UI'

Exploring the New JSON CGIs in Nagios Core 4.0.7! (Part 1)

The JSON CGIs, from the JSON branch of core, have been officially released with Nagios Core 4.0.7!

The original design goals were:

  1. To provide all information available in current CGIs in JSON format.
  2. Place the presentation responsibility on the client to minimize network traffic and server load.
  3. Perform operations on the server side that are significantly more easily done there.
  4. Spark community developers to create new Nagios Core UI’s from the easy to work with JSON from the CGIs.

The CGIs provide an API to query object, status, and historical information through GET requests.  They use the same authentication as other CGIs.  Once queried, they return valid JSON that can be parsed into JavaScript objects for client side models and processing.  The API is very robust, providing multiple ways to limit queries – name/descriptions, host/service groups,  update/changes times, among many others.

The three new CGIs are:

  1. objectjson.cgi  (object configuration)
  2. statusjson.cgi  (status information)
  3. archivejson.cgi  (historical logs)

Additionally, a new web app is included – jsonquery.html & jsonquery.js.  This is a small UI for crafting GET requests, it can be used to trial specific parameters for GET requests, or to just explore the api.  It is also the easiest way to get acquainted with the new CGIs.

Continue reading ‘Exploring the New JSON CGIs in Nagios Core 4.0.7! (Part 1)’

Nagios V-Shell 1.8 Release

Over the past few years, there’s been a strong outpouring of requests for an updated interface for Nagios.  We released Nagios V-Shell just about a year ago now, and we’re happy to see that it currently stands as the most popular item on the Nagios Exchange, with over 100,000 views!  I don’t usually post to labs every time I make an update to V-Shell, but I thought this time around would be worth mentioning.  I’ve spent the last few weeks doing a major overhaul of the permissions in order to mirror the same permissions scheme that people are used to in Nagios Core.  Initially V-Shell has limited user-level control in regards to permissions, but as of v1.8 I’m pleased to say I’ve finally got that major TODO crossed off my list.  V-Shell now supports user-level access, as well as read-only access to match the permissions scheme of Nagios Core.  Feel free to check out V-Shell 1.8 on the Nagios Exchange.