<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.apple-style-span
        {mso-style-name:apple-style-span;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='color:#1F497D'>Hi Pls find the detail<o:p></o:p></span></p>
<p class=MsoNormal>=======================<o:p></o:p></p>
<p class=MsoNormal>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.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>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.<o:p></o:p></p>
<p class=MsoNormal>[root@stage5 nagios]# rrdtool lastupdate
/usr/local/nagiosgraph/rrd/stage8.ishisystems.com/AllCOMPONENT%20PEGCOUNT___nagios.rrd<o:p></o:p></p>
<p class=MsoNormal><b> pegcount<o:p></o:p></b></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><b>1226560767: 138<o:p></o:p></b></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>I am using following URL to view the data which is been
created as a link beside the service name <o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><a
href="http://stage5/nagiosgraph/show.cgi?host=stage8.ishisystems.com&service=AllCOMPONENT%20PEGCOUNT&db=nagios,pegcount&geom=500x100&rrdopts=-l%200%20-u%20200%20-t%20MYPEGCOUNT">http://stage5/nagiosgraph/show.cgi?host=stage8.ishisystems.com&service=AllCOMPONENT%20PEGCOUNT&db=nagios,pegcount&geom=500x100&rrdopts=-l%200%20-u%20200%20-t%20MYPEGCOUNT</a><o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>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.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Host name = stage8.ishisystems.com<o:p></o:p></p>
<p class=MsoNormal>Service name = AllCOMPONEN PEGCOUNT<o:p></o:p></p>
<p class=MsoNormal>RRD DB Name = nagios<o:p></o:p></p>
<p class=MsoNormal>Datasource or column name = pegcount<o:p></o:p></p>
<p class=MsoNormal>Lower limit=0 <o:p></o:p></p>
<p class=MsoNormal>Upperlimit = 200<o:p></o:p></p>
<p class=MsoNormal>Graph heading = MYPEGCOUNT<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Pls Let me know wht I am doing wrong?<o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
rrd-users-bounces@lists.oetiker.ch [mailto:rrd-users-bounces@lists.oetiker.ch] <b>On
Behalf Of </b>Novin Jaiswal<br>
<b>Sent:</b> Thursday, November 20, 2008 6:38 PM<br>
<b>To:</b> rrd-users@lists.oetiker.ch<br>
<b>Subject:</b> [rrd-users] Data strored in .RRD but nagios graph is not
showingthedata(graph is Empty)<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span class=apple-style-span><span style='font-size:8.5pt;
font-family:"Arial","sans-serif";color:#1F497D'>H</span></span><span
class=apple-style-span><span style='font-size:8.5pt;font-family:"Arial","sans-serif";
color:black'>i friends,</span></span><span style='font-size:8.5pt;font-family:
"Arial","sans-serif";color:black'><br>
<br>
<span class=apple-style-span>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.</span><br>
<br>
<span class=apple-style-span>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.</span><br>
<span class=apple-style-span>One more information to share.</span><br>
<br>
<span class=apple-style-span>Instead of passing Max;Avg;Min;Cur value I am
passing a single value to the database is that the issue?</span><br>
<br>
<span class=apple-style-span>Bcas I want the graph of single value or current
value.</span><br>
<br>
<span class=apple-style-span>Will it work instead of passing values as 100.
Shall I pass 0;0;0;100(Max;Avg;Min;Cur)</span><br>
<br>
<span class=apple-style-span>Pls help me if you have any idea.</span><br>
<br>
<span class=apple-style-span><?xml version="1.0"
encoding="utf-8"?></span><br>
<span class=apple-style-span><!DOCTYPE rrd SYSTEM
"http://oss.oetiker.ch/rrdtool/rrdtool.dtd"></span><br>
<span class=apple-style-span><!-- Round Robin Database Dump
--><rrd> <version> 0003 </version></span><br>
<span class=apple-style-span><step> 300 </step> <!-- Seconds
--></span><br>
<span class=apple-style-span><lastupdate> 1227212391 </lastupdate>
<!-- 2008-11-20 15:19:51 EST --></span><br>
<br>
<span class=apple-style-span><ds></span><br>
<span class=apple-style-span><name> pegcount </name></span><br>
<span class=apple-style-span><type> GAUGE </type></span><br>
<span class=apple-style-span><minimal_heartbeat> 600
</minimal_heartbeat></span><br>
<span class=apple-style-span><min> NaN </min></span><br>
<span class=apple-style-span><max> NaN </max></span><br>
<br>
<span class=apple-style-span><!-- PDP Status --></span><br>
<span class=apple-style-span><last_ds> 100 </last_ds></span><br>
<span class=apple-style-span><value> 1.0000000000e+02 </value></span><br>
<span class=apple-style-span><unknown_sec> 290 </unknown_sec></span><br>
<span class=apple-style-span></ds></span><br>
<br>
<span class=apple-style-span><!-- Round Robin Archives --> <rra></span><br>
<span class=apple-style-span><cf> AVERAGE </cf></span><br>
<span class=apple-style-span><pdp_per_row> 1 </pdp_per_row> <!--
300 seconds --></span><br>
<br>
<span class=apple-style-span><params></span><br>
<span class=apple-style-span><xff> 5.0000000000e-01 </xff></span><br>
<span class=apple-style-span></params></span><br>
<span class=apple-style-span><cdp_prep></span><br>
<span class=apple-style-span><ds></span><br>
<span class=apple-style-span><primary_value> 0.0000000000e+00
</primary_value></span><br>
<span class=apple-style-span><secondary_value> 0.0000000000e+00
</secondary_value></span><br>
<span class=apple-style-span><value> NaN </value></span><br>
<span class=apple-style-span><unknown_datapoints> 0
</unknown_datapoints></span><br>
<span class=apple-style-span></ds></span><br>
<span class=apple-style-span></cdp_prep></span><br>
<span class=apple-style-span><database></span><br>
<span class=apple-style-span><!-- 2008-11-18 14:55:00 EST / 1227038100
--> <row><v> NaN </v></row></span><br>
<span class=apple-style-span><!-- 2008-11-18 15:00:00 EST / 1227038400
--> <row><v> NaN </v></row></span><br>
<span class=apple-style-span><!-- 2008-11-18 15:05:00 EST / 1227038700
--> <row><v> NaN </v></row></span><br>
<span class=apple-style-span><!-- 2008-11-18 15:10:00 EST / 1227039000
--> <row><v> NaN </v></row></span><br>
<span class=apple-style-span><!-- 2008-11-18 15:15:00 EST / 1227039300
--> <row><v> NaN </v></row></span><br>
<span class=apple-style-span><!-- 2008-11-18 15:20:00 EST / 1227039600
--> <row><v> NaN </v></row></span><br>
<span class=apple-style-span><!-- 2008-11-18 15:25:00 EST / 1227039900
--> <row><v> NaN </v></row></span><br>
<span class=apple-style-span><!-- 2008-11-18 15:30:00 EST / 1227040200
--> <row><v> NaN </v></row></span><br>
<br>
<span class=apple-style-span>Thanks</span><br>
<span class=apple-style-span>Novin</span></span><o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Thanks & Regards<o:p></o:p></p>
<p class=MsoNormal>Novin Jaiswal<o:p></o:p></p>
<p class=MsoNormal>Ishi Systems Inc.<o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>201-521-3155(Direct)</span><o:p></o:p></p>
<p class=MsoNormal>732-318-8156(Cell)<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>