master/checkmk/config/mysql.cfg

34 lines
1.1 KiB
INI

# Copyright (C) 2022 tribe29 GmbH - License: GNU General Public License v2
# This file is part of Checkmk (https://checkmk.com). It is subject to the terms and
# conditions defined in the file COPYING, which is part of this source code package.
# Created by Check_MK Agent Bakery.
# This file is managed via WATO, do not edit manually or you
# lose your changes next time when you update the agent.
[client]
user=checkmk
password="" # The password will be filled in here from the
# Docker secret during the entrypoint script.
socket=/var/run/mysqld/mysqld.sock
socket=/var/run/mysqld/mysqld2.sock
host=127.0.0.1
!include /etc/check_mk/mysql.local.cfg
[check_mk]
aliases=Alias1,Alias2
# There is always one alias per socket which can also be empty
# Example with three sockets, the second one has an empty alias:
# [client]
# user=monitoring
# password="password"
# socket=/var/run/mysqld/mysqld.sock
# socket=/var/run/mysqld/mysqld2.sock
# socket=/var/run/mysqld/mysqld3.sock
# host=127.0.0.1
# !include /etc/check_mk/mysql.local.cfg
# [check_mk]
# aliases=Alias1,,Alias3