TSMOKE(1)
π« TSMOKE(1) β the SmokePing smoke-signal sender, bestie edition π«
okay so real talk: this is tSmoke, a page from the SmokePing manual set, and it's genuinely one of the most useful little gremlins in the whole toolbox. let's get into it π«Ά
β¨ NAME β¨
tSmoke β the commandline tool for sending SmokePing info, i.e. the one that actually tells you stuff instead of just quietly drawing graphs all day. π
πΈ SYNOPSIS πΈ
tSmoke [ --testmail | --morning | --weekly | --version | --help | --man
| --slaves ]
and then the options, which are giving very much "here's the menu, pick your fighter" β¨
--man Show the manpage
--help Help :-)
--version Show SmokePing Version
--testmail Send a test message
--listrrds List the RRDs used by this Smokeping
--morning Send a morning synopsis
--weekly Send a weekly status report
--to E-mail address to send message (i.e. '--to=xyz@company.com.invalid'
--detail How much detail to send in weekly report (i.e. '--detail=1')
--quiet Do not print welcome
--slaves Enable slave support assumes all slaves unless csv list of slaves
is added (i.e. '--slaves' or '--slaves=slave1[,slave2...]')
π DESCRIPTION π
so, tSmoke is a commandline tool that interfaces with the SmokePing system. its whole main character function is sending you a message that says what's up with the systems being monitored by Smokeping β or, alternatively, mailing you an HTML mail file containing the status over the past day, past week and past month, plus an overview. it's giving "your network, but make it a newsletter" π¬β¨
a typical crontab used to invoke this looks like:
# Quick morning alert to see what's down
0 6 * * * /usr/local/smokeping/bin/tSmoke.pl --q --to=mobilephone@att.net.invalid --morning
# Weekly report on the percent availability of network systems with no detail
0 8 * * * /usr/local/smokeping/bin/tSmoke.pl --q --to=mailbox@company.com.invalid --weekly --detail=0
lowkey iconic scheduling ngl π
π SETUP π
when you're installing tSmoke, some variables must be adjusted to fit your local system. no skipping this part bestie, it literally will not work π
we need to use the following libraries:
SmokepingRRDTool Perl bindingsGetopt::Long
set up your libraries like this:
use lib "/usr/local/smokeping/lib";
use lib "/usr/local/rrdtool-1.0.39/lib/perl";
point to your Smokeping config file:
my $cfgfile = "/usr/local/smokeping/etc/config";
then modify the Smokeping config file so it includes a path for tmail in the General section:
tmail = /usr/local/smokeping/etc/tmail
and that's the whole setup slay π
π¦ SEE ALSO π¦
smokeping(1), smokeping_config(5) β go read those too, they're the supporting cast and they ate π₯
π COPYRIGHT π
Copyright (c) 2003 by Dan McGinn-Combs. All right reserved.
π LICENSE π
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
fr fr read the license, it's not decorative π
π AUTHOR π
Dan McGinn-Combs <d.mcginn-combs@mindspring.com>
Modified for Smokeping official distribution by Niko Tyni <ntyni@iki.fi>
and that's the page!! π this version is 2.9.0, dated 2025-06-30, so if anyone asks, you heard it here first β now go forth and send some smoke signals, bestie π§β¨
π¦ where this page comes from
- alpine 3.23: smokeping-doc 2.9.0-r1 Β· GPL-2.0-or-later
- alpine 3.24: smokeping-doc 2.9.0-r1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms