Skip to content
Snippets Groups Projects
  • Jan Mach's avatar
    2e45fbd5
    Simplified all configuration files. · 2e45fbd5
    Jan Mach authored
    Descriptions of common parameters should be in the documentation, so that the updates do not have to be done on so many places. Additional documentation should be present only for script/daemon specific parameters. (Redmine issue: #3387)
    2e45fbd5
    History
    Simplified all configuration files.
    Jan Mach authored
    Descriptions of common parameters should be in the documentation, so that the updates do not have to be done on so many places. Additional documentation should be present only for script/daemon specific parameters. (Redmine issue: #3387)
mentat-dbmngr.py.conf 2.23 KiB
#-------------------------------------------------------------------------------
#
# CONFIGURATION FILE FOR MENTAT-DBMNGR.PY MODULE
#
#-------------------------------------------------------------------------------

{
    #---------------------------------------------------------------------------
    # Custom script configurations
    #---------------------------------------------------------------------------

    # Time interval delta in hours for watchdog checks.
    #   default: 2
    #   type: integer
    #
    #"watchdog_delta": 2,

    # Subject for the database watchdog emails.
    #   default: "Mentat database watchdog alert"
    #   type:    string
    #
    #"mail_subject": "Mentat database watchdog alert",

    # Source email address for the database watchdog emails.
    #   default: "root"
    #   type:    string
    #
    "mail_from": "root",

    # Target email address for the database watchdog emails.
    #   default: "root"
    #   type:    string
    #
    "mail_to": "root",

    # Execute as Nagios plugin (flag).
    #   default: false
    #   type:    bool
    #
    #"nagios_plugin": true,

    #---------------------------------------------------------------------------
    # Common script configurations
    #---------------------------------------------------------------------------

    #"regular": false,
    #"shell": false,
    #"command": "generate",
    "interval": "6_hourly",
    #"adjust_thresholds": false,
    #"time_high": null,

    #---------------------------------------------------------------------------
    # Common application configurations
    #---------------------------------------------------------------------------

    #"quiet": false,
    #"verbosity": 0,
    #"log_file": "/var/mentat/log/mentat-dbmngr.py.log",
    #"log_level": "info",
    #"runlog_dir": "/var/mentat/run/mentat-dbmngr.py",
    #"runlog_dump": false,
    #"runlog_log": false,
    #"pstate_file": "/var/mentat/run/mentat-dbmngr.py.pstate",
    #"pstate_dump": false,
    #"pstate_log": false,
    #"action": null,
    #"user": "mentat",
    #"group": "mentat",

    # This is a dummy last configuration so that the user does not have to fix
    # the commas in the whole configuration file after each change.
    "_dummy_": "_dummy_"
}