<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>&nbsp;</o:p></p>

<p class=MsoNormal>When I am running following cmd to see that the data (in DB
&#8220;nagios&#8221; &nbsp;and &#8220;pegcount&#8221; datasource and &#8220;AllCOMPONENT PEGCOUNT&#8221; service
name) &nbsp;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>&nbsp;pegcount<o:p></o:p></b></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><b>1226560767: 138<o:p></o:p></b></p>

<p class=MsoNormal><o:p>&nbsp;</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>&nbsp;</o:p></p>

<p class=MsoNormal><a
href="http://stage5/nagiosgraph/show.cgi?host=stage8.ishisystems.com&amp;service=AllCOMPONENT%20PEGCOUNT&amp;db=nagios,pegcount&amp;geom=500x100&amp;rrdopts=-l%200%20-u%20200%20-t%20MYPEGCOUNT">http://stage5/nagiosgraph/show.cgi?host=stage8.ishisystems.com&amp;service=AllCOMPONENT%20PEGCOUNT&amp;db=nagios,pegcount&amp;geom=500x100&amp;rrdopts=-l%200%20-u%20200%20-t%20MYPEGCOUNT</a><o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</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>&nbsp;</o:p></p>

<p class=MsoNormal><o:p>&nbsp;</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>&nbsp;</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>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</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>&nbsp;</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>&lt;?xml version=&quot;1.0&quot;
encoding=&quot;utf-8&quot;?&gt;</span><br>
<span class=apple-style-span>&lt;!DOCTYPE rrd SYSTEM
&quot;http://oss.oetiker.ch/rrdtool/rrdtool.dtd&quot;&gt;</span><br>
<span class=apple-style-span>&lt;!-- Round Robin Database Dump
--&gt;&lt;rrd&gt; &lt;version&gt; 0003 &lt;/version&gt;</span><br>
<span class=apple-style-span>&lt;step&gt; 300 &lt;/step&gt; &lt;!-- Seconds
--&gt;</span><br>
<span class=apple-style-span>&lt;lastupdate&gt; 1227212391 &lt;/lastupdate&gt;
&lt;!-- 2008-11-20 15:19:51 EST --&gt;</span><br>
<br>
<span class=apple-style-span>&lt;ds&gt;</span><br>
<span class=apple-style-span>&lt;name&gt; pegcount &lt;/name&gt;</span><br>
<span class=apple-style-span>&lt;type&gt; GAUGE &lt;/type&gt;</span><br>
<span class=apple-style-span>&lt;minimal_heartbeat&gt; 600
&lt;/minimal_heartbeat&gt;</span><br>
<span class=apple-style-span>&lt;min&gt; NaN &lt;/min&gt;</span><br>
<span class=apple-style-span>&lt;max&gt; NaN &lt;/max&gt;</span><br>
<br>
<span class=apple-style-span>&lt;!-- PDP Status --&gt;</span><br>
<span class=apple-style-span>&lt;last_ds&gt; 100 &lt;/last_ds&gt;</span><br>
<span class=apple-style-span>&lt;value&gt; 1.0000000000e+02 &lt;/value&gt;</span><br>
<span class=apple-style-span>&lt;unknown_sec&gt; 290 &lt;/unknown_sec&gt;</span><br>
<span class=apple-style-span>&lt;/ds&gt;</span><br>
<br>
<span class=apple-style-span>&lt;!-- Round Robin Archives --&gt; &lt;rra&gt;</span><br>
<span class=apple-style-span>&lt;cf&gt; AVERAGE &lt;/cf&gt;</span><br>
<span class=apple-style-span>&lt;pdp_per_row&gt; 1 &lt;/pdp_per_row&gt; &lt;!--
300 seconds --&gt;</span><br>
<br>
<span class=apple-style-span>&lt;params&gt;</span><br>
<span class=apple-style-span>&lt;xff&gt; 5.0000000000e-01 &lt;/xff&gt;</span><br>
<span class=apple-style-span>&lt;/params&gt;</span><br>
<span class=apple-style-span>&lt;cdp_prep&gt;</span><br>
<span class=apple-style-span>&lt;ds&gt;</span><br>
<span class=apple-style-span>&lt;primary_value&gt; 0.0000000000e+00
&lt;/primary_value&gt;</span><br>
<span class=apple-style-span>&lt;secondary_value&gt; 0.0000000000e+00
&lt;/secondary_value&gt;</span><br>
<span class=apple-style-span>&lt;value&gt; NaN &lt;/value&gt;</span><br>
<span class=apple-style-span>&lt;unknown_datapoints&gt; 0
&lt;/unknown_datapoints&gt;</span><br>
<span class=apple-style-span>&lt;/ds&gt;</span><br>
<span class=apple-style-span>&lt;/cdp_prep&gt;</span><br>
<span class=apple-style-span>&lt;database&gt;</span><br>
<span class=apple-style-span>&lt;!-- 2008-11-18 14:55:00 EST / 1227038100
--&gt; &lt;row&gt;&lt;v&gt; NaN &lt;/v&gt;&lt;/row&gt;</span><br>
<span class=apple-style-span>&lt;!-- 2008-11-18 15:00:00 EST / 1227038400
--&gt; &lt;row&gt;&lt;v&gt; NaN &lt;/v&gt;&lt;/row&gt;</span><br>
<span class=apple-style-span>&lt;!-- 2008-11-18 15:05:00 EST / 1227038700
--&gt; &lt;row&gt;&lt;v&gt; NaN &lt;/v&gt;&lt;/row&gt;</span><br>
<span class=apple-style-span>&lt;!-- 2008-11-18 15:10:00 EST / 1227039000
--&gt; &lt;row&gt;&lt;v&gt; NaN &lt;/v&gt;&lt;/row&gt;</span><br>
<span class=apple-style-span>&lt;!-- 2008-11-18 15:15:00 EST / 1227039300
--&gt; &lt;row&gt;&lt;v&gt; NaN &lt;/v&gt;&lt;/row&gt;</span><br>
<span class=apple-style-span>&lt;!-- 2008-11-18 15:20:00 EST / 1227039600
--&gt; &lt;row&gt;&lt;v&gt; NaN &lt;/v&gt;&lt;/row&gt;</span><br>
<span class=apple-style-span>&lt;!-- 2008-11-18 15:25:00 EST / 1227039900
--&gt; &lt;row&gt;&lt;v&gt; NaN &lt;/v&gt;&lt;/row&gt;</span><br>
<span class=apple-style-span>&lt;!-- 2008-11-18 15:30:00 EST / 1227040200
--&gt; &lt;row&gt;&lt;v&gt; NaN &lt;/v&gt;&lt;/row&gt;</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>&nbsp;</o:p></p>

<p class=MsoNormal>Thanks &amp; 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>&nbsp;</o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>