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



This module handles all special functionality required by smokeping running in master mode.



Extract the relevant configuration information for the selected slave. The configuration will only contain the information that is relevant for the slave. Any parameters overwritten in the Slaves section of the configuration file will be patched for the slave.

save_updates (updates)

When the cgi gets updates from a client, these updates are saved away, for each 'target' so that the updates can be integrated into the relevant rrd database by the rrd daemon as the next round of updates is processed. This two stage process is chosen so that all results flow through the same code path in the daemon.

The updates are stored in the directory configured as 'dyndir' in the 'General' configuration section, defaulting to the value of 'datadir' from the same section if 'dyndir' is not present.


Read in all updates provided by the selected slave and return an array reference.


Read the secrets file and figure the secret for the slave which is talking to us.


Answer the requests from the slave by accepting the data, verifying the secrets and providing updated config information if necessary.


Copyright 2007 by Tobias Oetiker


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.


Tobias Oetiker <>

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.