org.blue.common
Class objects

java.lang.Object
  extended by org.blue.common.objects

public class objects
extends java.lang.Object


Field Summary
static java.util.HashMap command_hashlist
           
static java.util.ArrayList command_list
           
static java.util.HashMap contact_hashlist
           
static java.util.ArrayList contact_list
           
static java.util.HashMap contactgroup_hashlist
           
static java.util.ArrayList contactgroup_list
           
static java.util.HashMap host_hashlist
           
static java.util.ArrayList host_list
           
static java.util.HashMap hostdependency_hashlist
           
static java.util.ArrayList hostdependency_list
           
static java.util.HashMap hostescalation_hashlist
           
static java.util.ArrayList hostescalation_list
           
static java.util.HashMap hostextinfo_hashlist
           
static java.util.ArrayList hostextinfo_list
           
static java.util.HashMap hostgroup_hashlist
           
static java.util.ArrayList hostgroup_list
           
static java.util.HashMap service_hashlist
           
static java.util.ArrayList service_list
           
static java.util.HashMap servicedependency_hashlist
           
static java.util.ArrayList servicedependency_list
           
static java.util.HashMap serviceescalation_hashlist
           
static java.util.ArrayList serviceescalation_list
           
static java.util.HashMap serviceextinfo_hashlist
           
static java.util.ArrayList serviceextinfo_list
           
static java.util.HashMap servicegroup_hashlist
           
static java.util.ArrayList servicegroup_list
           
static java.util.HashMap timeperiod_hashlist
           
static java.util.ArrayList timeperiod_list
           
 
Constructor Summary
objects()
           
 
Method Summary
static boolean add_command_to_hashlist(objects_h.command new_command)
           
static objects_h.command add_command(java.lang.String name, java.lang.String value)
           
static objects_h.contactgroupmember add_contact_to_contactgroup(objects_h.contactgroup grp, java.lang.String contact_name)
           
static int add_contact_to_hashlist(objects_h.contact new_contact)
           
static objects_h.contact add_contact(java.lang.String name, java.lang.String alias, java.lang.String email, java.lang.String pager, java.lang.String[] addresses, java.lang.String svc_notification_period, java.lang.String host_notification_period, int notify_service_ok, int notify_service_critical, int notify_service_warning, int notify_service_unknown, int notify_service_flapping, int notify_host_up, int notify_host_down, int notify_host_unreachable, int notify_host_flapping)
           
static int add_contactgroup_to_hashlist(objects_h.contactgroup new_contactgroup)
           
static objects_h.contactgroupsmember add_contactgroup_to_host(objects_h.host hst, java.lang.String group_name)
           
static objects_h.contactgroupsmember add_contactgroup_to_hostescalation(objects_h.hostescalation he, java.lang.String group_name)
           
static objects_h.contactgroupsmember add_contactgroup_to_service(objects_h.service svc, java.lang.String group_name)
           
static objects_h.contactgroupsmember add_contactgroup_to_serviceescalation(objects_h.serviceescalation se, java.lang.String group_name)
           
static objects_h.contactgroup add_contactgroup(java.lang.String name, java.lang.String alias)
           
static objects_h.hostdependency add_host_dependency(java.lang.String dependent_host_name, java.lang.String host_name, int dependency_type, int inherits_parent, int fail_on_up, int fail_on_down, int fail_on_unreachable, int fail_on_pending)
           
static objects_h.commandsmember add_host_notification_command_to_contact(objects_h.contact cntct, java.lang.String command_name)
           
static boolean add_host_to_hashlist(objects_h.host new_object)
           
static objects_h.hostgroupmember add_host_to_hostgroup(objects_h.hostgroup temp_hostgroup, java.lang.String host_name)
           
static objects_h.host add_host(java.lang.String name, java.lang.String alias, java.lang.String address, java.lang.String check_period, int check_interval, int max_attempts, int notify_up, int notify_down, int notify_unreachable, int notify_flapping, int notification_interval, java.lang.String notification_period, int notifications_enabled, java.lang.String check_command, int checks_enabled, int accept_passive_checks, java.lang.String event_handler, int event_handler_enabled, int flap_detection_enabled, double low_flap_threshold, double high_flap_threshold, int stalk_up, int stalk_down, int stalk_unreachable, int process_perfdata, int failure_prediction_enabled, java.lang.String failure_prediction_options, int check_freshness, int freshness_threshold, int retain_status_information, int retain_nonstatus_information, int obsess_over_host)
           
static int add_hostdependency_to_hashlist(objects_h.hostdependency new_hostdependency)
           
static int add_hostescalation_to_hashlist(objects_h.hostescalation new_hostescalation)
           
static objects_h.hostescalation add_hostescalation(java.lang.String host_name, int first_notification, int last_notification, int notification_interval, java.lang.String escalation_period, int escalate_on_down, int escalate_on_unreachable, int escalate_on_recovery)
           
static int add_hostextinfo_to_hashlist(objects_h.hostextinfo new_hostextinfo)
           
static objects_h.hostextinfo add_hostextinfo(java.lang.String host_name, java.lang.String notes, java.lang.String notes_url, java.lang.String action_url, java.lang.String icon_image, java.lang.String vrml_image, java.lang.String statusmap_image, java.lang.String icon_image_alt, int x_2d, int y_2d, double x_3d, double y_3d, double z_3d, int have_2d_coords, int have_3d_coords)
           
static boolean add_hostgroup_to_hashlist(objects_h.hostgroup new_hostgroup)
           
static objects_h.hostgroup add_hostgroup(java.lang.String name, java.lang.String alias)
           
static objects_h.hostsmember add_parent_host_to_host(objects_h.host hst, java.lang.String host_name)
           
static objects_h.servicedependency add_service_dependency(java.lang.String dependent_host_name, java.lang.String dependent_service_description, java.lang.String host_name, java.lang.String service_description, int dependency_type, int inherits_parent, int fail_on_ok, int fail_on_warning, int fail_on_unknown, int fail_on_critical, int fail_on_pending)
           
static objects_h.commandsmember add_service_notification_command_to_contact(objects_h.contact cntct, java.lang.String command_name)
           
static int add_service_to_hashlist(objects_h.service new_service)
           
static objects_h.servicegroupmember add_service_to_servicegroup(objects_h.servicegroup temp_servicegroup, java.lang.String host_name, java.lang.String svc_description)
           
static objects_h.service add_service(java.lang.String host_name, java.lang.String description, java.lang.String check_period, int max_attempts, int parallelize, int accept_passive_checks, int check_interval, int retry_interval, int notification_interval, java.lang.String notification_period, int notify_recovery, int notify_unknown, int notify_warning, int notify_critical, int notify_flapping, int notifications_enabled, int is_volatile, java.lang.String event_handler, int event_handler_enabled, java.lang.String check_command, int checks_enabled, int flap_detection_enabled, double low_flap_threshold, double high_flap_threshold, int stalk_ok, int stalk_warning, int stalk_unknown, int stalk_critical, int process_perfdata, int failure_prediction_enabled, java.lang.String failure_prediction_options, int check_freshness, int freshness_threshold, int retain_status_information, int retain_nonstatus_information, int obsess_over_service)
           
static int add_servicedependency_to_hashlist(objects_h.servicedependency new_servicedependency)
           
static int add_serviceescalation_to_hashlist(objects_h.serviceescalation new_serviceescalation)
           
static objects_h.serviceescalation add_serviceescalation(java.lang.String host_name, java.lang.String description, int first_notification, int last_notification, int notification_interval, java.lang.String escalation_period, int escalate_on_warning, int escalate_on_unknown, int escalate_on_critical, int escalate_on_recovery)
           
static int add_serviceextinfo_to_hashlist(objects_h.serviceextinfo new_serviceextinfo)
           
static objects_h.serviceextinfo add_serviceextinfo(java.lang.String host_name, java.lang.String description, java.lang.String notes, java.lang.String notes_url, java.lang.String action_url, java.lang.String icon_image, java.lang.String icon_image_alt)
           
static boolean add_servicegroup_to_hashlist(objects_h.servicegroup new_servicegroup)
           
static objects_h.servicegroup add_servicegroup(java.lang.String name, java.lang.String alias)
           
static boolean add_timeperiod_to_hashlist(objects_h.timeperiod new_timeperiod)
           
static objects_h.timeperiod add_timeperiod(java.lang.String name, java.lang.String alias)
           
static objects_h.timerange add_timerange_to_timeperiod(objects_h.timeperiod period, int day, long start_time, long end_time)
           
static int check_for_circular_hostdependency(objects_h.hostdependency root_dep, objects_h.hostdependency dep, int dependency_type)
           
static int check_for_circular_path(objects_h.host root_hst, objects_h.host hst)
           
static int check_for_circular_servicedependency(objects_h.servicedependency root_dep, objects_h.servicedependency dep, int dependency_type)
           
static objects_h.command find_command(java.lang.String name)
           
static objects_h.contact find_contact(java.lang.String name)
           
static objects_h.contactgroup find_contactgroup(java.lang.String name)
           
static objects_h.contactgroupmember find_contactgroupmember(java.lang.String name, objects_h.contactgroup grp)
           
static objects_h.host find_host(java.lang.String name)
           
static objects_h.hostextinfo find_hostextinfo(java.lang.String host_name)
           
static objects_h.hostgroup find_hostgroup(java.lang.String name)
           
static objects_h.hostgroupmember find_hostgroupmember(java.lang.String name, objects_h.hostgroup grp)
           
static objects_h.service find_service(java.lang.String host_name, java.lang.String svc_desc)
           
static objects_h.serviceextinfo find_serviceextinfo(java.lang.String host_name, java.lang.String description)
           
static objects_h.servicegroup find_servicegroup(java.lang.String name)
           
static objects_h.servicegroupmember find_servicegroupmember(java.lang.String host_name, java.lang.String svc_description, objects_h.servicegroup grp)
           
static objects_h.timeperiod find_timeperiod(java.lang.String name)
           
static java.util.ArrayList<objects_h.hostdependency> get_hostdependency_list_by_dependent_host(java.lang.String host_name)
           
static java.util.ArrayList<objects_h.hostescalation> get_hostescalation_list_by_dependent_host(java.lang.String host_name)
           
static java.util.ArrayList<objects_h.servicedependency> get_servicedependency_list_by_dependent_host(java.lang.String host_name, java.lang.String svc_description)
           
static java.util.ArrayList<objects_h.serviceescalation> get_serviceescalation_list_by_service(java.lang.String host_name, java.lang.String svc_description)
           
static boolean is_contact_for_host(objects_h.host hst, objects_h.contact cntct)
           
static boolean is_contact_for_service(objects_h.service svc, objects_h.contact cntct)
           
static int is_contact_member_of_contactgroup(objects_h.contactgroup group, objects_h.contact cntct)
           
static int is_escalated_contact_for_host(objects_h.host hst, objects_h.contact cntct)
           
static int is_escalated_contact_for_service(objects_h.service svc, objects_h.contact cntct)
           
static int is_host_immediate_child_of_host(objects_h.host parent_host, objects_h.host child_host)
           
static int is_host_immediate_parent_of_host(objects_h.host child_host, objects_h.host parent_host)
           
static int is_host_member_of_hostgroup(objects_h.hostgroup group, objects_h.host hst)
           
static int is_host_member_of_servicegroup(objects_h.servicegroup group, objects_h.host hst)
           
static int is_host_primary_immediate_child_of_host(objects_h.host parent_host, objects_h.host child_host)
           
static int is_service_member_of_servicegroup(objects_h.servicegroup group, objects_h.service svc)
           
static int number_of_immediate_child_hosts(objects_h.host hst)
           
static int number_of_immediate_parent_hosts(objects_h.host hst)
           
static int number_of_total_child_hosts(objects_h.host hst)
           
static int read_object_config_data(java.lang.String main_config_file, int options, int cache)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

host_list

public static java.util.ArrayList host_list

service_list

public static java.util.ArrayList service_list

contact_list

public static java.util.ArrayList contact_list

contactgroup_list

public static java.util.ArrayList contactgroup_list

hostgroup_list

public static java.util.ArrayList hostgroup_list

servicegroup_list

public static java.util.ArrayList servicegroup_list

command_list

public static java.util.ArrayList command_list

timeperiod_list

public static java.util.ArrayList timeperiod_list

serviceescalation_list

public static java.util.ArrayList serviceescalation_list

servicedependency_list

public static java.util.ArrayList servicedependency_list

hostdependency_list

public static java.util.ArrayList hostdependency_list

hostescalation_list

public static java.util.ArrayList hostescalation_list

hostextinfo_list

public static java.util.ArrayList hostextinfo_list

serviceextinfo_list

public static java.util.ArrayList serviceextinfo_list

host_hashlist

public static java.util.HashMap host_hashlist

service_hashlist

public static java.util.HashMap service_hashlist

command_hashlist

public static java.util.HashMap command_hashlist

timeperiod_hashlist

public static java.util.HashMap timeperiod_hashlist

contact_hashlist

public static java.util.HashMap contact_hashlist

contactgroup_hashlist

public static java.util.HashMap contactgroup_hashlist

hostgroup_hashlist

public static java.util.HashMap hostgroup_hashlist

servicegroup_hashlist

public static java.util.HashMap servicegroup_hashlist

hostextinfo_hashlist

public static java.util.HashMap hostextinfo_hashlist

serviceextinfo_hashlist

public static java.util.HashMap serviceextinfo_hashlist

hostdependency_hashlist

public static java.util.HashMap hostdependency_hashlist

servicedependency_hashlist

public static java.util.HashMap servicedependency_hashlist

hostescalation_hashlist

public static java.util.HashMap hostescalation_hashlist

serviceescalation_hashlist

public static java.util.HashMap serviceescalation_hashlist
Constructor Detail

objects

public objects()
Method Detail

read_object_config_data

public static int read_object_config_data(java.lang.String main_config_file,
                                          int options,
                                          int cache)

add_host_to_hashlist

public static boolean add_host_to_hashlist(objects_h.host new_object)

add_service_to_hashlist

public static int add_service_to_hashlist(objects_h.service new_service)

add_command_to_hashlist

public static boolean add_command_to_hashlist(objects_h.command new_command)

add_timeperiod_to_hashlist

public static boolean add_timeperiod_to_hashlist(objects_h.timeperiod new_timeperiod)

add_contact_to_hashlist

public static int add_contact_to_hashlist(objects_h.contact new_contact)

add_contactgroup_to_hashlist

public static int add_contactgroup_to_hashlist(objects_h.contactgroup new_contactgroup)

add_hostgroup_to_hashlist

public static boolean add_hostgroup_to_hashlist(objects_h.hostgroup new_hostgroup)

add_servicegroup_to_hashlist

public static boolean add_servicegroup_to_hashlist(objects_h.servicegroup new_servicegroup)

add_hostextinfo_to_hashlist

public static int add_hostextinfo_to_hashlist(objects_h.hostextinfo new_hostextinfo)

add_serviceextinfo_to_hashlist

public static int add_serviceextinfo_to_hashlist(objects_h.serviceextinfo new_serviceextinfo)

add_hostdependency_to_hashlist

public static int add_hostdependency_to_hashlist(objects_h.hostdependency new_hostdependency)

add_servicedependency_to_hashlist

public static int add_servicedependency_to_hashlist(objects_h.servicedependency new_servicedependency)

add_hostescalation_to_hashlist

public static int add_hostescalation_to_hashlist(objects_h.hostescalation new_hostescalation)

add_serviceescalation_to_hashlist

public static int add_serviceescalation_to_hashlist(objects_h.serviceescalation new_serviceescalation)

add_timeperiod

public static objects_h.timeperiod add_timeperiod(java.lang.String name,
                                                  java.lang.String alias)

add_timerange_to_timeperiod

public static objects_h.timerange add_timerange_to_timeperiod(objects_h.timeperiod period,
                                                              int day,
                                                              long start_time,
                                                              long end_time)

add_host

public static objects_h.host add_host(java.lang.String name,
                                      java.lang.String alias,
                                      java.lang.String address,
                                      java.lang.String check_period,
                                      int check_interval,
                                      int max_attempts,
                                      int notify_up,
                                      int notify_down,
                                      int notify_unreachable,
                                      int notify_flapping,
                                      int notification_interval,
                                      java.lang.String notification_period,
                                      int notifications_enabled,
                                      java.lang.String check_command,
                                      int checks_enabled,
                                      int accept_passive_checks,
                                      java.lang.String event_handler,
                                      int event_handler_enabled,
                                      int flap_detection_enabled,
                                      double low_flap_threshold,
                                      double high_flap_threshold,
                                      int stalk_up,
                                      int stalk_down,
                                      int stalk_unreachable,
                                      int process_perfdata,
                                      int failure_prediction_enabled,
                                      java.lang.String failure_prediction_options,
                                      int check_freshness,
                                      int freshness_threshold,
                                      int retain_status_information,
                                      int retain_nonstatus_information,
                                      int obsess_over_host)

add_parent_host_to_host

public static objects_h.hostsmember add_parent_host_to_host(objects_h.host hst,
                                                            java.lang.String host_name)

add_contactgroup_to_host

public static objects_h.contactgroupsmember add_contactgroup_to_host(objects_h.host hst,
                                                                     java.lang.String group_name)

add_hostgroup

public static objects_h.hostgroup add_hostgroup(java.lang.String name,
                                                java.lang.String alias)

add_host_to_hostgroup

public static objects_h.hostgroupmember add_host_to_hostgroup(objects_h.hostgroup temp_hostgroup,
                                                              java.lang.String host_name)

add_servicegroup

public static objects_h.servicegroup add_servicegroup(java.lang.String name,
                                                      java.lang.String alias)

add_service_to_servicegroup

public static objects_h.servicegroupmember add_service_to_servicegroup(objects_h.servicegroup temp_servicegroup,
                                                                       java.lang.String host_name,
                                                                       java.lang.String svc_description)

add_contact

public static objects_h.contact add_contact(java.lang.String name,
                                            java.lang.String alias,
                                            java.lang.String email,
                                            java.lang.String pager,
                                            java.lang.String[] addresses,
                                            java.lang.String svc_notification_period,
                                            java.lang.String host_notification_period,
                                            int notify_service_ok,
                                            int notify_service_critical,
                                            int notify_service_warning,
                                            int notify_service_unknown,
                                            int notify_service_flapping,
                                            int notify_host_up,
                                            int notify_host_down,
                                            int notify_host_unreachable,
                                            int notify_host_flapping)

add_host_notification_command_to_contact

public static objects_h.commandsmember add_host_notification_command_to_contact(objects_h.contact cntct,
                                                                                java.lang.String command_name)

add_service_notification_command_to_contact

public static objects_h.commandsmember add_service_notification_command_to_contact(objects_h.contact cntct,
                                                                                   java.lang.String command_name)

add_command

public static objects_h.command add_command(java.lang.String name,
                                            java.lang.String value)

add_contactgroup

public static objects_h.contactgroup add_contactgroup(java.lang.String name,
                                                      java.lang.String alias)

add_contact_to_contactgroup

public static objects_h.contactgroupmember add_contact_to_contactgroup(objects_h.contactgroup grp,
                                                                       java.lang.String contact_name)

add_service

public static objects_h.service add_service(java.lang.String host_name,
                                            java.lang.String description,
                                            java.lang.String check_period,
                                            int max_attempts,
                                            int parallelize,
                                            int accept_passive_checks,
                                            int check_interval,
                                            int retry_interval,
                                            int notification_interval,
                                            java.lang.String notification_period,
                                            int notify_recovery,
                                            int notify_unknown,
                                            int notify_warning,
                                            int notify_critical,
                                            int notify_flapping,
                                            int notifications_enabled,
                                            int is_volatile,
                                            java.lang.String event_handler,
                                            int event_handler_enabled,
                                            java.lang.String check_command,
                                            int checks_enabled,
                                            int flap_detection_enabled,
                                            double low_flap_threshold,
                                            double high_flap_threshold,
                                            int stalk_ok,
                                            int stalk_warning,
                                            int stalk_unknown,
                                            int stalk_critical,
                                            int process_perfdata,
                                            int failure_prediction_enabled,
                                            java.lang.String failure_prediction_options,
                                            int check_freshness,
                                            int freshness_threshold,
                                            int retain_status_information,
                                            int retain_nonstatus_information,
                                            int obsess_over_service)

add_contactgroup_to_service

public static objects_h.contactgroupsmember add_contactgroup_to_service(objects_h.service svc,
                                                                        java.lang.String group_name)

add_serviceescalation

public static objects_h.serviceescalation add_serviceescalation(java.lang.String host_name,
                                                                java.lang.String description,
                                                                int first_notification,
                                                                int last_notification,
                                                                int notification_interval,
                                                                java.lang.String escalation_period,
                                                                int escalate_on_warning,
                                                                int escalate_on_unknown,
                                                                int escalate_on_critical,
                                                                int escalate_on_recovery)

add_contactgroup_to_serviceescalation

public static objects_h.contactgroupsmember add_contactgroup_to_serviceescalation(objects_h.serviceescalation se,
                                                                                  java.lang.String group_name)

add_service_dependency

public static objects_h.servicedependency add_service_dependency(java.lang.String dependent_host_name,
                                                                 java.lang.String dependent_service_description,
                                                                 java.lang.String host_name,
                                                                 java.lang.String service_description,
                                                                 int dependency_type,
                                                                 int inherits_parent,
                                                                 int fail_on_ok,
                                                                 int fail_on_warning,
                                                                 int fail_on_unknown,
                                                                 int fail_on_critical,
                                                                 int fail_on_pending)

add_host_dependency

public static objects_h.hostdependency add_host_dependency(java.lang.String dependent_host_name,
                                                           java.lang.String host_name,
                                                           int dependency_type,
                                                           int inherits_parent,
                                                           int fail_on_up,
                                                           int fail_on_down,
                                                           int fail_on_unreachable,
                                                           int fail_on_pending)

add_hostescalation

public static objects_h.hostescalation add_hostescalation(java.lang.String host_name,
                                                          int first_notification,
                                                          int last_notification,
                                                          int notification_interval,
                                                          java.lang.String escalation_period,
                                                          int escalate_on_down,
                                                          int escalate_on_unreachable,
                                                          int escalate_on_recovery)

add_contactgroup_to_hostescalation

public static objects_h.contactgroupsmember add_contactgroup_to_hostescalation(objects_h.hostescalation he,
                                                                               java.lang.String group_name)

add_hostextinfo

public static objects_h.hostextinfo add_hostextinfo(java.lang.String host_name,
                                                    java.lang.String notes,
                                                    java.lang.String notes_url,
                                                    java.lang.String action_url,
                                                    java.lang.String icon_image,
                                                    java.lang.String vrml_image,
                                                    java.lang.String statusmap_image,
                                                    java.lang.String icon_image_alt,
                                                    int x_2d,
                                                    int y_2d,
                                                    double x_3d,
                                                    double y_3d,
                                                    double z_3d,
                                                    int have_2d_coords,
                                                    int have_3d_coords)

add_serviceextinfo

public static objects_h.serviceextinfo add_serviceextinfo(java.lang.String host_name,
                                                          java.lang.String description,
                                                          java.lang.String notes,
                                                          java.lang.String notes_url,
                                                          java.lang.String action_url,
                                                          java.lang.String icon_image,
                                                          java.lang.String icon_image_alt)

find_timeperiod

public static objects_h.timeperiod find_timeperiod(java.lang.String name)

find_host

public static objects_h.host find_host(java.lang.String name)

find_hostgroup

public static objects_h.hostgroup find_hostgroup(java.lang.String name)

find_hostgroupmember

public static objects_h.hostgroupmember find_hostgroupmember(java.lang.String name,
                                                             objects_h.hostgroup grp)

find_servicegroup

public static objects_h.servicegroup find_servicegroup(java.lang.String name)

find_servicegroupmember

public static objects_h.servicegroupmember find_servicegroupmember(java.lang.String host_name,
                                                                   java.lang.String svc_description,
                                                                   objects_h.servicegroup grp)

find_contact

public static objects_h.contact find_contact(java.lang.String name)

find_contactgroup

public static objects_h.contactgroup find_contactgroup(java.lang.String name)

find_contactgroupmember

public static objects_h.contactgroupmember find_contactgroupmember(java.lang.String name,
                                                                   objects_h.contactgroup grp)

find_command

public static objects_h.command find_command(java.lang.String name)

find_service

public static objects_h.service find_service(java.lang.String host_name,
                                             java.lang.String svc_desc)

find_hostextinfo

public static objects_h.hostextinfo find_hostextinfo(java.lang.String host_name)

find_serviceextinfo

public static objects_h.serviceextinfo find_serviceextinfo(java.lang.String host_name,
                                                           java.lang.String description)

get_hostescalation_list_by_dependent_host

public static java.util.ArrayList<objects_h.hostescalation> get_hostescalation_list_by_dependent_host(java.lang.String host_name)

get_serviceescalation_list_by_service

public static java.util.ArrayList<objects_h.serviceescalation> get_serviceescalation_list_by_service(java.lang.String host_name,
                                                                                                     java.lang.String svc_description)

get_hostdependency_list_by_dependent_host

public static java.util.ArrayList<objects_h.hostdependency> get_hostdependency_list_by_dependent_host(java.lang.String host_name)

get_servicedependency_list_by_dependent_host

public static java.util.ArrayList<objects_h.servicedependency> get_servicedependency_list_by_dependent_host(java.lang.String host_name,
                                                                                                            java.lang.String svc_description)

is_host_immediate_child_of_host

public static int is_host_immediate_child_of_host(objects_h.host parent_host,
                                                  objects_h.host child_host)

is_host_primary_immediate_child_of_host

public static int is_host_primary_immediate_child_of_host(objects_h.host parent_host,
                                                          objects_h.host child_host)

is_host_immediate_parent_of_host

public static int is_host_immediate_parent_of_host(objects_h.host child_host,
                                                   objects_h.host parent_host)

number_of_immediate_child_hosts

public static int number_of_immediate_child_hosts(objects_h.host hst)

number_of_total_child_hosts

public static int number_of_total_child_hosts(objects_h.host hst)

number_of_immediate_parent_hosts

public static int number_of_immediate_parent_hosts(objects_h.host hst)

is_host_member_of_hostgroup

public static int is_host_member_of_hostgroup(objects_h.hostgroup group,
                                              objects_h.host hst)

is_host_member_of_servicegroup

public static int is_host_member_of_servicegroup(objects_h.servicegroup group,
                                                 objects_h.host hst)

is_service_member_of_servicegroup

public static int is_service_member_of_servicegroup(objects_h.servicegroup group,
                                                    objects_h.service svc)

is_contact_member_of_contactgroup

public static int is_contact_member_of_contactgroup(objects_h.contactgroup group,
                                                    objects_h.contact cntct)

is_contact_for_host

public static boolean is_contact_for_host(objects_h.host hst,
                                          objects_h.contact cntct)

is_escalated_contact_for_host

public static int is_escalated_contact_for_host(objects_h.host hst,
                                                objects_h.contact cntct)

is_contact_for_service

public static boolean is_contact_for_service(objects_h.service svc,
                                             objects_h.contact cntct)

is_escalated_contact_for_service

public static int is_escalated_contact_for_service(objects_h.service svc,
                                                   objects_h.contact cntct)

check_for_circular_path

public static int check_for_circular_path(objects_h.host root_hst,
                                          objects_h.host hst)

check_for_circular_servicedependency

public static int check_for_circular_servicedependency(objects_h.servicedependency root_dep,
                                                       objects_h.servicedependency dep,
                                                       int dependency_type)

check_for_circular_hostdependency

public static int check_for_circular_hostdependency(objects_h.hostdependency root_dep,
                                                    objects_h.hostdependency dep,
                                                    int dependency_type)