summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3ed0c95)
raw | patch | inline | side by side (parent: 3ed0c95)
author | Benoit Mortier <opensides@users.sourceforge.net> | |
Fri, 3 Dec 2004 08:45:22 +0000 (08:45 +0000) | ||
committer | Benoit Mortier <opensides@users.sourceforge.net> | |
Fri, 3 Dec 2004 08:45:22 +0000 (08:45 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@987 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_ide-smart.c | patch | blob | history | |
plugins/check_pgsql.c | patch | blob | history |
index 09231aa0e09165383ca2fd5b389f6ee1a90d8b7b..6ceebe257a4dc58ab9a084ede5ba311def4bef96 100644 (file)
printf ("check_ide-smart v.1 - FREE Software with NO WARRANTY\n");
printf ("Nagios feature - Robert Dale <rdale@digital-mission.com>\n");
printf ("(C) 1999 Ragnar Hojland Espinosa <ragnar@lightside.dhis.org>\n");
+ printf (COPYRIGHT, copyright, email);
}
diff --git a/plugins/check_pgsql.c b/plugins/check_pgsql.c
index de76735bf1cc14c5a2c498321f7deca53e424546..a8e84e237744648b9d50f62bafcb824da93ad827 100644 (file)
--- a/plugins/check_pgsql.c
+++ b/plugins/check_pgsql.c
int
main (int argc, char **argv)
{
- int elapsed_time, status;
+ int elapsed_time;
+ int status = STATE_UNKNOWN;
/* begin, by setting the parameters for a backend connection if the
* parameters are null, then the system will try to use reasonable