From Wiki

Jump to: navigation, search

Smokeping is a very useful daemon which can run a number of checks at certain intervals. Out of the box it will perform ping tests on hosts every 5 minutes. It can however be setup to monitor websites and response/connection times.

apt-get install smokeping
vi /etc/smokeping/config
vi /etc/smokeping/config.d/General
#update contact and name etc.


Basic Config and Setup

vi /etc/smokeping/config.d/Targets

+ Burkesys_Cluster
menu = Burkesys Cluster
title = Burkesys Cluster

++ burkesys
menu = Burkesys
title =
host =

++ twister
menu = Twister
title =
host =

With some trial and error you'll get it. Apache should be setup with the following config: /etc/apache2/conf.d/smokeping. Just go to http://server/smokeping/smokeping.cgi Also watch /var/log/daemon.log where the smokeping daemon will send logs.

Curl Config for Smokeping to Test Websites

vi /etc/smokeping/config.d/Probes
#Under *** Probes ***, you will see FPing. Add this under it.

+ Curl

binary = /usr/bin/curl
extraargs = --head
pings = 5
urlformat = http://%host%/
vi /etc/smokeping/config.d/Targets

++ www_burkesys
probe = Curl
menu = Burkesys(www)
title =
host =
apt-get install curl
#check that /usr/bin/curl exists.
/etc/init.d/smokeping restart

DNS Test Config for Smokeping to Test Websites

vi /etc/smokeping/config.d/Probes

binary = /usr/bin/dig
pings = 5
step = 300
timeout = 15
vi /etc/smokeping/config.d/Targets
++ ns1_burkesys_com
probe = DNS
menu = Burkesys (ns1)
title = Burkesys NS Server(
host =
lookup =
server =

/etc/init.d/smokeping restart

Debug smokeping

/etc/init.d/smokeping stop
smokeping --debug
Personal tools