diff options
author | datamuc <data@consol.de> | 2022-01-25 10:57:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-25 10:57:02 +0100 |
commit | e2397167c7e5c7a02b68de45de946f63706e7d12 (patch) | |
tree | ed0a0addc229083d132a2c7e4a9b0a96a72d5aaa /plugins/picohttpparser/picohttpparser.h | |
parent | 49bf8b3e61264d9783b07bc1299492c448e3a0eb (diff) | |
download | monitoring-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/picohttpparser/picohttpparser.h')
0 files changed, 0 insertions, 0 deletions