/usr/share/check_mk/checks-man/mysql.sessions is in check-mk-server 1.2.8p16-1ubuntu0.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | title: MySQL Database sessions
agents: linux
catalog: app/mysql
license: GPL
distribution: check_mk
description:
This check allows tracking of the session parameters for a MySQL database.
It reports how many sessions there are in total, how many of them are
active, and at what rate new sessions are generated.
It allows to set {WARN} and {CRIT} tresholds on any of these parameters.
The data is gathered from the {show global status} query.
inventory:
The check generates one item per instance for the sessions connected to the MySQL daemon.
perfdata:
The check generates perfdata for the total and running sessions, and the
connection rate.
[configuration]
warn(int): number of sessions at which the check goes warn
crit(int): number of sessions for a critical state
|