1 /*****************************************************************************
5 * Program: Plugin timeout tester for Nagios
7 * Copyright (c) 1999 Ethan Galstad (nagios@nagios.org)
9 * Last Modified: 01-10-2000
11 * Command line: CHECK_TIMEOUT <something..>
14 * This 'plugin' - if you want to call it that - doesn't do anything. It
15 * just stays in a loop forever and never exits, and is therefore useful for
16 * testing service and host check timeouts in Nagios. You must supply at
17 * least one argument on the command line in order to activate the loop.
19 ****************************************************************************/
25 int main(int argc
, char **argv
){
28 printf("Incorrect arguments supplied\n");
30 printf("Plugin timeout tester for Nagios\n");
31 printf("Copyright (c) 1999 Ethan Galstad (nagios@nagios.org)\n");
32 printf("Last Modified: 01-10-2000\n");
33 printf("License: GPL\n");
35 printf("Usage: %s <something>\n",argv
[0]);
38 printf(" <something> = Anything at all...\n");
41 printf("This 'plugin' doesn't do anything. It is designed to never exit and therefore\n");
42 printf("provides an easy way of testing service and host check timeouts in Nagios.\n");
47 /* let's never leave here, okay? */