Difference: EntryDescriptionNo91 (1 vs. 5)

Revision 52010-09-05 - RogerioIope

Line: 1 to 1
 
META TOPICPARENT name="LogBook"

Instalação do PingER na access.sprace.org.br

Description

Changed:
<
<
  • Instruções de instalação do PingER desta página.
>
>
  • Instruções de instalação do PingER nesta página.
 
  • Necessário instalar uma biblioteca perl usando cpan
perl -MCPAN -e shell

Line: 166 to 166
 http://www-iepm.slac.stanford.edu/cgi-wrap/pingtable.pl
Added:
>
>

Rogério em 05/09/2010

  • Ativação do alias permanente 'pinger.sprace.org.br' no DNS, apontando para o servidor que estiver rodando os scripts do pinger.
 -- MarcoAndreFerreiraDias - 02 Oct 2009

Revision 42010-09-04 - RogerioIope

Line: 1 to 1
 
META TOPICPARENT name="LogBook"

Instalação do PingER na access.sprace.org.br

Line: 66 to 66
 lembrar de atualizar o serial e restartar o named

Updates

Deleted:
<
<

Fulano em dd/mm/aaaa

Coloca o que fez.

Ciclano em dd/mm/aaaa

Mais comentarios
 
Added:
>
>

Rogério em 04/09/2010

 
Added:
>
>
  • Instruções da instalação antiga, no servidor spruna (fevereiro/2006)
Monitoring server: spruna - Intel server with SL release 4.1 (Beryllium)
HTTP server: Apache 2.0.52 (http://spruna.if.usp.br)
Perl interpreter: 5.8.5
Server detailed information (list of environment variables):
http://spruna.if.usp.br/cgi-bin/env.pl

Installation instructions at:
http://pinger.fnal.gov/frame_ping_instruct.html

(1) timeping.pl (1.1.18) taken from
   http://pinger.fnal.gov/timeping.pl,
   installed at /usr/local/netmon/
   and made executable with chmod command.

(2) Variables in timepng.pl were set to:
   $ping_data_dir --> /usr/local/netmon
   $ping --> /bin/ping
   $ping_cmd --> set for AIX, IRIX, Linux, etc

(3) File ping_dest.txt created at
   /usr/local/netmon/ping_dest.txt

(4) Two entries to crontab were added
   15,45 * * * * /usr/local/netmon/timeping.pl \
     /usr/local/netmon/ping_dest.txt 1000

   16,46 * * * * /usr/local/netmon/timeping.pl \
     /usr/local/netmon/ping_dest.txt 100

   (which one should we use? or both?)

   Answer (Aziz Allaudin Rehmatullah, SLAC):
   > Just eliminate the 100 and 1000 and use one crontab.
   > /usr/local/netmon/ping_dest.txt

(5) ping_data.pl (1.1.4) taken from
   http://pinger.fnal.gov/ping_data.pl
   and put into our server's CGI directory
   /var/www/cgi-bin.
   Then variables in ping_data were set to
   $stats_dir --> /usr/local/netmon/  (not sure about that!)
   $sites_fn --> /usr/local/netmon/ping_dest.txt

   (where should $stats_dir be pointed to?)

   Answer (Aziz Allaudin Rehmatullah, SLAC): 
   > This should point to where the PingER stores the data (where the data
   > directory is located). For instance if the raw data (file names like
   > ping-2005-08.txt are located in /usr/local/netmon/pinger/data , it
   > would be stats_dir --> /usr/local/netmon/pinger

(6) cgi-lib.pl (1.6) taken from
   http://pinger.fnal.gov/cgi_lib.pl
   and put in /var/www/cgi-lib/ directory.

Extra instructions (Aziz Allaudin Rehmatullah, SLAC - February 2006):

Once it s done and the data files are being generated, following steps
should be performed for us to properly download your pinger
information daily. You do not need to set any firewall permissions.
Installed in your cgi-bin directory on your PingER machine
(spruna.if.usp.br) should be 2 scripts, ping_data.pl and cgi_lib.pl.
If you do not have these scripts, follow the steps below to get them:

wget  http://pinger.fnal.gov/cgi_lib.pl
wget  http://pinger.fnal.gov/ping_data.pl

http://pinger.fnal.gov/ping_data.pl -O ping_data.pl

(note: you may have to adjust the shebang line according to how your
machine is configured.)

Open cgi-bin/ping_data.pl:
(1) edit the line: require "/afs/slac/g/www/cgi-lib/cgi-lib.pl";
to read: require "[cgi-path]/cgi-lib.pl"; where [cgi-path]
is the fully qualified path to your cgi-bin dir.

(2) edit the line: $stats_dir = "/nfs/oceanus/u1/pinger/wanmon/data";
to read: $stats_dir = "[dir]/data"; where [dir] is the
directory where your pinger data is stored.

(3) edit the line: $sites_fn = "/afs/slac/www/comp/net/mon/offsite.nodes";
to read: $sites_fn = "[dir]/offsite.nodes";  where [dir] is
the directory where your offsite.nodes file is located. Often at the directory
you detarred this package within.

Once this is done and you've tested that you can see ping_data.pl from
a web-browser, send us the URL.  We have a script that runs nightly to
this particular URL (with the proper cgi variables set) to
automatically query your pinger data for the last day's collection of
data and stores it in a repository here at SLAC used to present the data at:

 
Added:
>
>
http://www-iepm.slac.stanford.edu/cgi-wrap/pingtable.pl
  -- MarcoAndreFerreiraDias - 02 Oct 2009 \ No newline at end of file

Revision 32009-10-12 - MarcoAndreFerreiraDias

Line: 1 to 1
 
META TOPICPARENT name="LogBook"

Instalação do PingER na access.sprace.org.br

Line: 47 to 47
 
      • Você deve observar esta página.
Deleted:
<
<
 cd /var/www/cgi-bin
wget ftp://ftp.slac.stanford.edu/software/pinger/pinghistory/mon-lib.pl
chmod a+x mon-lib.pl
wget http://www.slac.stanford.edu/comp/net/mon/tool/getsite.cf
wget ftp://ftp.slac.stanford.edu/software/pinger/connectivity/connectivity.head
wget ftp://ftp.slac.stanford.edu/software/pinger/connectivity/connectivity.foot
wget ftp://ftp.slac.stanford.edu/software/pinger/connectivity/connectivity.cf
wget ftp://ftp.slac.stanford.edu/software/pinger/connectivity/connectivity.pl
chmod a+x connectivity.pl
    • mudar a primeira linha do connectivity.pl para apontar para o local da instalação do perl.
    • Configure connectivity.cf

 
Deleted:
<
<
  • Instalação do ping_data_plot
    • Instaladas dependências: gnuplot e netbpm (último para satisfazer o ppmtogif ) usando yum.
wget http://icfamon.dl.ac.uk/ppncg/src/ping_data_plot.pl
 chmod a+x ping_data_plot.pl
wget http://icfamon.dl.ac.uk/ppncg/src/ping_data_plot.cf
wget http://icfamon.dl.ac.uk/ppncg/src/frequency.pl
chmod a+x frequency.pl
    • Editado os seguintes parâmetros:

 
  • Instalar um executável para limpar os dados periódicamente, rodando todo dia 28 do mês à meia-noite

Revision 22009-10-05 - MarcoAndreFerreiraDias

Line: 1 to 1
 
META TOPICPARENT name="LogBook"

Instalação do PingER na access.sprace.org.br

Line: 39 to 39
 
      • chmod a+x ping_data.pl cgi-lib.pl
      • Você deve observar esta página.
Added:
>
>
  *Instalação do servidor traceroute, ainda no diretório cgi-bin
wget http://www.slac.stanford.edu/comp/net/traceroute/traceroute.pl
chmod a+x traceroute.pl
      • Você deve observar esta página.
Added:
>
>
 cd /var/www/cgi-bin
wget ftp://ftp.slac.stanford.edu/software/pinger/pinghistory/mon-lib.pl
chmod a+x mon-lib.pl
wget http://www.slac.stanford.edu/comp/net/mon/tool/getsite.cf
wget ftp://ftp.slac.stanford.edu/software/pinger/connectivity/connectivity.head
wget ftp://ftp.slac.stanford.edu/software/pinger/connectivity/connectivity.foot
wget ftp://ftp.slac.stanford.edu/software/pinger/connectivity/connectivity.cf
wget ftp://ftp.slac.stanford.edu/software/pinger/connectivity/connectivity.pl
chmod a+x connectivity.pl
    • mudar a primeira linha do connectivity.pl para apontar para o local da instalação do perl.
    • Configure connectivity.cf

  • Instalação do ping_data_plot
    • Instaladas dependências: gnuplot e netbpm (último para satisfazer o ppmtogif ) usando yum.
wget http://icfamon.dl.ac.uk/ppncg/src/ping_data_plot.pl
 chmod a+x ping_data_plot.pl
wget http://icfamon.dl.ac.uk/ppncg/src/ping_data_plot.cf
wget http://icfamon.dl.ac.uk/ppncg/src/frequency.pl
chmod a+x frequency.pl
    • Editado os seguintes parâmetros:

 
  • Instalar um executável para limpar os dados periódicamente, rodando todo dia 28 do mês à meia-noite
cd /usr/local/share/pinger/

Line: 54 to 87
 0 0 28 * * /usr/local/share/pinger/pinger_trimmer.pl
Added:
>
>
Um alias foi feito no nosso servidor DNS (osg-ce) p/ a access no DNS com o nome pinger.sprace.org.br.
vim /var/named/chroot/var/named/sprace.org.br.zone
pinger  IN      CNAME           access
lembrar de atualizar o serial e restartar o named
 

Updates

Fulano em dd/mm/aaaa

Coloca o que fez.

Revision 12009-10-02 - MarcoAndreFerreiraDias

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="LogBook"

Instalação do PingER na access.sprace.org.br

Description

  • Instruções de instalação do PingER desta página.
  • Necessário instalar uma biblioteca perl usando cpan
perl -MCPAN -e shell
cpan> install XML::Simple
cpan> quit
  • Para instalação no /usr/local/share/pinger , como root
wget http://www.rnoc.gatech.edu/pinger2/software/pinger-2.0.2.tar.gz 
tar xzf pinger-2.0.2.tar.gz
cd pinger-2.0.2
./configure
make test_prereqs
make
make install
make install_cron
  • Software adicional instalado conforme estas instruções.
    • Instalação do ping_data.pl
      • Pré-requisito: servidor httpd na access : yum install httpd . Diretório cgi em /var/www/cgi-bin/
      • cd /var/www/cgi-bin/
        wget http://www.slac.stanford.edu/comp/net/mon/tool/ping_data.pl
        wget http://cgi-lib.berkeley.edu//cgi-lib.pl.txt
        mv cgi-lib.pl.txt cgi-lib.pl
        
      • Editar as seguintes linhas:
require "/var/www/cgi-bin/cgi-lib.pl";
my $stats_dir = "/usr/local/share/pinger/data"; 
my $sites_fn = "/usr/local/share/pinger/beacons.txt";
      • chmod a+x ping_data.pl cgi-lib.pl
      • Você deve observar esta página. *Instalação do servidor traceroute, ainda no diretório cgi-bin
wget http://www.slac.stanford.edu/comp/net/traceroute/traceroute.pl
chmod a+x traceroute.pl
      • Você deve observar esta página.
  • Instalar um executável para limpar os dados periódicamente, rodando todo dia 28 do mês à meia-noite
cd /usr/local/share/pinger/
wget http://www.slac.stanford.edu/comp/net/mon/tool/pinger_trimmer.pl
chmod a+x pinger_trimmer.pl
 crontab -e
0 0 28 * * /usr/local/share/pinger/pinger_trimmer.pl 

Updates

Fulano em dd/mm/aaaa

Coloca o que fez.

Ciclano em dd/mm/aaaa

Mais comentarios

-- MarcoAndreFerreiraDias - 02 Oct 2009

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback

antalya escort bursa escort eskisehir escort istanbul escort izmir escort