how to get graphs in Nagios ...
Paraman Pachaimuthu
ParamanP at microland.net
Fri Oct 31 04:58:46 CET 2003
Hi Jesus Olivan,
Thanks a lot. It works. I am getting graphical icon as well as graphs.
Thanks a ton.
Have an extra-ordinary day.
with warm regards
Paraman Pachaimuthu
-----Original Message-----
From: Jesús Oliván [mailto:jesusolivan at pickingpack.net]
Sent: Thursday, October 30, 2003 7:41 PM
To: Paraman Pachaimuthu
Cc: Nagios List
Subject: RE: [Nagios-users] how to get graphs in Nagios ...
u've to put this line in cgi.cfg:
xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg
Then, create file /usr/local/nagios/etc/serviceextinfo.cfg and put in:
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
}
Regards
-----Mensaje original-----
De: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net]En nombre de Paraman
Pachaimuthu
Enviado el: jueves, 30 de octubre de 2003 13:42
Para: 'nagios-users at lists.sourceforge.net'
Asunto: [Nagios-users] how to get graphs in Nagios ...
Importancia: Alta
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/20031031/05549a32/attachment.html>
More information about the Users
mailing list