author | Sebastian Harl <sh@teamix.net> | |
Fri, 15 Apr 2011 11:35:09 +0000 (13:35 +0200) | ||
committer | Sebastian Harl <sh@teamix.net> | |
Fri, 15 Apr 2011 12:37:08 +0000 (14:37 +0200) | ||
commit | ae3fb3f2933827f8d4ffc8c25d9a94d15f82e322 | |
tree | c3f26894140f81fa90834392b1b65c8d52170148 | tree | snapshot |
parent | 80b9d32ced409be574340ca6b868dd23d81be320 | commit | diff |
check_dbi: Replaced -W/-C with -m.
The -m option may be used to specify a metric to check the thresholds against.
This is more flexible than --conntime-warning/--conntime-critical (-W/-C) as
it may be extended to support further metrics without introducing tons of
arguments. Also, it does not make much sense to check the conntime and query
result at the same time.
Currently, the metrics CONN_TIME and QUERY_RESULT are available.
A query is no longer required unless QUERY_RESULT (the default) is used.
The -m option may be used to specify a metric to check the thresholds against.
This is more flexible than --conntime-warning/--conntime-critical (-W/-C) as
it may be extended to support further metrics without introducing tons of
arguments. Also, it does not make much sense to check the conntime and query
result at the same time.
Currently, the metrics CONN_TIME and QUERY_RESULT are available.
A query is no longer required unless QUERY_RESULT (the default) is used.
plugins/check_dbi.c | diff | blob | history |