You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/plugins/check_mssql_health.md
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,9 @@
1
1
---
2
2
title: check_mssql_health
3
3
tags:
4
-
- "sql server"
4
+
- plugins
5
+
- check_mssql_health
6
+
- sql server
5
7
- mssql
6
8
- database
7
9
---
@@ -280,16 +282,17 @@ Now you can address the instances e.g. with **\--server dbsrv1instance02** . By
280
282
281
283
With recent versions of fteetds it is no longer necessary to maintain a freetds.conf. With **\--server \<FQDN>\\\<Instanz>** it should be possible to establish a connection. This requires a running Service Browser on the database server.
Copy file name to clipboardExpand all lines: content/en/docs/plugins/check_mysql_health.md
+18-22Lines changed: 18 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,8 @@
1
1
---
2
2
title: check_mysql_health
3
3
tags:
4
+
- plugins
5
+
- check_mysql_health
4
6
- mysql
5
7
- database
6
8
---
@@ -11,27 +13,27 @@ check_mysql_health is a plugin to check various parameters of a MySQL database.
11
13
12
14
### Command line parameters
13
15
14
-
*\--hostname
16
+
*\--hostname
15
17
The database server which should be monitored. In case of "localhost" this parameter can be omitted.
16
-
*\--username
18
+
*\--username
17
19
The database user.
18
-
*\--password
20
+
*\--password
19
21
Password of the database user.
20
-
*\--database
22
+
*\--database
21
23
The database the plugin will connect to. Default: information_schema.
22
-
*\--mode
24
+
*\--mode
23
25
With the mode-parameter you tell the plugin what it should do. See the list of possible values further down.
24
-
*\--name
26
+
*\--name
25
27
Here the check can be limited to a single object. (Momentarily this parameter is only used for mode=sql)
26
-
*\--name2
28
+
*\--name2
27
29
If you use \--mode=sql, then the SQL-Statement appears in the output and performance values. With the parameter name2 you're able to specify a string for this..
28
-
*\--warning
30
+
*\--warning
29
31
Determined values outside of this range trigger a WARNING.
30
-
*\--critical
32
+
*\--critical
31
33
Determined values outside of this range trigger a CRITICAL.
32
34
*\--environment =
33
35
With this you can pass environment variables to the script. Multiple declarations are possible.
34
-
*\--method
36
+
*\--method
35
37
With this parameter you tell the plugin how it should connect to the database. (dbi for using DBD::mysql (default), mysql for mysql-Tool).
36
38
*\--units <%|KB|MB|GB>
37
39
The declaration from units serves the "beautification" of the output from mode=sql
@@ -65,7 +67,7 @@ Use the option \--mode with various keywords to tell the Plugin which values it
65
67
| cluster-ndb-running | Checks if all cluster nodes are running. ||
66
68
67
69
68
-
The Hitrate of the Query-Cache is calculated from Qcache_hits / ( Qcache_hits + Com_select ). This values are continuously increased.
70
+
The Hitrate of the Query-Cache is calculated from Qcache_hits / ( Qcache_hits + Com_select ). This values are continuously increased.
69
71
This value is calculated through the difference (delta) between Qcache_hits and Com_select (actual value of the variables minus the value since the last run from check_mysql_health).
70
72
Several other metrics are also calculated based on the delta of their underlieing counters. By default it's the delta between the value at current timestamp and the counter value when the plugin was last run.
71
73
Here the command line parameterlookback can be used. It takes seconds as an argument. The calculation then uses the delta between now and the counter value at this specific amount of seconds in the past.
@@ -155,21 +157,15 @@ The group of the check_mysql_health plugin. (default: nagios)
155
157
Specify the path to the perl interpreter you wish to use. (default: perl in PATH)
You can find the changelog [here](https://github.com/lausser/check_mysql_health/blob/master/ChangeLog).
164
164
165
165
## Copyright
166
-
167
166
Gerhard Laußer
168
167
169
-
Check_mysql_health is published under the GNU General Public License. GPL</p>
170
-
171
-
## Autor
172
-
173
-
Gerhard Laußer (gerhard.lausser@consol.de) gladly answers questions to this plugin. You got two minutes for free. If the answer takes longer than that you need a support contract.
174
-
168
+
Check_mysql_health is published under the GNU General Public License. [GPL](https://www.gnu.org/licenses/licenses.html#GPL)
175
169
170
+
## Author
171
+
Gerhard Laußer ([gerhard.lausser@consol.de](mailto:gerhard.lausser@consol.de)) gladly answers questions to this plugin. You got two minutes for free. If the answer takes longer than that you need a support contract.
0 commit comments