[rrd-users] "Binary" graphs out of NagiosGraph
Daniel MacKay
daniel at bonmot.ca
Fri Apr 30 15:20:58 CEST 2010
Hello from a long long time Nagiosgraph user!
I have just moved a couple-year-old nagios + nagiosgraph setup from one i86 Solaris machine to another, upgrading everything in the process. I got RRD 1.4.2 and Perl from Blastwave, and RRDTool from CPAN.
Now, ALL my graphs are all coming up as binary! They're at zero during NaN times, and at just one value when there's any real data. I can tell from a rrdtool dump, that the correct data is being stored, but the graphs are all square edged, like this:
http://gyazo.com/b5052653140718cacdefa8e43a77e7f6.png
(notice that it's displaying Cur= 63.32 but the line is not there.)
Below are the rrdgraph calls that created it.
Can anyone help me figure out what is wrong with the calls? Then I can fix NagiosGraph. Many thanks. -dan
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Fri Apr 30 10:14:09 2010 showgraph.cgi debug getdebug(showgraph, app03-B, procs)
Fri Apr 30 10:14:09 2010 showgraph.cgi debug getdebug found debug_showgraph
Fri Apr 30 10:14:09 2010 showgraph.cgi debug rrdline params = {
'geom' => '',
'db' => [
'procs,procs'
],
'graphonly' => '',
'showtitle' => '',
'showdesc' => '',
'group' => '',
'fixedscale' => '',
'expand_period' => '',
'offset' => 0,
'expand_controls' => '',
'rrdopts' => ' -snow-118800 -enow-0',
'period' => '',
'hidelegend' => '',
'service' => 'procs',
'host' => 'app03-B',
'showgraphtitle' => '',
'label' => []
};
Fri Apr 30 10:14:09 2010 showgraph.cgi debug graphinfo: host=app03-B service=procs
Fri Apr 30 10:14:09 2010 showgraph.cgi debug graphinfo: db = [
'procs,procs'
];
Fri Apr 30 10:14:09 2010 showgraph.cgi debug graphinfo: Specified app03-B/procs___ db files in /usr/local/nagios/nagiosgraph/rrd: app03-B/procs___procs.rrd
Fri Apr 30 10:14:09 2010 showgraph.cgi debug graphinfo: rrd = [
{
'file' => 'app03-B/procs___procs.rrd',
'line' => {
'procs' => 1
},
'dbname' => 'procs'
}
];
Fri Apr 30 10:14:09 2010 showgraph.cgi debug rrdline: this graphinfo entry = {
'file' => 'app03-B/procs___procs.rrd',
'line' => {
'procs' => 1
},
'dbname' => 'procs'
};
Fri Apr 30 10:14:09 2010 showgraph.cgi debug setlabels(procs, procs, /usr/local/nagios/nagiosgraph/rrd/app03-B/procs___procs.rrd, , 11)
Fri Apr 30 10:14:09 2010 showgraph.cgi debug hashcolor(1)
Fri Apr 30 10:14:09 2010 showgraph.cgi debug hashcolor: returning color = FF00CC
Fri Apr 30 10:14:09 2010 showgraph.cgi debug setdata(procs, procs, /usr/local/nagios/nagiosgraph/rrd/app03-B/procs___procs.rrd, , , 118800)
Fri Apr 30 10:14:09 2010 showgraph.cgi debug RRDs::graph = [
'-',
'-a',
'PNG',
'DEF:procs_procs=/usr/local/nagios/nagiosgraph/rrd/app03-B/procs___procs.rrd:procs:AVERAGE',
'LINE:procs_procs#FF00CC:procs,procs',
'GPRINT:procs_procs:MAX:Max\\:%7.2lf%s',
'GPRINT:procs_procs:AVERAGE:Avg\\:%7.2lf%s',
'GPRINT:procs_procs:MIN:Min\\:%7.2lf%s',
'GPRINT:procs_procs:LAST:Cur\\:%7.2lf%s\\n',
'-w',
'600 ',
'-snow-118800',
'-enow-0'
];
More information about the rrd-users
mailing list