org.blue.cgi
Class status

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.blue.cgi.blue_servlet
              extended by org.blue.cgi.status
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class status
extends blue_servlet

See Also:
Serialized Form

Nested Class Summary
static class status.host_comparator
           
static class status.service_comparator
           
 
Field Summary
static java.lang.String alert_message
           
static int all_host_problems
           
static int all_host_status_types
           
static int all_service_problems
           
static int all_service_status_types
           
static cgiauth_h.authdata current_authdata
           
static long current_time
           
static int display_header
           
static int DISPLAY_HOSTGROUPS
           
static int DISPLAY_HOSTS
           
static int DISPLAY_SERVICEGROUPS
           
static int display_type
           
static int embedded
           
static int group_style_type
           
static int host_alert
           
static java.lang.String host_name
           
static long host_properties
           
static int host_status_types
           
static java.lang.String hostgroup_name
           
static int max_grid_width
           
static int MAX_MESSAGE_BUFFER
           
static int navbar_search
           
static int overview_columns
           
static int problem_hosts_down
           
static int problem_hosts_unreachable
           
static int problem_services_critical
           
static int problem_services_unknown
           
static int problem_services_warning
           
static java.lang.String service_filter
           
static long service_properties
           
static int service_status_types
           
static java.lang.String servicegroup_name
           
static int show_all_hostgroups
           
static int show_all_hosts
           
static int show_all_servicegroups
           
static int sort_option
           
static int sort_type
           
static int STYLE_DETAIL
           
static int STYLE_GRID
           
static int STYLE_HOST_DETAIL
           
static int STYLE_OVERVIEW
           
static int STYLE_SUMMARY
           
 
Fields inherited from class org.blue.cgi.blue_servlet
request_string
 
Constructor Summary
status()
           
 
Method Summary
 void call_main()
           
static void document_footer()
           
static void document_header(int use_stylesheet)
           
static void free_hostsort_list()
           
static void free_servicesort_list()
           
static void main(java.lang.String[] args)
           
static int passes_host_properties_filter(statusdata_h.hoststatus temp_hoststatus)
           
static int passes_service_properties_filter(statusdata_h.servicestatus temp_servicestatus)
           
static int process_cgivars()
           
static void show_filters()
           
static void show_host_detail()
           
static void show_host_status_totals()
           
static void show_hostgroup_grid(objects_h.hostgroup temp_hostgroup)
           
static void show_hostgroup_grids()
           
static void show_hostgroup_host_totals_summary(objects_h.hostgroup temp_hostgroup)
           
static void show_hostgroup_overview(objects_h.hostgroup hstgrp)
           
static void show_hostgroup_overviews()
           
static void show_hostgroup_service_totals_summary(objects_h.hostgroup temp_hostgroup)
           
static void show_hostgroup_summaries()
           
static void show_hostgroup_summary(objects_h.hostgroup temp_hostgroup, int odd)
           
static void show_service_detail()
           
static void show_service_status_totals()
           
static void show_servicegroup_grid(objects_h.servicegroup temp_servicegroup)
           
static void show_servicegroup_grids()
           
static void show_servicegroup_host_totals_summary(objects_h.servicegroup temp_servicegroup)
           
static void show_servicegroup_hostgroup_member_overview(statusdata_h.hoststatus hststatus, int odd, java.lang.Object data)
           
static void show_servicegroup_hostgroup_member_service_status_totals(java.lang.String host_name, java.lang.Object data)
           
static void show_servicegroup_overview(objects_h.servicegroup temp_servicegroup)
           
static void show_servicegroup_overviews()
           
static void show_servicegroup_service_totals_summary(objects_h.servicegroup temp_servicegroup)
           
static void show_servicegroup_summaries()
           
static void show_servicegroup_summary(objects_h.servicegroup temp_servicegroup, int odd)
           
static int sort_hosts(int s_type, int s_option)
           
static int sort_services(int s_type, int s_option)
           
 
Methods inherited from class org.blue.cgi.blue_servlet
doGet, doPost, init
 
Methods inherited from class javax.servlet.http.HttpServlet
service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_MESSAGE_BUFFER

public static final int MAX_MESSAGE_BUFFER
See Also:
Constant Field Values

DISPLAY_HOSTS

public static final int DISPLAY_HOSTS
See Also:
Constant Field Values

DISPLAY_HOSTGROUPS

public static final int DISPLAY_HOSTGROUPS
See Also:
Constant Field Values

DISPLAY_SERVICEGROUPS

public static final int DISPLAY_SERVICEGROUPS
See Also:
Constant Field Values

STYLE_OVERVIEW

public static final int STYLE_OVERVIEW
See Also:
Constant Field Values

STYLE_DETAIL

public static final int STYLE_DETAIL
See Also:
Constant Field Values

STYLE_SUMMARY

public static final int STYLE_SUMMARY
See Also:
Constant Field Values

STYLE_GRID

public static final int STYLE_GRID
See Also:
Constant Field Values

STYLE_HOST_DETAIL

public static final int STYLE_HOST_DETAIL
See Also:
Constant Field Values

current_authdata

public static cgiauth_h.authdata current_authdata

current_time

public static long current_time

alert_message

public static java.lang.String alert_message

host_name

public static java.lang.String host_name

hostgroup_name

public static java.lang.String hostgroup_name

servicegroup_name

public static java.lang.String servicegroup_name

service_filter

public static java.lang.String service_filter

host_alert

public static int host_alert

show_all_hosts

public static int show_all_hosts

show_all_hostgroups

public static int show_all_hostgroups

show_all_servicegroups

public static int show_all_servicegroups

display_type

public static int display_type

overview_columns

public static int overview_columns

max_grid_width

public static int max_grid_width

group_style_type

public static int group_style_type

navbar_search

public static int navbar_search

service_status_types

public static int service_status_types

all_service_status_types

public static int all_service_status_types

host_status_types

public static int host_status_types

all_host_status_types

public static int all_host_status_types

all_service_problems

public static int all_service_problems

all_host_problems

public static int all_host_problems

host_properties

public static long host_properties

service_properties

public static long service_properties

sort_type

public static int sort_type

sort_option

public static int sort_option

problem_hosts_down

public static int problem_hosts_down

problem_hosts_unreachable

public static int problem_hosts_unreachable

problem_services_critical

public static int problem_services_critical

problem_services_warning

public static int problem_services_warning

problem_services_unknown

public static int problem_services_unknown

embedded

public static int embedded

display_header

public static int display_header
Constructor Detail

status

public status()
Method Detail

call_main

public void call_main()
Specified by:
call_main in class blue_servlet

main

public static void main(java.lang.String[] args)

document_header

public static void document_header(int use_stylesheet)

document_footer

public static void document_footer()

process_cgivars

public static int process_cgivars()

show_service_status_totals

public static void show_service_status_totals()

show_host_status_totals

public static void show_host_status_totals()

show_service_detail

public static void show_service_detail()

show_host_detail

public static void show_host_detail()

show_servicegroup_overviews

public static void show_servicegroup_overviews()

show_servicegroup_overview

public static void show_servicegroup_overview(objects_h.servicegroup temp_servicegroup)

show_servicegroup_summaries

public static void show_servicegroup_summaries()

show_servicegroup_summary

public static void show_servicegroup_summary(objects_h.servicegroup temp_servicegroup,
                                             int odd)

show_servicegroup_host_totals_summary

public static void show_servicegroup_host_totals_summary(objects_h.servicegroup temp_servicegroup)

show_servicegroup_service_totals_summary

public static void show_servicegroup_service_totals_summary(objects_h.servicegroup temp_servicegroup)

show_servicegroup_grids

public static void show_servicegroup_grids()

show_servicegroup_grid

public static void show_servicegroup_grid(objects_h.servicegroup temp_servicegroup)

show_hostgroup_overviews

public static void show_hostgroup_overviews()

show_hostgroup_overview

public static void show_hostgroup_overview(objects_h.hostgroup hstgrp)

show_servicegroup_hostgroup_member_overview

public static void show_servicegroup_hostgroup_member_overview(statusdata_h.hoststatus hststatus,
                                                               int odd,
                                                               java.lang.Object data)

show_servicegroup_hostgroup_member_service_status_totals

public static void show_servicegroup_hostgroup_member_service_status_totals(java.lang.String host_name,
                                                                            java.lang.Object data)

show_hostgroup_summaries

public static void show_hostgroup_summaries()

show_hostgroup_summary

public static void show_hostgroup_summary(objects_h.hostgroup temp_hostgroup,
                                          int odd)

show_hostgroup_host_totals_summary

public static void show_hostgroup_host_totals_summary(objects_h.hostgroup temp_hostgroup)

show_hostgroup_service_totals_summary

public static void show_hostgroup_service_totals_summary(objects_h.hostgroup temp_hostgroup)

show_hostgroup_grids

public static void show_hostgroup_grids()

show_hostgroup_grid

public static void show_hostgroup_grid(objects_h.hostgroup temp_hostgroup)

sort_services

public static int sort_services(int s_type,
                                int s_option)

sort_hosts

public static int sort_hosts(int s_type,
                             int s_option)

free_servicesort_list

public static void free_servicesort_list()

free_hostsort_list

public static void free_hostsort_list()

passes_host_properties_filter

public static int passes_host_properties_filter(statusdata_h.hoststatus temp_hoststatus)

passes_service_properties_filter

public static int passes_service_properties_filter(statusdata_h.servicestatus temp_servicestatus)

show_filters

public static void show_filters()