Search Exchange
Search All Sites
Login
check_munin_rrd
check_munin_rrd.pl can check various modules of a server running munin-node.
This is a rewrite of http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2515.html;d=1
You can use check_munin_rrd.pl to get info for any plugins that munin-node can run directly on the munin server (no need to connect to the remote hosts anymore, so no locks on node)
Setup :
#check_munin_rrd command definition
define command{
command_name check_munin
command_line /usr/lib/nagios/plugins/check_munin_rrd.pl -H $HOSTALIAS$ -M $ARG1$ -w $ARG2$ -c $ARG3$
}
Sample service definition :
# Will generate a warn or crit if any disk usage is above 80 resp 95
# otherwise get a summary of disk usage
define service{
service_description disk-usage
check_command check_munin!df!80!95
}
define service{
service_description mysql-threads
check_command check_munin!mysql_threads!100!200
}
Runs ok on GNU/Linux (Ubuntu and Red Hat).
Need some work to sanitize more modules, check freshness of munin data (if munin is not running on node) patchs welcome.
Latest version is http://nagios-munin.googlecode.com/svn/trunk/check_munin_rrd.pl
You can use check_munin_rrd.pl to get info for any plugins that munin-node can run directly on the munin server (no need to connect to the remote hosts anymore, so no locks on node)
Setup :
#check_munin_rrd command definition
define command{
command_name check_munin
command_line /usr/lib/nagios/plugins/check_munin_rrd.pl -H $HOSTALIAS$ -M $ARG1$ -w $ARG2$ -c $ARG3$
}
Sample service definition :
# Will generate a warn or crit if any disk usage is above 80 resp 95
# otherwise get a summary of disk usage
define service{
service_description disk-usage
check_command check_munin!df!80!95
}
define service{
service_description mysql-threads
check_command check_munin!mysql_threads!100!200
}
Runs ok on GNU/Linux (Ubuntu and Red Hat).
Need some work to sanitize more modules, check freshness of munin data (if munin is not running on node) patchs welcome.
Latest version is http://nagios-munin.googlecode.com/svn/trunk/check_munin_rrd.pl
Reviews (0)
Be the first to review this listing!


New Listings


