Data strored in .RRD but nagios graph is not showingthe data(graph is Empty)
Novin Jaiswal
novin.jaiswal at ishisystems.com
Tue Nov 18 20:17:43 CET 2008
Hi 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)
Your help is appreciated.
Thanks & Regards
Novin Jaiswal
Ishi Systems Inc.
201-521-3155(Direct)
732-318-8156(Cell)
From: Novin Jaiswal
Sent: Tuesday, November 18, 2008 2:06 PM
To: Novin Jaiswal; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Data strored in .RRD but nagios graph is not
showingthe data(graph is Empty)
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.
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 & Regards
Novin Jaiswal
Ishi Systems Inc.
201-521-3155(Direct)
732-318-8156(Cell)
From: Novin Jaiswal [mailto:novin.jaiswal at ishisystems.com]
Sent: Monday, November 17, 2008 1:35 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Data strored in .RRD but nagios graph is not
showingthe data(graph is Empty)
Hi Friends,
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?
Thanks & Regards
Novin Jaiswal
Ishi Systems Inc.
732-318-8156(cell)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20081118/9064f7b5/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-------------- next part --------------
_______________________________________________
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