Lines 1-6
Link Here
|
1 |
--- nc.cpp.orig Tue May 2 09:29:37 2006 |
1 |
--- nc.cpp.orig 2017-12-27 12:07:16 UTC |
2 |
+++ nc.cpp Sat May 6 21:42:59 2006 |
2 |
+++ nc.cpp |
3 |
@@ -258,7 +258,7 @@ |
3 |
@@ -178,7 +178,7 @@ void help(void) |
4 |
|
4 |
|
5 |
printf("-f file what file to monitor (usuallly:\n"); |
5 |
printf("-f file what file to monitor (usuallly:\n"); |
6 |
printf("-F host:port connect to a host for retrieving the status.log information\n"); |
6 |
printf("-F host:port connect to a host for retrieving the status.log information\n"); |
Lines 9-15
Link Here
|
9 |
printf(" the nagios.cfg file\n"); |
9 |
printf(" the nagios.cfg file\n"); |
10 |
printf("-i x check interval (in seconds)\n"); |
10 |
printf("-i x check interval (in seconds)\n"); |
11 |
printf("-a list also the services for hosts that are down\n"); |
11 |
printf("-a list also the services for hosts that are down\n"); |
12 |
@@ -288,7 +288,7 @@ |
12 |
@@ -210,7 +210,7 @@ int main(int argc, char *argv[]) |
13 |
WINDOW *win; |
13 |
WINDOW *win; |
14 |
int sw; |
14 |
int sw; |
15 |
|
15 |
|
Lines 18-24
Link Here
|
18 |
int interval = 5; |
18 |
int interval = 5; |
19 |
char list_all_problems = 0; |
19 |
char list_all_problems = 0; |
20 |
char always_notify = 0; |
20 |
char always_notify = 0; |
21 |
@@ -390,7 +390,7 @@ |
21 |
@@ -322,7 +322,7 @@ int main(int argc, char *argv[]) |
22 |
wattroff(win, COLOR_PAIR(MY_DRAW)); |
22 |
wattroff(win, COLOR_PAIR(MY_DRAW)); |
23 |
|
23 |
|
24 |
if (file_mode == 0) /* file */ |
24 |
if (file_mode == 0) /* file */ |