zephir.monitor.agentmanager.config

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 = ``{``'``action_dir``'``:` `'``./actions``'``,` `'``config_dir``'``:` `'``./``...``
| RRD_TIME_ORIGIN = `datetime.datetime(1970, 1, 1, 0, 0)`
| __package__ = ``'``zephir.monitor.agentmanager``'``

Variables Details

  ### DEFAULT_CONFIG Value:
      {'action_dir': './actions',
       'config_dir': './configs',
       'host_ref': '0',
       'state_dir': './stats',
       'static_base_url': '/static',
       'static_web_dir': './static',
       'tmp_data_dir': './data',
       'upload_period': 600,
      ...