<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: [Nagios-users] how to get graphs in Nagios ...</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>Hi Rafe</FONT>
</P>
<P><FONT SIZE=2>Thanks for the reply. I created an another file as PARAMANP_ping.rrd.</FONT>
<BR><FONT SIZE=2>I am not getting the graph icon in service details itself.</FONT>
</P>
<P><FONT SIZE=2>Thanks</FONT>
<BR><FONT SIZE=2>Paraman Pachaimuthu</FONT>
</P>
<BR>
<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Rafe Oxley [<A HREF="mailto:rafe.oxley@moving-edge.net">mailto:rafe.oxley@moving-edge.net</A>]</FONT>
<BR><FONT SIZE=2>Sent: Thursday, October 30, 2003 7:50 PM</FONT>
<BR><FONT SIZE=2>To: nagios-users@lists.sourceforge.net</FONT>
<BR><FONT SIZE=2>Cc: ParamanP@microland.net</FONT>
<BR><FONT SIZE=2>Subject: Re: [Nagios-users] how to get graphs in Nagios ...</FONT>
<BR><FONT SIZE=2>Importance: High</FONT>
</P>
<BR>
<P><FONT SIZE=2>Hi Paraman</FONT>
<BR><FONT SIZE=2>Do you see the graph icons in service detail, but just get empty graphs?</FONT>
<BR><FONT SIZE=2>is PARAMANP_ping.rrd being updated? permissions?</FONT>
<BR><FONT SIZE=2>And looking at the command lines you've given,you created as</FONT>
<BR><FONT SIZE=2>PARAMANP_Ping.rrd , but have PARAMANP_ping.rrd in your apan.cfg</FONT>
</P>
<P><FONT SIZE=2>rgds</FONT>
<BR><FONT SIZE=2>Rafe</FONT>
</P>
<P><FONT SIZE=2>> Hi Nagi Kings,</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> I have installed nagios and monitoring is happening with out any</FONT>
<BR><FONT SIZE=2>problem.</FONT>
<BR><FONT SIZE=2>> I</FONT>
<BR><FONT SIZE=2>> want to see the graphs of monitoring components. I just installed RRD Tools</FONT>
<BR><FONT SIZE=2>> and Apan.</FONT>
<BR><FONT SIZE=2>> I am not getting the graph. What should I do ?</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> The following things I have done in the Nagios server :</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> 1. Services.cfg has been edited with the following content</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> # Service definition</FONT>
<BR><FONT SIZE=2>> define service{</FONT>
<BR><FONT SIZE=2>> use generic-service ; Name of</FONT>
<BR><FONT SIZE=2>> service template to use</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> host_name PARAMANP</FONT>
<BR><FONT SIZE=2>> service_description Ping</FONT>
<BR><FONT SIZE=2>> is_volatile 0</FONT>
<BR><FONT SIZE=2>> check_period 24x7</FONT>
<BR><FONT SIZE=2>> max_check_attempts 10</FONT>
<BR><FONT SIZE=2>> normal_check_interval 1</FONT>
<BR><FONT SIZE=2>> retry_check_interval 1</FONT>
<BR><FONT SIZE=2>> contact_groups nt-admins</FONT>
<BR><FONT SIZE=2>> notification_interval 120</FONT>
<BR><FONT SIZE=2>> notification_period 24x7</FONT>
<BR><FONT SIZE=2>> notification_options c,r</FONT>
<BR><FONT SIZE=2>> name Ping</FONT>
<BR><FONT SIZE=2>> check_command apan!ping!100.0,20%!500.0,60%</FONT>
<BR><FONT SIZE=2>> }</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> 2. RRD has been created with the following command.</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> rrdtool create /usr/local/nagios/rrd/PARAMANP_Ping.rrd -s 60</FONT>
<BR><FONT SIZE=2>> DS:ping:GAUGE:300:0:U RRA:AVERAGE:0.5:1:50400 RRA:AVERAGE:0.5:60:43800</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> 3. apan.cfg has been edited with the following content</FONT>
<BR><FONT SIZE=2>> PARAMANP;Ping;/usr/local/nagios/rrd/PARAMANP_ping.rrd;ping;ping:LINE2;Ping</FONT>
<BR><FONT SIZE=2>round-trip time;Seconds</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> 4. cgi.cfg has been edited with the following content</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> define serviceextinfo{</FONT>
<BR><FONT SIZE=2>> host_name PARAMANP</FONT>
<BR><FONT SIZE=2>> service_description Ping</FONT>
<BR><FONT SIZE=2>> notes_url /nagios/cgi-bin/apan.cgi?host=PARAMANP&service=Ping</FONT>
<BR><FONT SIZE=2>> icon_image graph.png</FONT>
<BR><FONT SIZE=2>> icon_image_alt View graphs</FONT>
<BR><FONT SIZE=2>> }</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> 5. Nagios has been restarted.</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> How to go on this ? Should I do anything else ? Any help will be</FONT>
<BR><FONT SIZE=2>appreciated. Thanks.</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> with warm regards,</FONT>
<BR><FONT SIZE=2>> Paraman Pachaimuthu</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>></FONT>
</P>
</BODY>
</HTML>