Mumblings of a Crazy IT Guy

Nagios: Using V-Shell with Vautour

While playing around with Nagios, it suddenly dawned on me: the CGI-based interface can be maddening sometimes.

To remedy this, I set myself on the task of finding an alternate GUI to Nagios that was easy to set up, and easy to configure. My sights finally fell upon V-Shell, a PHP frontend to Nagios.

The setup was a breeze. However, since I made heavy use of the Vautour style in my previous config, V-Shell's, shall we say, different interface was a shock. 

So I tried to integrate Vautour and V-Shell into one nice little harmonious package.

It's not yet finished, but it's getting there. 

Try it out and see what you think.

Setup

Install the Nagios V-Shell frontend to Nagios, according to the instructons.

Once that is done, to get the same look and feel as the Vautour style, you need to change a couple of files.

Replace vshell/css/style.css with this file.

In vshell/js/header.inc.js, change the line that reads:

$(divID).slideToggle("fast");

To:

$(divID).slideToggle(400, 'easeInQuad');

In the vshell/views folder, replace the following files...

  • display_functions.php
  • header.php
  • tac.php

... with the ones found in this zip file.

On line 58 of vshell/views/footer.php, add:

<div style="clear:both"></div>

And finally, extract this file inside the vshell/js folder.

Voilà

You should now have a custom, Vautour-ized, V-Shell-powered Nagios installation, ready to monitor anything you want.

It should now be accessible at http://nagiosserver/vshell, or http://nagiosserver/nagios/vshell, depending on how you set up apache.

Edit: Screenshots are available here, and here.

Drop me a line if you have comments or suggestions!

Next up: a guide on integrating Nagios in a Windows Server 2003 Active Directory environment, complete with Single Sign-On (SSO) and Integrated Windows Authentification (IWA)!

<< Go back to the previous page

 
blog comments powered by Disqus