Monitoring Remote Iguana Instances

A very common problem for any vendor of significant size is how to monitor a large number of Iguana instances that are located behind firewalls at customer sites. For this reason we put together this example in the Iguana App repository of how to do it. How it works is really simple:

  1. On each monitored instance of Iguana you install a Agent Monitor channel as a From Translator channel.
  2. Every few minutes this wakes up, queries the status of the local instance of Iguana using the monitor API (see the code).
  3. It then uses HTTP to post that data back to a central instance of Iguana.
  4. The central instance of Iguana listens for incoming HTTP requests from the agents and logs that data into a simple SQLite database.
  5. The same central instance also is used to serve up an HTML dashboard which shows the status of the Iguana instances.

Here’s a screenshot of what the dashboard looks like:

Screen Shot 2014-05-01 at 4.22.12 PM

Only one row is showing in this case.  If you click on that row you’ll see this type of information:

Screen Shot 2014-05-01 at 4.41.49 PM

This view shows all the low level health statistics of the particular Iguana instance. Now the really exciting thing is not the pretty dashboard of course but what you can do with it. Think about the possibilities:

  1. The agents are all simple and dumb.
  2. All the data is easy to get to in a central location, and thanks to Iguana translator – dead easy to manipulate.
  3. So that makes it simple to run automated checks on the data so that you can power automated alerts which instead of bombarding you with incomprehensible email notification spam can instead point to this dashboard.
  4. You can customize what is displayed in the dashboard to your heart’s delight.

So want to play with it?  It’s easy.  If you are using Iguana 5.6.20 then go get the Channel Manager as described in getting started.  Iguana 6 makes this an easier process since you can go just import the channels from this Github repo.

Once you have that installed the two channels to get are:

  • Monitor – 1. Agent – this is an example channel that posts status home.
  • Monitor – 2. Dashboard – which shows the dashboard that you see here.

Leave A Comment?

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.