aboutsummaryrefslogtreecommitdiff
path: root/contrib/check_timeout.c
diff options
context:
space:
mode:
authorGravatar Holger Weiss <holger@zedat.fu-berlin.de> 2013-09-02 13:16:24 +0200
committerGravatar Holger Weiss <holger@zedat.fu-berlin.de> 2013-09-02 13:16:24 +0200
commitb15adb7762b6caaecaa83637abfcf5fdb4802092 (patch)
tree64eddbe2aa1a7f98a140be0f7973f05d7a781ae0 /contrib/check_timeout.c
parentc4d5882b9e1d07c7b61091062b7d085fa5f00284 (diff)
downloadmonitoring-plugins-b15adb7762b6caaecaa83637abfcf5fdb4802092.tar.gz
Remove "contrib" plugins
These days, sites such as "Nagios Exchange" are a much better place for publishing plugins not maintained by the Plugins Development Team.
Diffstat (limited to 'contrib/check_timeout.c')
-rw-r--r--contrib/check_timeout.c55
1 files changed, 0 insertions, 55 deletions
diff --git a/contrib/check_timeout.c b/contrib/check_timeout.c
deleted file mode 100644
index 858bdfe9..00000000
--- a/contrib/check_timeout.c
+++ /dev/null
@@ -1,55 +0,0 @@
-/*****************************************************************************
- *
- * CHECK_TIMEOUT.C
- *
- * Program: Plugin timeout tester for Nagios
- * License: GPL
- * Copyright (c) 1999 Ethan Galstad (nagios@nagios.org)
- *
- * Last Modified: 01-10-2000
- *
- * Command line: CHECK_TIMEOUT <something..>
- *
- * Description:
- * This 'plugin' - if you want to call it that - doesn't do anything. It
- * just stays in a loop forever and never exits, and is therefore useful for
- * testing service and host check timeouts in Nagios. You must supply at
- * least one argument on the command line in order to activate the loop.
- *
- ****************************************************************************/
-
-#include <stdio.h>
-#include <unistd.h>
-
-
-int main(int argc, char **argv){
-
- if(argc==1){
- printf("Incorrect arguments supplied\n");
- printf("\n");
- printf("Plugin timeout tester for Nagios\n");
- printf("Copyright (c) 1999 Ethan Galstad (nagios@nagios.org)\n");
- printf("Last Modified: 01-10-2000\n");
- printf("License: GPL\n");
- printf("\n");
- printf("Usage: %s <something>\n",argv[0]);
- printf("\n");
- printf("Options:\n");
- printf(" <something> = Anything at all...\n");
- printf("\n");
- printf("Notes:\n");
- printf("This 'plugin' doesn't do anything. It is designed to never exit and therefore\n");
- printf("provides an easy way of testing service and host check timeouts in Nagios.\n");
- printf("\n");
- return 0;
- }
-
- /* let's never leave here, okay? */
- while(1)
- sleep(1);
-
- return 0;
- }
-
-
-