org.blue.base
Class notifications
java.lang.Object
org.blue.base.notifications
public class notifications
- extends java.lang.Object
|
Method Summary |
static int |
add_notification(objects_h.contact cntct)
|
static int |
check_contact_host_notification_viability(objects_h.contact cntct,
objects_h.host hst,
int type)
|
static int |
check_contact_service_notification_viability(objects_h.contact cntct,
objects_h.service svc,
int type)
|
static int |
check_host_notification_viability(objects_h.host hst,
int type)
|
static int |
check_service_notification_viability(objects_h.service svc,
int type)
|
static int |
create_notification_list_from_host(objects_h.host hst)
|
static int |
create_notification_list_from_service(objects_h.service svc)
|
static nagios_h.notification |
find_notification(java.lang.String contact_name)
|
static long |
get_next_host_notification_time(objects_h.host hst,
long offset)
|
static long |
get_next_service_notification_time(objects_h.service svc,
long offset)
|
static int |
host_notification(objects_h.host hst,
int type,
java.lang.String ack_author,
java.lang.String ack_data)
|
static int |
is_valid_escalation_for_service_notification(objects_h.service svc,
objects_h.serviceescalation se)
|
static int |
is_valid_host_escalation_for_host_notification(objects_h.host hst,
objects_h.hostescalation he)
|
static int |
notify_contact_of_host(objects_h.contact cntct,
objects_h.host hst,
int type)
|
static int |
notify_contact_of_service(objects_h.contact cntct,
objects_h.service svc,
int type)
|
static int |
service_notification(objects_h.service svc,
int type,
java.lang.String ack_author,
java.lang.String ack_data)
|
static int |
should_host_notification_be_escalated(objects_h.host hst)
|
static int |
should_service_notification_be_escalated(objects_h.service svc)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
notifications
public notifications()
service_notification
public static int service_notification(objects_h.service svc,
int type,
java.lang.String ack_author,
java.lang.String ack_data)
check_service_notification_viability
public static int check_service_notification_viability(objects_h.service svc,
int type)
check_contact_service_notification_viability
public static int check_contact_service_notification_viability(objects_h.contact cntct,
objects_h.service svc,
int type)
notify_contact_of_service
public static int notify_contact_of_service(objects_h.contact cntct,
objects_h.service svc,
int type)
is_valid_escalation_for_service_notification
public static int is_valid_escalation_for_service_notification(objects_h.service svc,
objects_h.serviceescalation se)
should_service_notification_be_escalated
public static int should_service_notification_be_escalated(objects_h.service svc)
create_notification_list_from_service
public static int create_notification_list_from_service(objects_h.service svc)
host_notification
public static int host_notification(objects_h.host hst,
int type,
java.lang.String ack_author,
java.lang.String ack_data)
check_host_notification_viability
public static int check_host_notification_viability(objects_h.host hst,
int type)
check_contact_host_notification_viability
public static int check_contact_host_notification_viability(objects_h.contact cntct,
objects_h.host hst,
int type)
notify_contact_of_host
public static int notify_contact_of_host(objects_h.contact cntct,
objects_h.host hst,
int type)
is_valid_host_escalation_for_host_notification
public static int is_valid_host_escalation_for_host_notification(objects_h.host hst,
objects_h.hostescalation he)
should_host_notification_be_escalated
public static int should_host_notification_be_escalated(objects_h.host hst)
create_notification_list_from_host
public static int create_notification_list_from_host(objects_h.host hst)
get_next_service_notification_time
public static long get_next_service_notification_time(objects_h.service svc,
long offset)
get_next_host_notification_time
public static long get_next_host_notification_time(objects_h.host hst,
long offset)
find_notification
public static nagios_h.notification find_notification(java.lang.String contact_name)
add_notification
public static int add_notification(objects_h.contact cntct)