diff -ur nagios-2.8.original/cgi/cmd.c nagios-2.8/cgi/cmd.c
--- nagios-2.8.original/cgi/cmd.c 2007-06-13 15:15:00.568945489 +0100
+++ nagios-2.8/cgi/cmd.c 2007-06-13 15:05:44.331506257 +0100
@@ -1032,7 +1032,7 @@
printf("",buffer);
printf("\n");
printf("
| Force Check: | ");
- printf("");
+ printf("", (force_check==TRUE?"CHECKED":""));
printf(" |
\n");
break;
diff -ur nagios-2.8.original/cgi/extinfo.c nagios-2.8/cgi/extinfo.c
--- nagios-2.8.original/cgi/extinfo.c 2007-06-13 15:15:02.295573721 +0100
+++ nagios-2.8/cgi/extinfo.c 2007-06-13 15:11:48.953222908 +0100
@@ -1140,10 +1140,10 @@
#endif
if(temp_hoststatus->checks_enabled==TRUE){
printf(" | Disable active checks of this host |
\n",url_images_path,DISABLED_ICON,COMMAND_CGI,CMD_DISABLE_HOST_CHECK,url_encode(host_name));
- printf(" | Re-schedule the next check of this host |
\n",url_images_path,DELAY_ICON,COMMAND_CGI,CMD_SCHEDULE_HOST_CHECK,url_encode(host_name));
}
else
printf(" | Enable active checks of this host |
\n",url_images_path,ENABLED_ICON,COMMAND_CGI,CMD_ENABLE_HOST_CHECK,url_encode(host_name));
+ printf(" | Re-schedule the next check of this host |
\n",url_images_path,DELAY_ICON,COMMAND_CGI,CMD_SCHEDULE_HOST_CHECK,url_encode(host_name),(temp_hoststatus->checks_enabled?"&force_check":""));
if(temp_hoststatus->accept_passive_host_checks==TRUE){
printf(" | Submit passive check result for this host |
\n",url_images_path,PASSIVE_ICON,COMMAND_CGI,CMD_PROCESS_HOST_CHECK_RESULT,url_encode(host_name));
@@ -1454,14 +1454,13 @@
printf(" | Disable active checks of this service |
\n",url_encode(service_desc));
-
- printf(" | Re-schedule the next check of this service |
\n",url_encode(service_desc));
}
else{
printf(" | Enable active checks of this service |
\n",url_encode(service_desc));
}
+ printf(" | Re-schedule the next check of this service |
\n",url_encode(service_desc));
if(temp_svcstatus->accept_passive_service_checks==TRUE){
printf(" | host_name));
printf("&service=%s'> \n",url_encode(temp_svcstatus->description),url_images_path,ENABLED_ICON);
}
- printf("host_name),(temp_svcstatus->checks_enabled?"&force_check":""));
printf("&service=%s'> \n",url_encode(temp_svcstatus->description),url_images_path,DELAY_ICON);
printf(" | \n");
}
@@ -2794,7 +2793,7 @@
printf("
\n",url_images_path,ENABLED_ICON);
}
- printf("host_name),(temp_hststatus->checks_enabled?"&force_check":""));
printf("'>
\n",url_images_path,DELAY_ICON);
printf("\n");
}