apan
HBoertien at enertel.nl
HBoertien at enertel.nl
Tue Dec 9 15:51:48 CET 2003
You have to edit the file apan.cfg in /usr/local/nagios/apan
There you have to add a line for the service you are pinging.
You can also install nagmin 2.0.6, this has build-in support for ping and
snmp interface.
Cheers,
Harm
from: http://apan.sourceforge.net/
Measure ping rount-trip times
1. Create a service-definition in Nagios:
define service {
host_name server
service_description Ping
check_command apan!ping!100.0,20%!500.0,60%
name Ping
use generic-service
normal_check_interval 1
}
2. Create a RRD:
rrdtool create /usr/local/nagios/rrd/server_Ping.rrd -s 60
DS:ping:GAUGE:300:0:U RRA:AVERAGE:0.5:1:50400 RRA:AVERAGE:0.5:60:43800
3. Add a line in apan.cfg:
server;Ping;/usr/local/nagios/rrd/server_ping.rrd;ping;ping:LINE2;Ping
round-trip time;Seconds
4. Add an icon and a link as extended service-info:
define serviceextinfo{
host_name server
service_description Ping
notes_url /nagios/cgi-bin/apan.cgi?host=server&service=Ping
icon_image graph.png
icon_image_alt View graphs
}
-----Oorspronkelijk bericht-----
Van: k.l. muthu kumar [mailto:klmuthu at eudoramail.com]
Verzonden: Tuesday, December 09, 2003 03:43 PM
Aan: nagios newsgroup
Onderwerp: [Nagios-users] apan
Hi all,
Iam trying to use apan to produce ping roundtrip graph for one of the
server, but iam getting the following error message in nagios service page.
"No perf-definition for service".
can anyone help me to figure out this problem?
thanks,
muthu
Need a new email address that people can remember
Check out the new EudoraMail at
http://www.eudoramail.com
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
#***************************************************************************
#
# Dit e-mailbericht met eventuele attachments is uitsluitend bestemd voor de
# geadresseerde(n) en bevat mogelijk vertrouwelijke gegevens en/of is
# beschermd door intellectuele eigendomsrechten. Bent u niet de
# geadresseerde, neemt u dan zo spoedig mogelijk contact op met de afzender
# en verzoeken wij u het e-mailbericht en eventuele attachments van uw
# computer te verwijderen. Elk gebruik van de inhoud van dit e-mailbericht
# en eventuele attachments (waaronder verveelvoudiging, verspreiding of het
# anderzins openbaar maken in welke vorm dan ook) door andere personen dan
# de bedoelde geadresseerden is verboden. De weergegeven mening is puur
# persoonlijk en hoeft niet noodzakelijk over een te komen met die van
# Enertel. Enertel is niet aansprakelijk voor de inhoud van dit
# e-mailbericht en eventuele attachments.
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
More information about the Users
mailing list