User Tools

Site Tools


smokeping

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
smokeping [2022/07/19 20:52] – created 85.134.209.200smokeping [2022/07/21 23:50] (current) – Updated formatting and added current config admin
Line 3: Line 3:
 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. 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.
  
 +**Updated for Debian Bullseye**
 +
 +<code>
  apt-get install smokeping  apt-get install smokeping
- <del>vi /etc/smokeping/config</del>+ 
 +By default apache2 config gets enabled: 
 +/etc/apache2/conf-enabled/smokeping.conf 
 +So http://domain/smokeping  will be work straight away. May want to change. 
  vi /etc/smokeping/config.d/General  vi /etc/smokeping/config.d/General
  #update contact and name etc.  #update contact and name etc.
 +</code>
  
 ===== Basic Config and Setup ===== ===== Basic Config and Setup =====
 +<code>
 vi /etc/smokeping/config.d/Targets vi /etc/smokeping/config.d/Targets
  + Burkesys_Cluster  + Burkesys_Cluster
Line 23: Line 32:
  title = twister.burkesys.com  title = twister.burkesys.com
  host = twister.burkesys.com  host = twister.burkesys.com
 +
 +</code>
  
 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 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
Line 28: Line 39:
  
 ===== Curl Config for Smokeping to Test Websites ===== ===== Curl Config for Smokeping to Test Websites =====
 +<code>
  vi /etc/smokeping/config.d/Probes  vi /etc/smokeping/config.d/Probes
  #Under *** Probes ***, you will see FPing. Add this under it.  #Under *** Probes ***, you will see FPing. Add this under it.
Line 50: Line 62:
  /etc/init.d/smokeping restart  /etc/init.d/smokeping restart
  
 +</code>
 ===== DNS Test Config for Smokeping to Test Websites ===== ===== DNS Test Config for Smokeping to Test Websites =====
 +<code>
  vi /etc/smokeping/config.d/Probes  vi /etc/smokeping/config.d/Probes
  + DNS  + DNS
Line 69: Line 83:
  
 /etc/init.d/smokeping restart /etc/init.d/smokeping restart
 +</code>
  
 ===== Debug smokeping ===== ===== Debug smokeping =====
 +<code>
  /etc/init.d/smokeping stop  /etc/init.d/smokeping stop
  smokeping --debug  smokeping --debug
 +</code>
smokeping.1658260370.txt.gz · Last modified: 2022/07/19 21:13 (external edit)