CricketConfigManager - Manages the cricket config tree. It automatically writes and compiles the config.
use CricketConfigManager;
$CricketConfigManager->cfgwrite( $configuration, $configLocation );
$CricketConfigManager->updateTargets( $targetID, $rrdLocation );
$CricketConfigManager->readMonitorTable
$CricketConfigManager->cfgcompile
This ``Cricket'' Config Manager manages the cricket configuration tree making sure that whatever the user wants to configure from the web is correctly reflected in the cricket config tree. It also makes sure that the config is properly written by checking and using the configuration writer that comes with the plugin. Here are some usage examples:
updateTargets() - update target table with a new rrdLocation
targetID - target number from tha table rrdLocation - RRD file with complete path
cfgwrite() - write the configuration file
configuration - configuration data configLocation - configuration file with complete path
readMonitorTable() - read the targets table
cfgcompile() - compile the configuration file
CricketConfigManager is supported as part of the core Pawikan distribution. Please send bug report to <netapps@pregi.net> or use the bugzilla.
Edwin Viñas <edwinv@asti.dost.gov.ph>
Jerremeo Raynier Gabás <ren@asti.dost.gov.ph>
René Mendoza <renem@asti.dost.gov.ph>
Rey Vincent Babilonia <rvincent@asti.dost.gov.ph>
Paul Afroilan <paula@asti.dost.gov.ph>
Copyright (c) 2004 Philippine Research, Education and Government Information Network. All rights reserved. This program is part of the Pawikan distribution; you can redistribute it and/or modify it under the same terms as Pawikan itself.