3
<TITLE>smokeping</TITLE>
4
<LINK REV="made" HREF="mailto:karrer@iis.ee.ethz.ch">
9
<A NAME="__index__"></A>
15
<LI><A HREF="#name">NAME</A></LI>
16
<LI><A HREF="#synopsis">SYNOPSIS</A></LI>
17
<LI><A HREF="#description">DESCRIPTION</A></LI>
18
<LI><A HREF="#setup">SETUP</A></LI>
19
<LI><A HREF="#copyright">COPYRIGHT</A></LI>
20
<LI><A HREF="#license">LICENSE</A></LI>
21
<LI><A HREF="#author">AUTHOR</A></LI>
27
<H1><A NAME="name">NAME</A></H1>
28
<P>smokeping - Commandline tool for SmokePing</P>
31
<H1><A NAME="synopsis">SYNOPSIS</A></H1>
32
<P><STRONG>smokeping</STRONG> [ <STRONG>--email</STRONG> | <STRONG>--makepod</STRONG> | <STRONG>--version</STRONG> | <STRONG>--restart</STRONG> ]</P>
36
--email Send SmokePing Agents to all Targets marked DYNAMIC
37
--makepod Create POD documentation on Config file
38
--version Show SmokePing Version
39
--debug Run Only once and do not Fork
40
--restart Restart SmokePing
41
--nodemon Do no demonize the process (no fork)</PRE>
44
<H1><A NAME="description">DESCRIPTION</A></H1>
45
<P>The <STRONG>smokeping</STRONG> tool is the commandline part of the SmokePing system. Its
46
main function is to run as a daemon and send Pings to all the Targets you
47
have specified in the Config file. When you call <STRONG>smokeping</STRONG> without
48
arguments it will start as a daemon and do it's work.</P>
49
<P>If called with an argument, then further functions can be activated, as seen
50
in the Synopsis above. The <STRONG>--email</STRONG> function is explained in the
51
documentation on the config file.</P>
52
<P>The <STRONG>--makepod</STRONG> does get used internally to produce the documentation on
53
the SmokePing configuration file.</P>
54
<P>Please refer to the installation document for detailed setup instructions.</P>
57
<H1><A NAME="setup">SETUP</A></H1>
58
<P>When installing SmokePing, this file has to be adjusted to fit your
59
local system. Three paths have to be entered.</P>
61
use lib qw(/usr/pack/rrdtool-1.0.33-to/lib/perl);</PRE>
62
<P>One pointing to your <STRONG>rrdtool</STRONG> installation</P>
64
use lib qw(/home/oetiker/public_html/smokeping/lib);</PRE>
65
<P>One pointing to the place where you have installed the SmokePing libraries</P>
69
Smokeping::main("/home/oetiker/.smokeping/config");</PRE>
70
<P>The third path is the argument to the Smokeping::main command. It points to
71
the SmokePing configuration file.</P>
74
<H1><A NAME="copyright">COPYRIGHT</A></H1>
75
<P>Copyright (c) 2001 by Tobias Oetiker. All right reserved.</P>
78
<H1><A NAME="license">LICENSE</A></H1>
79
<P>This program is free software; you can redistribute it
80
and/or modify it under the terms of the GNU General Public
81
License as published by the Free Software Foundation; either
82
version 2 of the License, or (at your option) any later
84
<P>This program is distributed in the hope that it will be
85
useful, but WITHOUT ANY WARRANTY; without even the implied
86
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
87
PURPOSE. See the GNU General Public License for more
89
<P>You should have received a copy of the GNU General Public
90
License along with this program; if not, write to the Free
91
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA
95
<H1><A NAME="author">AUTHOR</A></H1>
96
<P>Tobias Oetiker <<A HREF="mailto:tobi@oetiker.ch">tobi@oetiker.ch</A>></P>