Dr. Dobb's is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.


Channels ▼
RSS

Monitoring Latency with Smokeping


The smokeping Configuration Script

The configuration script for smokeping contains the following sections:

General: The General section defines the directory and file locations for rrdtool data, images, sendmail, and smokemail. Email addresses and URL information are also specified in this section. Many of these configuration values are mandatory for the operation of smokeping. It will not work correctly if they are not changed to match your specific configuration.

Database: The Database section defines how often smokeping will poll a device in seconds (step) and how many attempts will be made during that poll period (pings). The default ping setting is to send 20 requests at a step rate of 300 seconds (5 minutes). Smokeping not only records the round-trip latency for each request, but also records whether a request was lost. The rrdtool database is defined here as well. This informs RRD of how it should store and consolidate the data over time.

Presentation: The Presentation section is used to specify the sizes of the overview and detail graphs. It also controls the ranges for each of the details graphs in hours or days. The default settings for the four detail graphs are: 3 hours, 30 hours, 10 days, and 400 days. These can be change to meet your needs.

Probes: Smokeping doesn't provide any tools for probing the network services to determine latency. The external applications like fping and echoping are defined here. The full path to each binary is specified for the smokeping application to use for each probe type: ping, http, https, and smtp.

Targets: The Targets are the devices and servers to monitor for latency by smokeping. The targets are organized into sections in a hierarchical order. Each section starts at level 1 with a single plus (+) sign and the section name. A menu name and title can also be defined for this level and higher levels. Using additional plus signs delineates higher levels. The probe is configured for each section at either level 1 or level 2. It references the probe defined in the probe section of the configuration file. It also defines in more detail about how the probe is supposed to work for this section. The target host can be defined at any level for smokeping to obtain the latency information. The host can be specified as an IP address or as a hostname.


Related Reading


More Insights






Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

 
Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.