[rrd-users] Ping Probe Problems

Anthony Scott ascott at triadfoodsgroup.com
Mon Jun 3 20:29:12 MEST 2002


Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi. I am trying to implement Ping Probe using Mrtg/ RRDTOOL on a Windows =
2000/ IIS 5 platform.
I have RRDTOOL working properly monitoring the traffic on various ports. =

I have configured Ping Probe, the graph generates blank, but doesn't =
give any error - either from the web page or from the command line. I am =
sure I am missing something but I can't figure it out.=20
I have included my cfg file below my signature. Hqter1 is the server I =
am trying to ping. I adapted this cfg from the sample cfg included with =
Ping Probe. I could not get the mrtg-ping-cfg file to work either.
Thanks
anthony  scott,
workstation administrator=20

 =20
=20
=20
=20
#!C:\Perl\bin\PERL.EXE
##################################################################
# Multi Router Traffic Grapher -- Example Configuration File
#       to integrate mrtg-ping-probe - A Round Trip Time Probe
##################################################################
#
# @(#) $Id: mrtg.cfg-ping,v 2.1 2001/01/06 22:05:52 pwo Exp $
# @(#) mrtg-ping-probe release $Name: Release_2_0_2 $
#
##################################################################
# This file is for use with mrtg-2.0
#
# Note:
#
# * Keywords must start at the begin of a line.
#
# * Lines which follow a keyword line which do start=20
#   with a blank are appended to the keyword line
#
# * Empty Lines are ignored
#
# * Lines starting with a # sign are comments.
#
##################################################################
# Copied from other CFG Files
##################################################################
WorkDir: C:\inetpub\wwwroot\mrtg
=20
LogFormat: rrdtool
Logdir: C:\Inetpub\wwwroot\mrtg
=20
##### change dirs as needed versions etc etc ####
PathAdd: C:/mrtg-2.9.18pre12/bin
PathAdd: C:/rrdtool-1.0.38.x86distr/perl-shared/t
PathAdd: C:/rrdtool-1.0.38.x86distr/src/tool_release
LibAdd: C:/rrdtool-1.0.38.x86distr/perl-shared
LibAdd: C:/mrtg-2.9.18pre12/bin
=20
##################################################################
# Sample entry to monitor round trip time to the host hqter1
##################################################################
=20
Title[hqter1.ping]: Round Trip Time Analysis
        for 256k FrameRelay link between Cupertino and Munich
PageTop[hqter1.ping]: <H1>Round Trip Time Analysis for CUP/MUC link</H1>
        <P>Actually we are measuring the ping time between our web
        server and hqter1.  Both are lightly loaded Sun workstations.
=20
##################################################################
# We set MaxBytes to the time in ms that we consider "normal" for
# an unused link, so that the per-cent values show how much you
# are off when the line is used more heavily.  you also have to
# set AbsMax, otherwise values greate than MaxBytes would be
# ignored.
=20
MaxBytes[hqter1.ping]: 180
AbsMax[hqter1.ping]: 10000
=20
##################################################################
# Set gauge, to treat the values gathered from target as absolute
#       and not as counters.
Options[hqter1.ping]: gauge
=20
##################################################################
# Call the ping-probe.  You can include arguments to increase
#       the packet count or size.
#       Some ping programs try to map IP addresses to hostnames
#       (e.g. Solaris 2);  a DNS failure will cause the ping to
#       fail, so you might want to suppress address to hostname
#       mapping by passing an option to the pring program.  On
#       Solaris, the option is `-n', so you would add `-o -n' as
#       shown in the second line.
#       The third line also sets a timeout.  You want this if your
#       ping insist on receiving (not only sending) the given
#       number of pings.
Target[hqter1.ping]: `C:\perl\bin\perl.exe =
c:\mrtg-2.9.18pre12\bin\mrtg-ping-probe 192.168.1.18`
#Target[hqter1.ping]: `c:/mrtg-2.9.18pre12/bin/mrtg-ping-probe -o -n =
hqter1`
#Target[hqter1.ping]: `c:/mrtg-2.9.18pre12/bin/mrtg-ping-probe -t 42 -o =
-n hqter1`
=20
##################################################################
# We have to change all labels of the graph.
#
YLegend[hqter1.ping]: round trip time
ShortLegend[hqter1.ping]: ms
Legend1[hqter1.ping]: Maximum Round Trip Time in ms
Legend2[hqter1.ping]: Minimum Round Trip Time in ms
Legend3[hqter1.ping]: Maximal 5 Minute Maximum Round Trip Time in ms
Legend4[hqter1.ping]: Maximal 5 Minute Minimum Round Trip Time in ms
LegendI[hqter1.ping]: &nbsp;Max:
LegendO[hqter1.ping]: &nbsp;Min:
=20
##################################################################
# You might want to include Peaks or not.
WithPeak[hqter1.ping]: ymwd
=20
=20
=20
##################################################################
# Sample entry to monitor packet loss
Target[hqter1.loss]: `C:\perl\bin\perl.exe =
c:\mrtg-2.9.18pre12\bin\mrtg-ping-probe 192.168.1.18`
Title[hqter1.loss]: Packet Loss Analysis
PageTop[hqter1.loss]: <H1>Packet Loss Analysis</H1>
MaxBytes[hqter1.loss]: 100
AbsMax[hqter1.loss]: 101
WithPeak[hqter1.loss]: ymwd
Options[hqter1.loss]: gauge
Unscaled[hqter1.loss]: dwmy
YLegend[hqter1.loss]: % Packet Loss
ShortLegend[hqter1.loss]: %
Legend1[hqter1.loss]: % Packet Loss
Legend2[hqter1.loss]: % Packet Loss
Legend3[hqter1.loss]: Maximal 5 Minute % Packet Loss
Legend4[hqter1.loss]: Maximal 5 Minute % Packet Loss
LegendI[hqter1.loss]: &nbsp;% loss:
LegendO[hqter1.loss]: &nbsp;% loss:

=20



-- Attached file removed by Listar and put at URL below --
-- Type: image/GIF
-- Desc: headbanger.gif
-- Size: 1k (1579 bytes)
-- URL : http://www.ee.ethz.ch/~slist/pantomime/03-headbanger.gif


--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list