ConfigHelper¶
-
class
sitchlib.
ConfigHelper
(sitch_var_base_dir='/data/sitch/')[source]¶ Manage configuration information for entire SITCH Sensor.
-
classmethod
get_filebeat_template
(filename='/etc/templates/filebeat.json')[source]¶ Get the filebeat config from template file.
-
classmethod
get_list_from_env
(k, optional=False)[source]¶ Get a list from environment variables.
If optional=True, the absence of this var will cause a hard exit.
-
classmethod