I'm trying to use a 'check_rrd.pl' script to check for values in a changing RRD file.
Has any one had any luck using a check_rrd script with versions of perl higher than perl 5.8.8?
I found 2 (old) scripts for checking RRD files(Cacti) on the nagios exchange.
One does not use rrdpoller, but returns 'No valid values found'. I've found in my environment that it does work ok when CF is set to percent, just not AVERAGE. But I want --ds working so I can get an alert on -w or -c. Setting --compute ==AVERAGE or CF AVERAGE doesn't seem to help.
and the other one does use rrdpoller. rrdpoller 1.5 compiled ok, but did give the message:
Code: Select all
# Unparsable version '' for prerequisite File::Temp at Makefile.PL line 87.
Code: Select all
##Argument "" isn't numeric in numeric le (<=) at /usr/local/perl-5.16.1/lib/site_perl/5.16.1/Nagios/Plugin/Range.pm line 98.
##Argument "" isn't numeric in numeric le (<=) at /usr/local/perl-5.16.1/lib/site_perl/5.16.1/Nagios/Plugin/Range.pm line 98.
##RRD_12 OK - :
Thanks for any ideas.