Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_rrd

Rating
4 votes
Favoured:
0
Hits
99277
Files:
FileDescription
check_rrd-1.2.tar.gzcheck_rrd
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
check_rrd is a perl script to query data in rrd databases. It uses rrd::poller and nagios::plugins.
This plugin has been created to fill the gap between tools like collectd that poll locally and put results over the network in rrd databases. It is used to query thoses databases on the Nagios server, check result against warning and critical value and give back result to Nagios.
Reviews (2)
This would be a sample query:
./check_rrd.pl -R rra_file.rrd --ds data_source -w100 -c150 --start -10min --end -5min

The important thing is the --end -5min, if you use now, the last value might be a NAN, then it would always give a CRITICAL (because there are NaN values)
/usr/local/src> sudo ./check_rrd -F /usr/local/nagios/libexec/reqs_2647.rrd -D reqs -w 30 -c 50
Argument "" isn't numeric in numeric le (cal/perl-5.16.1/lib/site_perl/5.16.1/Nagios/Plugin/Range.pm line 98.
RRD OK - :

I having some trouble pulling values with higher versions of perl than 5.8.