how to get graphs in Nagios ...

Paraman Pachaimuthu ParamanP at microland.net
Thu Oct 30 13:41:43 CET 2003


 Hi Nagi Kings,

I have installed nagios and monitoring is happening with out any problem. I
want to see the graphs of monitoring components. I just installed RRD Tools
and Apan.
I am not getting the graph. What should I do ?

The following things I have done in the Nagios server :


1. Services.cfg  has been edited with the following content

# Service definition
define service{
	use				generic-service		; Name of
service template to use

	host_name			PARAMANP
	service_description		Ping 
	is_volatile			0
	check_period			24x7
	max_check_attempts		10
	normal_check_interval		1
	retry_check_interval		1
	contact_groups			nt-admins
	notification_interval		120
	notification_period		24x7
	notification_options		c,r
	name				Ping
	check_command		apan!ping!100.0,20%!500.0,60%
	}

2. RRD has been created with the following command.

rrdtool create /usr/local/nagios/rrd/PARAMANP_Ping.rrd -s 60
DS:ping:GAUGE:300:0:U RRA:AVERAGE:0.5:1:50400 RRA:AVERAGE:0.5:60:43800 

3. apan.cfg has been edited with the following content
PARAMANP;Ping;/usr/local/nagios/rrd/PARAMANP_ping.rrd;ping;ping:LINE2;Ping
round-trip time;Seconds

4.  cgi.cfg has been edited with the following content 

define		serviceextinfo{
host_name	PARAMANP
service_description	Ping
notes_url	/nagios/cgi-bin/apan.cgi?host=PARAMANP&service=Ping
icon_image	graph.png
icon_image_alt	View graphs
}

5. Nagios has been restarted. 

How to go on this ?  Should I do anything else ? Any help will be
appreciated. Thanks.

with warm regards,
Paraman Pachaimuthu




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20031030/8508aebc/attachment.html>


More information about the Users mailing list