Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_munin_rrd
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
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 (3)
byleogrande, December 9, 2014
Does this plugin work with remote Munin (not installed with Nagios XI on the same host)?
It seems that this plugin doesn't use -H to establish a connection to the remote host, but rather it is trying to find munin's folder on the local host.
It seems that this plugin doesn't use -H to establish a connection to the remote host, but rather it is trying to find munin's folder on the local host.
I can't guess your domain, please add the domain manually
No domain was configured in munin. Please help me in resolving this.
No domain was configured in munin. Please help me in resolving this.
Owner's reply
You can specify the domain with -d option, however you should look in /var/lib/munin (or something like that) to see if you use an FQDN or not under the domain directory. This depends on your munin configuration.
Hi Nagios Community,
Just wanted to say that this plugin is great, managed to get in contact with one of the developers and they were a great help in aiding me.
I'd recommend using Munin and Nagios on the same host, skipping the need for NSCA configuration. That produced the desired result for me.
Thanks again on an excellent plugin!
Best,
Gary Shergill
Just wanted to say that this plugin is great, managed to get in contact with one of the developers and they were a great help in aiding me.
I'd recommend using Munin and Nagios on the same host, skipping the need for NSCA configuration. That produced the desired result for me.
Thanks again on an excellent plugin!
Best,
Gary Shergill