check_nagios_summary iconcheck_nagios_summary 0.0.26

check_nagios_summary is a distributed Nagios monitoring enabler.
check_nagios_summary is a distributed Nagios monitoring enabler. check_nagios_summary enables you to do perform distributed monitoring using Nagios. With this plugin, a Nagios system can check and summarize the status of other (satelite) Nagios systems.

Why?

Nagios includes NSCA which enables you to distribute check-results of satelite Nagios processes to the main Nagios instance. The con of this is that it requires you to have all services defined on the satelite host to be defined on the main host as well. This is an administration nightmare.

Requirements:

Nagios

On the Nagios server you want to monitor, you need to do the following:

- add the following to /etc/services:
nagstat 33333/tcp # Nagios Status

- add the following to /etc/inetd.conf:
nagstat stream tcp nowait root /usr/sbin/tcpd /usr/local/bin/nagios-status

- create the following script /usr/local/bin/nagios-status:
#!/bin/sh

/bin/cat /var/cache/nagios2/status.dat
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The nagios status-file. This is the file pointed to by
'status_file' in your nagios.cfg file.

- copy the check_nagios_summary binary somewhere in your filesystem,
e.g. /usr/bin (used in this example)

- add to your Nagios checkcommands.cfg:
define command {
command_name check_nagios_summary
command_line /usr/bin/check_nagios_summary -F $ARG1$ $ARG2$
}

- in the Nagios services.cfg file:
define service{
use generic-service
host_name host
service_description Nagios at host
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 2
retry_check_interval 1
contact_groups unix-admins
notification_interval 240
notification_period 24x7
notification_options w,u,c,r
check_command check_nagios_summary!host:port!-X
}

please replace 'host' to the ip address of the satellite nagios
system, also replace 'port' with 33333 (see above) or the port number you
chose
use -x if the satelite system runs Nagios 1.0
use -X if the satelite system runs Nagios 2.0

What's New in This Release:

This release adds Nagios 3.0 support and has some stability fixes.

last updated on:
December 16th, 2007, 13:53 GMT
price:
FREE!
developed by:
Folkert van Heusden
license type:
GPL (GNU General Public License) 
category:
ROOT \ System \ Monitoring

FREE!

In a hurry? Add it to your Download Basket!

user rating 15

UNRATED
3.3/5
 

0/5

Add your review!

SUBMIT