KB Logo

TOLIS Group Knowledge Base

Browse KB by category:
Go to KB #:
Email   Bookmark

BRU Server Nagios Plugin

Views: 13230
Votes: 3
Posted: 16 Jun, 2011

Installing the BRU Server Nagios® Plugin

The Nagios website defines Nagios as:

"Nagios is a powerful IT management system that enables organizations to identify and resolve IT infrastructure problems before they affect critical business processes."

The BRU Server Nagios plugin allows for BRU Server users who utilize Nagios to have the ability to monitor BRU Server Agent and BRU Server Server daemon processes when a given host is provided.

Download the Plugin

First, download the plugin to the server running Nagios. This plugin does not get installed on any client system since the plugin was also designed to be able to monitor a bruAPP Backup Appliance (which no third party applications may be installed) and therefore does not need to be installed on any BRU Server Agent machine to monitor the on/off status of the BRU Server Agent/Server daemonds.

Download Plugin


The installation of this plugin is faily straight forward since it's about the same as with any other Nagios plugin.

  1. Copy the 'check_bruserver' file into your Nagios plugin directory. Some installations have this at /usr/lib/nagios/plugins and other installations use the default /usr/local/nagios/plugins.
  2. Add the command definition, shown below, to the commands.cfg file.
  3. Add the service definitions for the Agent systems. A sample service definition is shown below in the "Example Service Definitions" section.
  4. Add the service definition for the Server system. A sample service definition is shown below in the "Example Command Definitions" section.
  5. Check with Nagios to verify that the changes made are all valid. You can do this by running the following command:

    nagios -v <config_file>

    Some installations have the config file located at /etc/nagios/nagios.cfg and others have it at the default /usr/local/nagios/etc/nagios.cfg. Use the appropriate path for your Nagios installation.
    If there are no errors, proceed to the next step. Otherwise, you'll need to correct any errors reported before restarting Nagios.
  6. For Nagios installations that do not use xinitd, you'll need to manually restart the Nagios process for the changes to take affect.

Example Service Definitions

Here are two sample service definitions for Nagios:

# Define a service for the BRU Server Agent
define service {
use generic-service
host_name client1,client2,client3
service_description BRU Server Agent Daemon
check_command check_bruserver! agent

# Define a service for the BRU Server Server
define service {
use generic-service
host_name serversys
service_description BRU Server Server Daemon
check_command check_bruserver! server

Change the above fields as needed for your Nagios configuration.

Example Command Definitions

Here is the command definitions applied in the commands.cfg file.

# 'check_bruserver' command definition
define command {
command_name check_bruserver
command_line $USER1$/check_bruserver $HOSTADDRESS$ $ARG1$

There really isn't much that needs to be changed above since doing so will require that you change the name of the 'check_bruserver' file and other system wide changes.

Updated July 5, 2011

Version 1.0.1:

  • Fixed a bug that prevented the status from changing to 'critical' if a port was found to be closed.
  • Added the plugin version to the 'Status Information' field.

Nagios, the Nagios logo, and Nagios graphics are the servicemarks, trademarks, or registered trademarks owned by Nagios Enterprises.

Note: While Nagios is an open-source application, BRU, BRU Server, and the components of BRU Server are not open-source applications, public-domain, or shareware. A license for BRU Server can be obtained by contacting TOLIS Group, Inc.

Others in this Category
document Import Multi-tape archive sets without slow scanning each tape
document How to Uninstall BRU Server 2.0 to Start Fresh
document Using the BRU Server 2.0 32-bit Graphical Interface on 64-bit Linux
document BRU Server 2.0 Upgrade Information
document What are the firewall settings to allow BRU Server to communicate through a firewall?
» More Articles

Powered by KnowledgebasePublisher
Page Load Time: 0.033369 seconds / 33.369 milliseconds.
Page File Size: 26375 bytes.