apt-get install -y apache2 apache2-mpm-prefork
a2ensite default
Ставим smokeping:
apt-get install -y smokeping
После этого добавляем следующее в самый низ файла целей мониторинга:
vi /etc/smokeping/config.d/Targets
+ World
menu = World
title = World
++ IT
menu = IT
title = IT connectivity
+++ Vkontakte
menu = Vkontakte
title = Vkontakte
host = vkontakte.ru
+++ Yandex
menu = Yandex
title = Yandex
host = yandex.ru
menu = Google
title = Google
host = google.com
++ Europe
menu = Europe
title =European Connectivity
+++ Germany
menu = Germany
title = German Connectivity
alerts = bigloss,someloss,startloss
++++ Heise
menu = Heise
title = Heise
host = www.heise.de
+++ UK
menu = United Kingdom
title = United Kingdom
++++ BBC
menu = BBC
title = BBC
host = bbc.co.uk
++ USA
menu = North America
title =North American Connectivity
+++ MIT
menu = MIT
title = Massachusetts Institute of Technology Webserver
host = web.mit.edu
И перезапускаем демона:
/etc/init.d/smokeping restart
После этого заходим в админку сервиса: http://ваш_ip/cgi-bin/smokeping.cgi
Источник: http://www.howtoforge.com/monitoring-network-latency-with-smokeping-ubuntu-9.04
No comments :
Post a Comment
Note: only a member of this blog may post a comment.