• LINUX / Netzwerke > Nagios Plugins

Nagios Plugins

Plugin for checking the shorewall state » Download
Plugin Name Release
check_shorewall 07.01.2009
Nagios Version Autor
x.2 & x.3 Wolfgang Hotwagner
Beschreibung
Copy plugin into /usr/lib/nagios/plugins/
and add an entry into /etc/sudoers:
nagios ALL=NOPASSWD:/usr/lib/nagios/plugins/check_shorewall

use a command like this:

 define command{ 
command_name check_shorewall
command_line sudo $USER1$/check_shorewall
}
rbl-check » Download
Plugin Name Release
22.01.2009
Nagios Version Autor
x.2 & x.3 Wolfgang Hotwagner
Beschreibung
This tool checks some Blacklists. It is written in perl and needs the modules Net::RBLClient and Socket.


Copy plugin into /usr/lib/nagios/plugins/
and use a command like this:

define command{
        command_name    rbl-check
        command_line    $USER1$/rbl-check.pl $HOSTADDRESS$
}
check_apc_temp.pl » Download
Plugin Name Release
22.01.2009
Nagios Version Autor
x.2 & x.3 Wolfgang Hotwagner
Beschreibung
nagios-plugin for checking the temperature sensor of a apc-ups

Requirements:
  • snmpwalk
  • APC-UPS MiB(from APC-Website)
Copy the MiB-File and the Plugin into /usr/lib/nagios/plugins and use a command like this:
define command{
        command_name    check_apc_temp
        command_line    $USER1$/check_apc_temp.pl -W -H $HOSTADDRESS$
}
You could configure the "warning" and "critical"-values using the APC-Webmanagementconsole.

For more information use the option -h
check_readynas_hd.pl » Download
Plugin Name Release
22.01.2009
Nagios Version Autor
x.2 & x.3 Wolfgang Hotwagner
Beschreibung
nagios-plugin for checking the harddisks of readynas storage

Requirements:
  • snmpwalk
  • MiB-file from the Netgear-Website

Copy the MiB-file and plugin into /usr/lib/nagios/plugins and use a command like this:
define command{
        command_name    check_readynas_disk
        command_line    /usr/lib/nagios/plugins/check_readynas_hd.pl -H $HOSTADDRESS$
}


For mor information use the -h option
How to check a Marathon-Server via nagios » Download
Plugin Name Release
22.01.2009
Nagios Version Autor
x.1 x.2 x.3 Wolfgang Hotwagner
Beschreibung
This PDF describes how to check everun Marathon-Server(http://www.marathontechnologies.com/) via SNMP.

Language: German
check_http_speed » Download
Plugin Name Release
07.04.2009
Nagios Version Autor
All Nagios-Versions Wolfgang Hotwagner
Beschreibung
lwp-download-speed is a nagios-plugin based on the perl-download-program "lwp-download". This plugin is useful to measure the speed of a http-download.

Requirements: perl, lwp

Command-Definition:
define command{
        command_name    check_http_speed
        command_line    $USER1$/lwp-download-speed -w $ARG1$ -c $ARG2$ -H $ARG3$ -u $ARG4$
}

Check-Command for Service(WEBSPEED):
check_command   check_http_speed!200!100!server.example.com!/big_file.img

NagiosGrapher:
define ngraph{
        service_name            WEBSPEED
        graph_log_regex         (\d+) \w*B\/\w+
        graph_value             http_speed
        graph_units             KB/sec
        graph_legend            HTTP download speed
        rrd_plottype            AREA
        rrd_color               c0c0ff
}