viernes, 17 de septiembre de 2010

Smokeping en Squeeze



Aca otro mirror post(tomado de linux para todos) de un buen articulo sobre como medir latencia en la red con el grafico respectivo.

Instalando los prerequisitos
debian:~# apt-get install curl libauthen-radius-perl libnet-ldap-perl libnet-dns-perl libio-socket-ssl-perl libnet-telnet-perl libsocket6-perl libio-socket-inet6-perl apache2

Instalando el smokeping
debian:~# apt-get install smokeping

Modificamos dos archivos dentro de la carpeta /etc/smokeping/config.d/
El archivo General

debian:/etc/smokeping/config.d# cat General
*** General ***

@include /etc/smokeping/config.d/pathnames

# Please edit this to suit your installation
owner = Joe Random
contact = joe@some.place.xyz
cgiurl = http://192.168.1.4/cgi-bin/smokeping.cgi
mailhost = smtp.mailhost.abc
# specify this to get syslog logging
syslogfacility = local0
# each probe is now run in its own process
# disable this to revert to the old behaviour
# concurrentprobes = no

Y el archivo Targets donde configuramos los Pcs que deseamos monitorear

logzilla:/etc/smokeping/config.d# cat Targets
*** Targets ***

probe = FPing

## You have to edit and uncomment all what you want below this.
# Please, refer to smokeping_config man page for more info
# The given adresses aren't real to avoid DoS.

menu = Top
title = Network Latency Grapher
remark = Welcome to the SmokePing website of 'A poorly \
mantained site running Debian.'

+ Local

menu = Local
title = Local Network

++ LocalMachine

menu = Local Machine
title = This host
host = localhost

+ Server
menu = Servers
title = Servers

++ Servidor_fw
menu = fw 192.168.1.2
title = fw 192.168.1.2
host = 192.168.1.2

+ App
menu = Aplicativos
title = Aplicativos

++ Servidor_BD
menu = BD 192.168.1.3
title = BD 192.168.1.3
host = 192.168.1.3

Se reinicia el apache y el smokeping
debian:~# /etc/init.d/apache2 restart
debian:~# /etc/init.d/smokeping start

Luego de unos momento vemos que captura data

http://192.168.1.4/cgi-bin/smokeping.cgi

Aca dos pantallazos de otro smokeping corriendo sobre un server





Saludos

Fuente:
http://www.linuxparatodos.net/portal/article.php?story=smokeping-debian-ubuntu
http://oss.oetiker.ch/smokeping/

No hay comentarios.: