Package zephir :: Package monitor :: Package agentmanager :: Module config
[frames] | no frames]

Module config

source code


Singleton contenant les données globales de configuration.

Usage :
  from zephir.monitor.agentmanager import config as cfg
  cfg.whatever_you_need



Functions
 
client_data_dir(config, client_name) source code
 
agent_data_dir(config, client_name, agent_name) source code
 
agent_metadata_file(config, client_name, agent_name) source code
Variables
  id_serveur = 0
  distrib_version = 4
  DEFAULT_CONFIG = {'host_ref': str(id_serveur), 'webserver_port...
  RRD_TIME_ORIGIN = datetime(1970, 1, 1)
Variables Details

DEFAULT_CONFIG

Value:
{'host_ref': str(id_serveur), 'webserver_port': 8090, 'static_web_dir'\
: os.path.join(os.path.curdir, 'static'), 'static_base_url': '/static'\
, 'tmp_data_dir': os.path.join(os.path.curdir, 'data'), 'config_dir': \
os.path.join(os.path.curdir, 'configs'), 'state_dir': os.path.join(os.\
path.curdir, 'stats'), 'uucp_dir': os.path.join(os.path.curdir, 'uucp'\
), 'action_dir': os.path.join(os.path.curdir, 'actions'), 'upload_peri\
od': 600,}