[rrd-users] Data strored in .RRD but nagios graph is not showingthedata(graph is Empty)

Novin Jaiswal novin.jaiswal at ishisystems.com
Fri Nov 21 00:55:57 CET 2008


Hi Pls find the detail

=======================

I have successfully incorporate Nagios graph +Nagios+rrdtool. Data is
stored successfully but nagiosgraph is not plotting based on data and
the graph is empty without any data.

 

When I am running following cmd to see that the data (in DB "nagios"
and "pegcount" datasource and "AllCOMPONENT PEGCOUNT" service name)  is
stored or not. It is returning me the correct data value 138.

[root at stage5 nagios]# rrdtool lastupdate
/usr/local/nagiosgraph/rrd/stage8.ishisystems.com/AllCOMPONENT%20PEGCOUN
T___nagios.rrd

 pegcount

 

1226560767: 138

 

I am using following URL to view the data which is been created as a
link beside the service name 

 

http://stage5/nagiosgraph/show.cgi?host=stage8.ishisystems.com&service=A
llCOMPONENT%20PEGCOUNT&db=nagios,pegcount&geom=500x100&rrdopts=-l%200%20
-u%20200%20-t%20MYPEGCOUNT

 

this page is showing me empty daily,weekly and monthly and yearly graph
without any data but the Lower limit=0 ,Upperlimit = 200, Graph heading
= MYPEGCOUNT is showing as per request.

 

 

Host name = stage8.ishisystems.com

Service name = AllCOMPONEN PEGCOUNT

RRD DB Name = nagios

Datasource or column name = pegcount

Lower limit=0 

Upperlimit = 200

Graph heading = MYPEGCOUNT

 

Pls Let me know wht I am doing wrong?

 

 

From: rrd-users-bounces at lists.oetiker.ch
[mailto:rrd-users-bounces at lists.oetiker.ch] On Behalf Of Novin Jaiswal
Sent: Thursday, November 20, 2008 6:38 PM
To: rrd-users at lists.oetiker.ch
Subject: [rrd-users] Data strored in .RRD but nagios graph is not
showingthedata(graph is Empty)

 

Hi friends,

When I have dump the .rrd file it is showing the starting text like
this. Does any one have any idea why the graph is empty.

The last value which I have updated was 100 and it is showing it
properly in here. But the other entries around that time is showing as
NAN.
One more information to share.

Instead of passing Max;Avg;Min;Cur value I am passing a single value to
the database is that the issue?

Bcas I want the graph of single value or current value.

Will it work instead of passing values as 100. Shall I pass
0;0;0;100(Max;Avg;Min;Cur)

Pls help me if you have any idea.

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE rrd SYSTEM "http://oss.oetiker.ch/rrdtool/rrdtool.dtd">
<!-- Round Robin Database Dump --><rrd> <version> 0003 </version>
<step> 300 </step> <!-- Seconds -->
<lastupdate> 1227212391 </lastupdate> <!-- 2008-11-20 15:19:51 EST -->

<ds>
<name> pegcount </name>
<type> GAUGE </type>
<minimal_heartbeat> 600 </minimal_heartbeat>
<min> NaN </min>
<max> NaN </max>

<!-- PDP Status -->
<last_ds> 100 </last_ds>
<value> 1.0000000000e+02 </value>
<unknown_sec> 290 </unknown_sec>
</ds>

<!-- Round Robin Archives --> <rra>
<cf> AVERAGE </cf>
<pdp_per_row> 1 </pdp_per_row> <!-- 300 seconds -->

<params>
<xff> 5.0000000000e-01 </xff>
</params>
<cdp_prep>
<ds>
<primary_value> 0.0000000000e+00 </primary_value>
<secondary_value> 0.0000000000e+00 </secondary_value>
<value> NaN </value>
<unknown_datapoints> 0 </unknown_datapoints>
</ds>
</cdp_prep>
<database>
<!-- 2008-11-18 14:55:00 EST / 1227038100 --> <row><v> NaN </v></row>
<!-- 2008-11-18 15:00:00 EST / 1227038400 --> <row><v> NaN </v></row>
<!-- 2008-11-18 15:05:00 EST / 1227038700 --> <row><v> NaN </v></row>
<!-- 2008-11-18 15:10:00 EST / 1227039000 --> <row><v> NaN </v></row>
<!-- 2008-11-18 15:15:00 EST / 1227039300 --> <row><v> NaN </v></row>
<!-- 2008-11-18 15:20:00 EST / 1227039600 --> <row><v> NaN </v></row>
<!-- 2008-11-18 15:25:00 EST / 1227039900 --> <row><v> NaN </v></row>
<!-- 2008-11-18 15:30:00 EST / 1227040200 --> <row><v> NaN </v></row>

Thanks
Novin

 

Thanks & Regards

Novin Jaiswal

Ishi Systems Inc.

201-521-3155(Direct)

732-318-8156(Cell)

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20081120/dfebb2ea/attachment.html 


More information about the rrd-users mailing list