I recently ran into a similar testing Nagios/NagVis/PnP4Nagios.

To throw it out there... you are using an older version of PNP as they're 
beyond 0.6 now.

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.

-- 
Mat W.

Date: Thu, 28 Jul 2011 17:18:58 +0530
From: [email protected]
To: [email protected]
Subject: [Nagios-users] RRDTool exits with errors -> ERROR: can't make a        
graph without contents



Hi I'm using Nagios 2.8 with RRD tool version 1.0.50 & PNP version 
0.3installed. Nagios is running on RHEL-4. I'm facing an issue in RRD Tool. 
Recently I have configured this toolfor Cisco devices (under serviceextinfo.cfg 
file) so that memory & CPUutilization should be available in graphs however I'm 
getting followingerror when trying to view the graphs. RRDTool exits with 
errors -> ERROR: can't make a graph without contents.  This tool is working 
fine with Intel platform servers & displaying thegraphs however not working in 
Cisco devices. 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 check_snmp_mem.pl plugin to capture Memory utilization of Cisco 
devices. Let me know if any other info required from me.   Excerpts of host 
Configuration File define command{        command_name    
process-service-perfdata        command_line    /usr/bin/perl 
/usr/local/nagios/libexec/process_perfdata.pl        } Excerpts of 
Serviceextinfo File define serviceextinfo{              host_name               
             L3-Switch              service_description               MEM       
       action_url                
/nagios/pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$              } I would 
really appreciate your help in this regard. RegardsNavdeep  
 
 
======================================
i-choose 
online store at www.tataindicom.com
Your Comfort. Your 
Convenience. Your Choice.
======================================
DISCLAIMER:
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. 



------------------------------------------------------------------------------
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
_______________________________________________
Nagios-users mailing list
[email protected]
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          
                          
------------------------------------------------------------------------------
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
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to