mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-07-06 23:51:46 -04:00
check_pgsql: implement ok summary
This commit is contained in:
parent
ca13721182
commit
7dc3bed81e
1 changed files with 2 additions and 0 deletions
|
|
@ -214,6 +214,8 @@ int main(int argc, char **argv) {
|
|||
|
||||
mp_check overall = mp_check_init();
|
||||
|
||||
mp_set_ok_summary(&overall, "Postgres check is OK");
|
||||
|
||||
mp_subcheck sc_connection = mp_subcheck_init();
|
||||
|
||||
if (PQstatus(conn) == CONNECTION_BAD) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue