Swiss Original. Mirrors: DE, US, IE, TW

Smokeping::Examples

Overview

This module generates smokeping_examples and the example configuration files distributed with Smokeping. It is supposed to be invoked from the smokeping distribution top directory, as it will need the etc/config.dist template configuration file and will create files in the directories doc and doc/examples.

Description

The entry point to the module is the make subroutine. It takes one optional parameter, check, that makes the module run a syntax check for all the created example configuration files.

Bugs

This module uses more or less internal functions from Smokeping.pm. It's a separate module only because the latter is much too big already.

It should be possible to include POD markup in the configuration explanations and have this module filter them away for the config files.

It might be nice for the probe module authors to be able to provide an example configuration as part of the probe module instead of having to modify Smokeping::Examples too.

Copyright

Copyright 2005 by Niko Tyni.

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.

Author

Niko Tyni <ntyni@iki.fi>

04/29/2007 | Niko Tyni | OETIKER+PARTNER AG

NOTE: The content of this website is accessible with any browser. The graphical design though relies completely on CSS2 styles. If you see this text, this means that your browser does not support CSS2. Consider upgrading to a standard conformant browser like Mozilla Firefox or Opera but also Apple's Safari or KDE's Konqueror for example. It may also be that you are looking at a mirror page which did not copy the CSS for this page.