diff options
author | Sebastian Harl <sh@teamix.net> | 2011-04-15 11:35:09 (GMT) |
---|---|---|
committer | Sebastian Harl <sh@teamix.net> | 2012-06-06 12:10:55 (GMT) |
commit | d7a1f2a7a08aeaaf5efd0d454b2355554a413f2b (patch) | |
tree | 919b7c74f9365c0a2f7f9b75242ffcbaba9c6cfa /contrib/check_pcpmetric.py | |
parent | 61506bd8d7a095f5de571d21e37972a159372bdf (diff) | |
download | monitoring-plugins-d7a1f2a7a08aeaaf5efd0d454b2355554a413f2b.tar.gz |
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.
Diffstat (limited to 'contrib/check_pcpmetric.py')
0 files changed, 0 insertions, 0 deletions