check_postgres
check_postgres copied to clipboard
custom_query: return result from another column
- Method custom_query displays result from column "result":
my $result = $r->{result};
add_critical "$result";
Is it possible to return data from another column e.g. display:
my $display= $r->{display};
add_critical "$display";
I would like to use $result for detect critical/warning but i want to display value from $display
- Is it possible to remove from output:
POSTGRES_CUSTOM_QUERY OK: DB "****" (host:*****) (port=****)?