pnp4nagios problem

Natxo Asenjo natxo.asenjo at gmail.com
Wed Jul 22 11:23:32 CEST 2009


hi,

I have pnp4nagios working and all seemed fine. Today I needed to get
some graphs and I get this error in the web interface:

 RRDTool exits with errors -> ERROR: No DS called '6' in
'/usr/local/nagios/share/perfdata/izex01/disk_space.rrd'

RRDTool was called like ->
/usr/bin/rrdtool graph /var/tmp/PNPyN4Wd1 --width=500 --height=100
--imgformat PNG --start 1248239492 --end 1248253892 --vertical-label
"%" --title "izex01 / disk_space" \
DEF:var1=/usr/local/nagios/share/perfdata/izex01/disk_space.rrd:6:AVERAGE \
AREA:var1#EACC00:"H__ " \
LINE1:var1#000000:"" \
GPRINT:var1:LAST:"%3.4lf %s%% LAST " \
GPRINT:var1:MAX:"%3.4lf %s%% MAX " \
GPRINT:var1:AVERAGE:"%3.4lf %s%% AVERAGE \n" \
HRULE:10#FFFF00:"Warning on 10\n" \
HRULE:5#FF0000:"Critical on 5\n" \
COMMENT:"Default Template\r" \
COMMENT:"Check Command check_nrpe\r"

The rrd database file was last updated on the 15th of july, so if I
use the little calendar and choose a date before then, I can get data,
but after that it does not work. Is it possible that the rrd file got
corrupt or something? Is there a way to recover it?

-- 
Groeten,
J.Asenjo

------------------------------------------------------------------------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list