Nagios Discovery Tool (NDT) – Version 1.01

by Andy Grogan on March 24, 2012

in Infrastructure Monitoring

Information

The Nagios Discovery tool is designed to make the process of discovering devices on your network and then configuring them for active monitoring with Nagios Core simpler. The Tool provides a GUI interface to scan for hosts and configure the relevant monitoring facets (services) that are associated with them.

The tool comes supplied with a number of XML files which define some common service elements to monitor (for example Basic Windows Services) – this is called the Nagios Discovery Tool XML Service Framework.

I have also supplied a number of XML files which allow for the configuration of the Scripts that I have supplied as part of my on-going series of Monitoring Exchange Server with Nagios Core (the series started here) and the scripts are located for download here.

The service monitoring capabilities of the Nagios Discovery tool are designed to be extended via this XML framework which removes the need for the actual executable file to be replaced and allows for users of the tool to customise the monitoring functionality that it provides (e.g. if you develop your own custom NRPE scripts).

NagDiscScreenExample

Firewalls

The Nagios Discovery Tool needs to be able to connect to your local network and use ICMP to both resolve and confirm that hosts are online.
Given the above, if you are running a local Firewall you will need to configure an exception for the tool, otherwise it will not work properly.

It is important to note that you should not disable your local Firewall as this will leave your system unprotected.

Conversely if hosts which are to be monitored are running a local Firewall then there is a chance that the tool will not find them, therefore Firewall exceptions may need to be implemented to allow for the discovery process to succeed.

Scanning Network Ranges

This tool has the ability to scan network ranges. Whilst all it does is look for hosts, resolve their name and try to ping them, you should ensure that by using the NDT you are complying with your organisations acceptable use policies and are authorised to perform range scans. Furthermore, do not use the tool to scan hosts on the Internet.

System Requirements

  • Windows Vista (x32 & x64), Windows 7 (x32 & x64), Windows Server 2003 (all editions + x32 & x64), Windows Server 2008 (all editions + x32 & x64), Windows Server 2008 R2
  • .NET Framework version 4.0
  • Nagios Core – version 3.3.1 (this is the version that the tool has been tested against – but it is likely to work with future releases of Nagios Core).

Download

setupIcon[ Nagios Discovery Tool for Windows – Version 1.0 – 570KB ]

Installation

A video tutorial is available below:

Installing the Nagios Discovery Tool

Usage

A video tutorial is available below:

Basic use of the Nagios Discovery Tool

Nagios Discovery Tool XML Service Framework (NDT-X)

The Nagios Discovery Tool XML Services Framework is designed to allow for both customisation and servicing of the NDT.
Supplied with the tool are a number of XML files which allow for you as the user and me as the author to add to the service check command set for each host within your Nagios installation.

For example; if you have been following my series of how to create custom Powershell scripts for use with Nagios for monitoring Exchange server as an example, you can add in your service check commands into the supplied XML files – and have them available for new hosts as you bring them onto the network.

Below I have supplied an overview of the Framework (full documentation is still being complied) for reference, and perhaps to get some of you started with customisation.

[ NDT-X Framework Overview – 350KB ]

Credits

The Nagios Discovery Tool uses modified portions of code by Sharpoverride – I thank him for his efforts in developing a very basic IP range scanner.

Social

Previous post:

Next post: