<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
I recently ran into a similar testing Nagios/NagVis/PnP4Nagios.<br><br>To throw it out there... you are using an older version of PNP as they're beyond 0.6 now.<br><br>I was trying to add a new service and testing.  I had been tweaking the check's command line options to find the write output I wanted.  Once the check worked how I wanted, I noticed I was getting an error on the graph.  Since this was a new check, I deleted the existing RRD files that had been created and let new ones get created.  That corrected the issue.  I assume the RRD file was initially created with incorrect parameters as I was changing the check during my initial testing.<br><br>-- <br>Mat W.<br><br><div><hr id="stopSpelling">Date: Thu, 28 Jul 2011 17:18:58 +0530<br>From: Navdeep.Sidhu@tatatel.co.in<br>To: nagios-users@lists.sourceforge.net<br>Subject: [Nagios-users] RRDTool exits with errors -> ERROR: can't make a        graph without contents<br><br>
<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML"><style>
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal
{margin-bottom:.0001pt;font-size:11.0pt;font-family:'Calibri','sans-serif';}
.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink
{color:blue;text-decoration:underline;}
.ExternalClass a:visited, .ExternalClass span.ecxMsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
.ExternalClass p.ecxMsoPlainText, .ExternalClass li.ecxMsoPlainText, .ExternalClass div.ecxMsoPlainText
{margin-bottom:.0001pt;font-size:12.0pt;font-family:'Calibri','sans-serif';color:black;}
.ExternalClass span.ecxEmailStyle17
{font-family:'Segoe UI','sans-serif';color:black;font-weight:normal;font-style:normal;}
.ExternalClass span.ecxPlainTextChar
{font-family:'Calibri','sans-serif';color:black;}
.ExternalClass .ecxMsoChpDefault
{;}
@page WordSection1
{size:8.5in 11.0in;}
.ExternalClass div.ecxWordSection1
{page:WordSection1;}

</style><div class="ecxWordSection1"><p class="ecxMsoPlainText">Hi</p><p class="ecxMsoPlainText"> </p><p class="ecxMsoPlainText">I'm using Nagios 2.8 with RRD tool version 1.0.50 & PNP version 0.3</p><p class="ecxMsoPlainText">installed. Nagios is running on RHEL-4. I'm facing an issue in RRD Tool. Recently I have configured this tool</p><p class="ecxMsoPlainText">for Cisco devices (under serviceextinfo.cfg file) so that memory & CPU</p><p class="ecxMsoPlainText">utilization should be available in graphs however I'm getting following</p><p class="ecxMsoPlainText">error when trying to view the graphs.</p><p class="ecxMsoPlainText"> </p><p class="ecxMsoPlainText">RRDTool exits with errors -> ERROR: can't make a graph without contents.</p><p class="ecxMsoPlainText"> </p><p class="ecxMsoPlainText"> </p><p class="ecxMsoPlainText">This tool is working fine with Intel platform servers & displaying the</p><p class="ecxMsoPlainText">graphs however not working in Cisco devices.</p><p class="ecxMsoPlainText"> </p><p class="ecxMsoPlainText">I’m pasting excerpt of my host configuration & serviceextinfo file to provide clear picture. In fact, in Nagios web console, I’m able to see Memory & CPU utilization of Cisco devices however unable to view the graphs. I’m using <b>check_snmp_mem.pl</b> plugin to capture Memory utilization of Cisco devices. Let me know if any other info required from me. </p><p class="ecxMsoPlainText"> </p><p class="ecxMsoPlainText"> </p><p class="ecxMsoPlainText"><u>Excerpts of host Configuration File</u></p><p class="ecxMsoPlainText"> </p><p class="ecxMsoPlainText">define command{</p><p class="ecxMsoPlainText">        command_name    process-service-perfdata</p><p class="ecxMsoPlainText">        command_line    /usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl</p><p class="ecxMsoPlainText">        }</p><p class="ecxMsoPlainText"> </p><p class="ecxMsoPlainText"><u>Excerpts of Serviceextinfo File</u></p><p class="ecxMsoPlainText"> </p><p class="ecxMsoPlainText">define serviceextinfo{</p><p class="ecxMsoPlainText">              host_name                            L3-Switch</p><p class="ecxMsoPlainText">              service_description               MEM</p><p class="ecxMsoPlainText">              action_url                /nagios/pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$</p><p class="ecxMsoPlainText">              }</p><p class="ecxMsoPlainText"> </p><p class="ecxMsoPlainText">I would really appreciate your help in this regard.</p><p class="ecxMsoPlainText"> </p><p class="ecxMsoNormal"><span style="font-size: 12pt; color: black;">Regards</span></p><p class="ecxMsoNormal"><span style="font-size: 12pt; color: black;">Navdeep</span></p><p class="ecxMsoNormal"><span style="font-family: 'Segoe UI','sans-serif'; color: black;"> </span></p><p class="ecxMsoNormal"><span style="font-family: 'Segoe UI','sans-serif'; color: black;"> </span></p></div>
<img src="http://corpmail.tatatel.co.in/TataBandhan.gif"> 
<BR><img src="http://corpmail.tatatel.co.in/Blackberry9630.jpg"> 
<BR><font size="2" face="Arial">======================================<br>i-choose 
online store at <a href="http://www.tataindicom.com" target="_blank">www.tataindicom.com</a><br>Your Comfort. Your 
Convenience. Your Choice.<br>======================================</font><BR>
<font size="2" face="Arial">DISCLAIMER:<br>The information contained in this 
message (including any attachments) is confidential and may be privileged. If 
you have received it by mistake please notify the sender by return e-mail and 
permanently delete this message and any attachments from your system. Any 
dissemination, use, review, distribution, printing or copying of this message in 
whole or in part is strictly prohibited. Please note that e-mails are 
susceptible to change. TATA TELESERVICES LTD. (including its group companies) 
shall not be liable for the improper or incomplete transmission of the 
information contained in this communication nor for any delay in its receipt or 
damage to your system. TATA TELESERVICES LTD. (or its group companies) does not 
guarantee that the integrity of this communication has been maintained or that 
this communication is free of viruses, interceptions or interferences. 
</font><BR>

<br>------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey<br>_______________________________________________
Nagios-users mailing list
Nagios-users@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</div>                                        </div></body>
</html>