Skip to content
Snippets Groups Projects
mentat-dbmngr.py.conf 2.23 KiB
Newer Older
#-------------------------------------------------------------------------------
#
# CONFIGURATION FILE FOR MENTAT-DBMNGR.PY MODULE
#
#-------------------------------------------------------------------------------

Jan Mach's avatar
Jan Mach committed
{
    #---------------------------------------------------------------------------
    # Custom script configurations
    #---------------------------------------------------------------------------

    # Time interval delta in hours for watchdog checks.
    #   default: 2
    #"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
    #
Jan Mach's avatar
Jan Mach committed
    "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_"
Jan Mach's avatar
Jan Mach committed
}