summaryrefslogtreecommitdiffstats
path: root/plugins/check_dbi.c
diff options
context:
space:
mode:
authordatamuc <data@consol.de>2022-01-25 09:57:02 (GMT)
committerGitHub <noreply@github.com>2022-01-25 09:57:02 (GMT)
commite2397167c7e5c7a02b68de45de946f63706e7d12 (patch)
treeed0a0addc229083d132a2c7e4a9b0a96a72d5aaa /plugins/check_dbi.c
parent49bf8b3e61264d9783b07bc1299492c448e3a0eb (diff)
downloadmonitoring-plugins-e2397167c7e5c7a02b68de45de946f63706e7d12.tar.gz
add --queryname parameter to check_pgsql (#1741)
This is used in the long output instead of the actual query. So instead of OK - 'select stuff from various, tables where some_stuff is null and other_stuff is not null' returned 42 one can use --queryname=check_greatest_basket and it will print OK - check_greatest_basket returned 42 That's nicer for alerting purposes, at least in our use case.
Diffstat (limited to 'plugins/check_dbi.c')
0 files changed, 0 insertions, 0 deletions