Blog


jNag Android app now available

Not much more to say really… the current android client is just a straight copy of the web client, so no device notifications as yet.

Search for it on the market!




jNag 0.6 release

After literally days of hard work (well, a few hours maybe) here’s the long awaited 0.6 release of jNag.

This release offers:

  • Fancy image support
  • Full pnp graph support (see all your pnp graphs for your services)
  • More information for services / hosts
  • Proper CORS support (should fix issues with iPad / iPhone)
  • Filters out ‘generic event’ services (this was annoying me!)
  • a setup guide!  (well, sort of, I’m not very good at documentation)

Unfortunately there’s no demo, since it requires a functional livestatus install, and I don’t have one I’m willing to open up to the public… if anyone does have a non-critical nagios install they’d be willing to let me use as a demo server, hit me up via email.

[download id=”4″ format=”1″]




jNag iPhone bug

Just noticed a bug that’s preventing jNag working on iOS (iPhone, iPad).  I’m going to try and fix this today, however I don’t actually have an iOS device to test on so it might be a little hit and miss.  If anyone wants to donate an iPad for testing purposes email me 😀




jNag 0.6 screenshots

A few images just to whet your appetites….




jNag 0.6 sneak peek

Okay, so those are user defined host / service images.  They’re set with a custom variable in your nagios config and served up from the server.  You can also disable them from the client or server end if you don’t want them.

0.6 will also offer more service and host information in the respective detail views and (possibly) more administration commands (re-schedule checks etc).

Look out for an update in the next few days 🙂




jNag 0.5.1 (pre) released

This version offers:

  • Add comments to hosts / services
  • Preliminary PNP support… see 24 hour service status graph in jNag!
  • Updated css to match jQuery mobile source
  • Improved stability

Known issues

  • Buttons in navbar sometimes stop responding
  • refresh button sometimes causes unexpected ‘back’ behaviour
  • general jquery mobile alpha flakiness

[download id=”3″ format=”1″]




jNag 0.5.1 sneak peek

Just a couple of images to whet your appetite for the upcoming release:




jNag 0.5 pre-release

This release marks a major change in the codebase, and is pretty much a complete rewrite. jNag now works on a client / server model with a small plugin that sits on your Nagios install as the server and a pure HTML5 / javascript client talking to that server backend via JSON calls. The client can run on the same server as the um…server, or it can be somewhere else entirely (like running natively on your handset)

From a user perspective this means that things should be slightly quicker, and for future releases native apps connecting to the jNag backend will be a possibility. However, there’s slightly more setup involved.

prerequisites:
Nagios (only tested on 3.2, may work perfectly well on other versions for all I know)
livestatus

You’ll need to extract all the files into your nagios web root, then edit the configuration under jNag/server/config.php to reflect your setup. The configuration should be fairly self explanatory.

Once your server is configured, launch the client by going to /jNag/client in a browser. You should be prompted to enter a data url. This needs to be the url of /server/returndata.php. So, if you’ve installed jNag into ‘http://yourserver.com/nagios/jNag’ you need to set the data_url to ‘http://yourserver.com/nagios/jNag/server/returndata.php’

This is pre-release software! Whilst it works perfectly fine on my setup, I have no doubt it’s riddled with bugs at the moment!

I’m already working on showing pnp graphs in jNag for the next release, and some other goodies as well, this is just a taster of the new architecture and functionality.

[download id=”1″ format=”1″]




jNag 1.4.1 released

Minor ‘point’ release of jNag offering the following features:

  • security enhancements suggested in this comment
  • Faster initial problem polling when first loading the app
  • debug option (run jNag with the debug variable set, ie: http://yourserver/jNag/?debug=true)

[download id=”2″ format=”1″]

And, in other news….

I’m currently working on a completely re-written version of jNag that runs entirely in javascript on the client side, with a small server side plugin based on livestatus providing the data. It’s much faster, and offers the possibility of native apps for all major mobile devices (iPhone, android, blackberry, palmos) based on the phonegap platform. Should be ready for release in the next few days, I’m just having some fun with localStorage at the moment…




jNag 0.4 released

jNag 0.4 is out now!

This release allows you to select the livestatus backend instead of statusjson if you like.

The problem list also now really auto refreshes! (in previous versions the count on the main page auto-refreshed, but once you went into the problems page itself you had to manually refresh)

I’ve also tidied up some code and moved things around to make the whole package a bit more coherent.

Demo here

Download here