\n");
printf("\n");
printf("\n");
printf("\n");
printf(" | \n",COMMAND_CGI,(enable_flap_detection==TRUE)?CMD_DISABLE_FLAP_DETECTION:CMD_ENABLE_FLAP_DETECTION,url_images_path,(enable_flap_detection==TRUE)?TAC_ENABLED_ICON:TAC_DISABLED_ICON,(enable_flap_detection==TRUE)?"Enabled":"Disabled",(enable_flap_detection==TRUE)?"Enabled":"Disabled");
printf(" | \n");
if(enable_flap_detection==TRUE){
printf("\n");
printf("\n");
if(flap_disabled_services>0)
printf("| %d Service%s Disabled | \n",STATUS_CGI,SERVICE_FLAP_DETECTION_DISABLED,flap_disabled_services,(flap_disabled_services==1)?"":"s");
else
printf("| All Services Enabled | \n");
if(flapping_services>0)
printf("| %d Service%s Flapping | \n",STATUS_CGI,SERVICE_IS_FLAPPING,flapping_services,(flapping_services==1)?"":"s");
else
printf("| No Services Flapping | \n");
if(flap_disabled_hosts>0)
printf("| %d Host%s Disabled | \n",STATUS_CGI,HOST_FLAP_DETECTION_DISABLED,flap_disabled_hosts,(flap_disabled_hosts==1)?"":"s");
else
printf("| All Hosts Enabled | \n");
if(flapping_hosts>0)
printf("| %d Host%s Flapping | \n",STATUS_CGI,HOST_IS_FLAPPING,flapping_hosts,(flapping_hosts==1)?"":"s");
else
printf("| No Hosts Flapping | \n");
printf(" \n");
printf(" | \n");
}
else
printf("N/A | \n");
printf(" \n");
printf(" \n");
printf(" | \n");
printf("\n");
printf("\n");
printf("\n");
printf(" | \n",COMMAND_CGI,(enable_notifications==TRUE)?CMD_DISABLE_NOTIFICATIONS:CMD_ENABLE_NOTIFICATIONS,url_images_path,(enable_notifications==TRUE)?TAC_ENABLED_ICON:TAC_DISABLED_ICON,(enable_notifications==TRUE)?"Enabled":"Disabled",(enable_notifications==TRUE)?"Enabled":"Disabled");
printf(" | \n");
if(enable_notifications==TRUE){
printf("\n");
printf("\n");
if(notification_disabled_services>0)
printf("| %d Service%s Disabled | \n",STATUS_CGI,SERVICE_NOTIFICATIONS_DISABLED,notification_disabled_services,(notification_disabled_services==1)?"":"s");
else
printf("| All Services Enabled | \n");
if(notification_disabled_hosts>0)
printf("| %d Host%s Disabled | \n",STATUS_CGI,HOST_NOTIFICATIONS_DISABLED,notification_disabled_hosts,(notification_disabled_hosts==1)?"":"s");
else
printf("| All Hosts Enabled | \n");
printf(" \n");
printf(" | \n");
}
else
printf("N/A | \n");
printf(" \n");
printf(" \n");
printf(" | \n");
printf("\n");
printf("\n");
printf("\n");
printf(" | \n",COMMAND_CGI,(enable_event_handlers==TRUE)?CMD_DISABLE_EVENT_HANDLERS:CMD_ENABLE_EVENT_HANDLERS,url_images_path,(enable_event_handlers==TRUE)?TAC_ENABLED_ICON:TAC_DISABLED_ICON,(enable_event_handlers==TRUE)?"Enabled":"Disabled",(enable_event_handlers==TRUE)?"Enabled":"Disabled");
printf(" | \n");
if(enable_event_handlers==TRUE){
printf("\n");
printf("\n");
if(event_handler_disabled_services>0)
printf("| %d Service%s Disabled | \n",STATUS_CGI,SERVICE_EVENT_HANDLER_DISABLED,event_handler_disabled_services,(event_handler_disabled_services==1)?"":"s");
else
printf("| All Services Enabled | \n");
if(event_handler_disabled_hosts>0)
printf("| %d Host%s Disabled | \n",STATUS_CGI,HOST_EVENT_HANDLER_DISABLED,event_handler_disabled_hosts,(event_handler_disabled_hosts==1)?"":"s");
else
printf("| All Hosts Enabled | \n");
printf(" \n");
printf(" | \n");
}
else
printf("N/A | \n");
printf(" \n");
printf(" \n");
printf(" | \n");
printf("\n");
printf("\n");
printf("\n");
printf(" | \n",EXTINFO_CGI,DISPLAY_PROCESS_INFO,url_images_path,(execute_service_checks==TRUE)?TAC_ENABLED_ICON:TAC_DISABLED_ICON,(execute_service_checks==TRUE)?"Enabled":"Disabled",(execute_service_checks==TRUE)?"Enabled":"Disabled");
printf(" | \n");
if(execute_service_checks==TRUE){
printf("\n");
printf("\n");
if(active_checks_disabled_services>0)
printf("| %d Service%s Disabled | \n",STATUS_CGI,SERVICE_CHECKS_DISABLED,active_checks_disabled_services,(active_checks_disabled_services==1)?"":"s");
else
printf("| All Services Enabled | \n");
if(active_checks_disabled_hosts>0)
printf("| %d Host%s Disabled | \n",STATUS_CGI,HOST_CHECKS_DISABLED,active_checks_disabled_hosts,(active_checks_disabled_hosts==1)?"":"s");
else
printf("| All Hosts Enabled | \n");
printf(" \n");
printf(" | \n");
}
else
printf("N/A | \n");
printf(" \n");
printf(" \n");
printf(" | \n");
printf("\n");
printf("\n");
printf("\n");
printf(" | \n",EXTINFO_CGI,DISPLAY_PROCESS_INFO,url_images_path,(accept_passive_service_checks==TRUE)?TAC_ENABLED_ICON:TAC_DISABLED_ICON,(accept_passive_service_checks==TRUE)?"Enabled":"Disabled",(accept_passive_service_checks==TRUE)?"Enabled":"Disabled");
printf(" | \n");
if(accept_passive_service_checks==TRUE){
printf("\n");
printf("\n");
if(passive_checks_disabled_services>0)
printf("| %d Service%s Disabled | \n",STATUS_CGI,SERVICE_PASSIVE_CHECKS_DISABLED,passive_checks_disabled_services,(passive_checks_disabled_services==1)?"":"s");
else
printf("| All Services Enabled | \n");
if(passive_checks_disabled_hosts>0)
printf("| %d Host%s Disabled | \n",STATUS_CGI,HOST_PASSIVE_CHECKS_DISABLED,passive_checks_disabled_hosts,(passive_checks_disabled_hosts==1)?"":"s");
else
printf("| All Hosts Enabled | \n");
printf(" \n");
printf(" | \n");
}
else
printf("N/A | \n");
printf(" \n");
printf(" \n");
printf(" | \n");
printf("
\n");
printf("