[smokeping-users] Re: Newbee Question

Jonathan P Tornea jonathan.tornea at d1asia.com
Tue May 28 08:57:50 MEST 2002



Hi Yngwie,

My /graphs directory permission is actually 755.  My smokeping.cgi is
outside my DocumentRoot.  I just script-alias it to /cgi-bin/.  Is it
relevant?  I read from the manual that "imgurl=" should be either an
absolute path to the "imgcache=" or relative to directory where SmokePing
CGI is.

BTW folks, im using rrdtool-1.0.37.  Does it have anything to do with my
problem?  i read from the manual to use rrdtool-1.0.33, but i assume the
higher version has a backward compatibility?

Jonathan P Tornea
Network Engineer
DataOne Asia (Philippines) Inc

DID: (632) 580-9831
FAX: (632) 995-8252

----------------------------------------

This e-mail and any files transmitted with it are confidential and are
intended solely for the use of the individual or entity to whom they are
addressed. If you are not the intended recipient or the person responsible,
be advised that you have received this e-mail in error and that any use,
dissemination, forwarding, printing or copying of this e-mail is strictly
prohibited. If you have received this e-mail in error, please immediately
notify DataOne Asia (Philippines) Inc at  +632 580 9888.


-----Original Message-----
From: Ytsejam [mailto:ytsejam at isl.net.tw]
Sent: Tuesday, May 28, 2002 2:17 PM
To: Jonathan P Tornea
Cc: Smokeping
Subject: Re: [smokeping-users] Re: Newbee Question


Johnathan,

Please check the access permission of the image directory :
/home/netmon/graphs
If you run apache as nobody, the /home/netmon/graphs should at least have
711.

Yngwie

----- Original Message -----
From: "Jonathan P Tornea" <jonathan.tornea at d1asia.com>
To: "Ytsejam" <ytsejam at isl.net.tw>
Cc: "Smokeping" <smokeping-users at list.ee.ethz.ch>
Sent: Tuesday, May 28, 2002 1:56 PM
Subject: [smokeping-users] Re: Newbee Question


>
> Hi,
>
> My problem is that, the graph does not appear when i click my target.
Below
> is my config:
>
>
> # Note that all IP addresses in this file are false, to prevent some
> # machine falling uder a deadly DOS storm because all users keep
> # the same addresses in their config.
>
> *** General ***
>
> owner    = Jonathan P Tornea
> contact  = jonathan.tornea at d1asia.com
> mailhost = smtp.d1asia.com
> sendmail = /usr/sbin/sendmail
> imgcache = /home/netmon/graphs
> imgurl   = /home/netmon/graphs
> datadir  = /home/netmon/rrd
> piddir  = /home/netmon/pid
> cgiurl   = http://netmon.d1asia.com.ph/cgi-bin/smokeping.cgi
> smokemail = /home/netmon/etc/smokemail
> # specify this to get syslog logging
> # syslogfacility = local0
>
>
> *** Database ***
>
> step     = 60
> pings    = 20
>
> # consfn mrhb steps total
>
> AVERAGE  0.5   1  1008
> AVERAGE  0.5  12  4320
>     MIN  0.5  12  4320
>     MAX  0.5  12  4320
> AVERAGE  0.5 144   720
>     MAX  0.5 144   720
>     MIN  0.5 144   720
>
> *** Presentation ***
>
> template = /home/netmon/etc/basepage.html
>
> + overview
>
> width = 600
> height = 50
> range = 10h
>
> + detail
>
> width = 600
> height = 200
> unison_tolerance = 2
>
> "Last 3 Hours"    3h
> "Last 30 Hours"   30h
> "Last 10 Days"    10d
> "Last 400 Days"   400d
>
> *** Probes ***
>
> + FPing
>
> binary = /usr/local/sbin/fping
>
> *** Targets ***
>
> probe = FPing
>
> menu = Top
> title = Network Latency Grapher
> remark = Welcome to the SmokePing website of MY_Company Inc. \
>          Here you will learn all about the latency of our network.
>
> + ISP
>
> menu = ISP
> title = MY_Company Internet Conectivity
>
> ++ BBPh
>
> menu = BBPh
> title = My_ISP_1 Router
> host = 203.xxx.xxx.xxx
>
> ++ ETPI
>
> menu = ETPI
> title = MY_ISP_2 Router
> host = 208.xxx.xxx.xxx
>
>
> Jonathan P Tornea
> Network Engineer
> DataOne Asia (Philippines) Inc
>
> DID: (632) 580-9831
> FAX: (632) 995-8252
>
> ----------------------------------------
>
> This e-mail and any files transmitted with it are confidential and are
> intended solely for the use of the individual or entity to whom they are
> addressed. If you are not the intended recipient or the person
responsible,
> be advised that you have received this e-mail in error and that any use,
> dissemination, forwarding, printing or copying of this e-mail is strictly
> prohibited. If you have received this e-mail in error, please immediately
> notify DataOne Asia (Philippines) Inc at  +632 580 9888.
>
>
> -----Original Message-----
> From: Ytsejam [mailto:ytsejam at isl.net.tw]
> Sent: Tuesday, May 28, 2002 1:45 PM
> To: Jonathan P Tornea
> Subject: Re: [smokeping-users] Newbee Question
>
>
> Janathan,,
>
> You should check if the directory that you configured in the imgurl &
> imgcache exist.
>
> Would you please post your config & the webpage error messages, to help us
> to find out the problem.
>
> Yngwie Chou
>
> ----- Original Message -----
> From: "Jonathan P Tornea" <jonathan.tornea at d1asia.com>
> To: "Ytsejam" <ytsejam at isl.net.tw>
> Sent: Tuesday, May 28, 2002 12:23 PM
> Subject: RE: [smokeping-users] Newbee Question
>
>
> > Hey Yngwie,
> >
> > I got my target in place.  Problem is the graph does not appear.  I know
i
> > got some things wrong with my config file.  Especially with the
> > "imgcache=value" and "imgurl=value".  Is this where the script deposits
> it's
> > graph and fetched by smokeping.cgi?
> >
> > Jonathan P Tornea
> > Network Engineer
> > DataOne Asia (Philippines) Inc
> >
> > DID: (632) 580-9831
> > FAX: (632) 995-8252
> >
> > ----------------------------------------
> >
> > This e-mail and any files transmitted with it are confidential and are
> > intended solely for the use of the individual or entity to whom they are
> > addressed. If you are not the intended recipient or the person
> responsible,
> > be advised that you have received this e-mail in error and that any use,
> > dissemination, forwarding, printing or copying of this e-mail is
strictly
> > prohibited. If you have received this e-mail in error, please
immediately
> > notify DataOne Asia (Philippines) Inc at  +632 580 9888.
> >
> >
> > -----Original Message-----
> > From: Ytsejam [mailto:ytsejam at isl.net.tw]
> > Sent: Tuesday, May 28, 2002 11:32 AM
> > To: Jonathan P Tornea
> > Subject: Re: [smokeping-users] Newbee Question
> >
> >
> > Janathan,
> >
> > You must first define the PROBE frontend in the config:
> > ----------------------------------------------
> > *** Probes ***
> >
> > + FPing
> >
> > binary = /usr/local/sbin/fping
> > ----------------------------------------------
> >
> >
> >
> >
> > And edit the config with your target IP :
> > ----------------------------------------------
> > + Backbone
> >
> > menu = Backbone
> > title = Backbone Latency
> >
> > ++ Routers
> >
> > menu = Routers
> > title = Backbone Routers Latency
> >
> > +++ Router1
> >
> > menu = Router1
> > title = Rotuer1 (192.168.0.1)
> > host = 192.168.0.1
> >
> > +++ Router2
> >
> > menu = Router2
> > title = Router2 (192.168.0.2)
> > host = 192.168.0.2
> > ----------------------------------------------
> >
> > The "+" indicates the tree structure, above config will result
> architecture
> > as below:
> >
> >
> > Backbone ------ Routers -----+----Router1
> >                                                |
> >                                                +----Router2
> >
> >
> >
> > Only target with "host = xxx.xxx.xxx.xxx" will generate the RRD database
&
> > smokeping graph.
> >
> > Regards,
> > Yngwie Chou
> > ISLNet
> >
> >
> >
> >
> > ----- Original Message -----
> > From: "Jonathan P Tornea" <jonathan.tornea at d1asia.com>
> > To: "Ytsejam" <ytsejam at isl.net.tw>
> > Sent: Tuesday, May 28, 2002 10:53 AM
> > Subject: RE: [smokeping-users] Newbee Question
> >
> >
> > > Hi Yngwie,
> > >
> > > Could you help me put in my target router?  Where do i put them so
i'll
> be
> > > able to start pinging them?  Thanks.
> > >
> > > Jonathan P Tornea
> > > Network Engineer
> > > DataOne Asia (Philippines) Inc
> > >
> > > DID: (632) 580-9831
> > > FAX: (632) 995-8252
> > >
> > > ----------------------------------------
> > >
> > > This e-mail and any files transmitted with it are confidential and are
> > > intended solely for the use of the individual or entity to whom they
are
> > > addressed. If you are not the intended recipient or the person
> > responsible,
> > > be advised that you have received this e-mail in error and that any
use,
> > > dissemination, forwarding, printing or copying of this e-mail is
> strictly
> > > prohibited. If you have received this e-mail in error, please
> immediately
> > > notify DataOne Asia (Philippines) Inc at  +632 580 9888.
> > >
> > >
> > > -----Original Message-----
> > > From: Ytsejam [mailto:ytsejam at isl.net.tw]
> > > Sent: Tuesday, May 28, 2002 10:26 AM
> > > To: Jonathan P Tornea; Smokeping
> > > Subject: Re: [smokeping-users] Newbee Question
> > >
> > >
> > > Hi Jonathan,
> > >
> > > You don't have to run somkeping with the crontab.
> > > Smokeping will collect the fping results according your step setting.
> > > All you have to do is edit the config file and start the Smokeping
with
> > > "smokeping -start ".
> > >
> > >
> > > Regards,
> > > Yngwie Chou
> > > ----- Original Message -----
> > > From: "Jonathan P Tornea" <jonathan.tornea at d1asia.com>
> > > To: "Smokeping" <smokeping-users at list.ee.ethz.ch>
> > > Sent: Tuesday, May 28, 2002 10:06 AM
> > > Subject: [smokeping-users] Newbee Question
> > >
> > >
> > > >
> > > > Hi,
> > > >
> > > > Does smokeping have to be run at my cron every 60 sec (my "step"
> value)
> > as
> > > > mrtg does?  thanks.
> > > >
> > > > Jonathan P Tornea
> > > > Network Engineer
> > > > DataOne Asia (Philippines) Inc
> > > >
> > > > DID: (632) 580-9831
> > > > FAX: (632) 995-8252
> > > >
> > > > ----------------------------------------
> > > >
> > > > This e-mail and any files transmitted with it are confidential and
are
> > > > intended solely for the use of the individual or entity to whom they
> are
> > > > addressed. If you are not the intended recipient or the person
> > > responsible,
> > > > be advised that you have received this e-mail in error and that any
> use,
> > > > dissemination, forwarding, printing or copying of this e-mail is
> > strictly
> > > > prohibited. If you have received this e-mail in error, please
> > immediately
> > > > notify DataOne Asia (Philippines) Inc at  +632 580 9888.
> > > >
> > > > --
> > > > Unsubscribe
> > > mailto:smokeping-users-request at list.ee.ethz.ch?subject=unsubscribe
> > > > Help
> mailto:smokeping-users-request at list.ee.ethz.ch?subject=help
> > > > Archive     http://www.ee.ethz.ch/~slist/smokeping-users
> > > > WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi
> > > >
> > > >
> > >
> > >
> >
> >
>
> --
> Unsubscribe
mailto:smokeping-users-request at list.ee.ethz.ch?subject=unsubscribe
> Help        mailto:smokeping-users-request at list.ee.ethz.ch?subject=help
> Archive     http://www.ee.ethz.ch/~slist/smokeping-users
> WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi
>
>

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



More information about the smokeping-users mailing list