nagios.ConfigurationObjects
Class ServiceTO

java.lang.Object
  extended by nagios.ConfigurationObjects.ServiceTO

public class ServiceTO
extends java.lang.Object

Clase que representa el objeto de configuración Service definido en Nagios 2.5. Este objeto representa un servicio que será chequeado por Nagios en base a su configuración.

Author:
Agustín Bravo Ortiz

Constructor Summary
ServiceTO()
          Constructor sin parámetros.
 
Method Summary
 void addContact_groups(Trait contact_groups)
          Añade un grupo de contactos al atrubuto
 void addServicegroups(Trait servicegroups)
          Añade un grupo de servicios
 ServiceTO clone(ServiceTO srv)
          Crea un objeto idéntico con los mismos parámetros
 Trait getAction_url()
           
 Trait getActive_checks_enabled()
           
 Trait getCheck_command()
           
 Trait getCheck_freshness()
           
 Trait getCheck_period()
           
 Trait getCommand_arguments()
           
 Trait[] getContact_groups()
           
 Trait getEvent_handler_enabled()
           
 Trait getEvent_handler()
           
 Trait getFlap_detection_enabled()
           
 Trait getFreshness_threshold()
           
 Trait getHigh_flap_threshold()
           
 Trait getHost_name()
           
 Trait getIcon_image_alt()
           
 Trait getIcon_image()
           
 Trait getId_Service()
           
 Trait getIs_volatile()
           
 Trait getLow_flap_threshold()
           
 Trait getMax_check_attempts()
           
 Trait getName()
           
 Trait getNormal_check_interval()
           
 Trait getNotes_url()
           
 Trait getNotes()
           
 Trait getNotification_interval()
           
 Trait getNotification_options()
           
 Trait getNotification_period()
           
 Trait getNotifications_enabled()
           
 Trait getObsess_over_service()
           
 Trait getParallelize_check()
           
 Trait getPassive_checks_enabled()
           
 Trait getPlatform()
           
 Trait getProcess_perf_data()
           
 Trait getRegister()
           
 Trait getRetain_nonstatus_information()
           
 Trait getRetain_status_information()
           
 Trait getRetry_check_interval()
           
 Trait getService_description()
           
 Trait[] getServicegroups()
           
 Trait getStalking_options()
           
 Trait getTemplate()
           
 void setAction_url(Trait action_url)
           
 void setActive_checks_enabled(Trait active_checks_enabled)
           
 void setCheck_command(Trait check_command)
           
 void setCheck_freshness(Trait check_freshness)
           
 void setCheck_period(Trait check_period)
           
 void setCommand_arguments(Trait command_arguments)
           
 void setContact_groups(Trait[] contact_groups)
           
 void setEvent_handler_enabled(Trait event_handler_enabled)
           
 void setEvent_handler(Trait event_handler)
           
 void setFlap_detection_enabled(Trait flap_detection_enabled)
           
 void setFreshness_threshold(Trait freshness_threshold)
           
 void setHigh_flap_threshold(Trait high_flap_threshold)
           
 void setHost_name(Trait host_name)
           
 void setIcon_image_alt(Trait icon_image_alt)
           
 void setIcon_image(Trait icon_image)
           
 void setId_Service(Trait Id_Service)
           
 void setIs_volatile(Trait is_volatile)
           
 void setLow_flap_threshold(Trait low_flap_threshold)
           
 void setMax_check_attempts(Trait max_check_attempts)
           
 void setName(Trait name)
           
 void setNormal_check_interval(Trait normal_check_interval)
           
 void setNotes_url(Trait notes_url)
           
 void setNotes(Trait notes)
           
 void setNotification_interval(Trait notification_interval)
           
 void setNotification_options(Trait notification_options)
           
 void setNotification_period(Trait notification_period)
           
 void setNotifications_enabled(Trait notifications_enabled)
           
 void setObsess_over_service(Trait obsess_over_service)
           
 void setParallelize_check(Trait parallelize_check)
           
 void setPassive_checks_enabled(Trait passive_checks_enabled)
           
 void setPlatform(Trait plataforma)
           
 void setProcess_perf_data(Trait process_perf_data)
           
 void setRegister(Trait register)
           
 void setRetain_nonstatus_information(Trait retain_nonstatus_information)
           
 void setRetain_status_information(Trait retain_status_information)
           
 void setRetry_check_interval(Trait retry_check_interval)
           
 void setService_description(Trait service_description)
           
 void setServicegroups(Trait[] servicegroups)
           
 void setStalking_options(Trait stalking_options)
           
 void setTemplate(Trait plantilla)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceTO

public ServiceTO()
Constructor sin parámetros.

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getAction_url

public Trait getAction_url()
Returns:
Returns the action_url.

setAction_url

public void setAction_url(Trait action_url)
Parameters:
action_url - The action_url to set.

getActive_checks_enabled

public Trait getActive_checks_enabled()
Returns:
Returns the active_checks_enabled.

setActive_checks_enabled

public void setActive_checks_enabled(Trait active_checks_enabled)
Parameters:
active_checks_enabled - The active_checks_enabled to set.

getCheck_command

public Trait getCheck_command()
Returns:
Returns the check_command.

setCheck_command

public void setCheck_command(Trait check_command)
Parameters:
check_command - The check_command to set.

getCheck_freshness

public Trait getCheck_freshness()
Returns:
Returns the check_freshness.

setCheck_freshness

public void setCheck_freshness(Trait check_freshness)
Parameters:
check_freshness - The check_freshness to set.

getCheck_period

public Trait getCheck_period()
Returns:
Returns the check_period.

setCheck_period

public void setCheck_period(Trait check_period)
Parameters:
check_period - The check_period to set.

getContact_groups

public Trait[] getContact_groups()
Returns:
Returns the contact_groups.

setContact_groups

public void setContact_groups(Trait[] contact_groups)
Parameters:
contact_groups - The contact_groups to set.

addContact_groups

public void addContact_groups(Trait contact_groups)
Añade un grupo de contactos al atrubuto

Parameters:
contact_groups - Grupo de contactos que se añade.

getEvent_handler

public Trait getEvent_handler()
Returns:
Returns the event_handler.

setEvent_handler

public void setEvent_handler(Trait event_handler)
Parameters:
event_handler - The event_handler to set.

getEvent_handler_enabled

public Trait getEvent_handler_enabled()
Returns:
Returns the event_handler_enabled.

setEvent_handler_enabled

public void setEvent_handler_enabled(Trait event_handler_enabled)
Parameters:
event_handler_enabled - The event_handler_enabled to set.

getFlap_detection_enabled

public Trait getFlap_detection_enabled()
Returns:
Returns the flap_detection_enabled.

setFlap_detection_enabled

public void setFlap_detection_enabled(Trait flap_detection_enabled)
Parameters:
flap_detection_enabled - The flap_detection_enabled to set.

getFreshness_threshold

public Trait getFreshness_threshold()
Returns:
Returns the freshness_threshold.

setFreshness_threshold

public void setFreshness_threshold(Trait freshness_threshold)
Parameters:
freshness_threshold - The freshness_threshold to set.

getHigh_flap_threshold

public Trait getHigh_flap_threshold()
Returns:
Returns the high_flap_threshold.

setHigh_flap_threshold

public void setHigh_flap_threshold(Trait high_flap_threshold)
Parameters:
high_flap_threshold - The high_flap_threshold to set.

getHost_name

public Trait getHost_name()
Returns:
Returns the host_name.

setHost_name

public void setHost_name(Trait host_name)
Parameters:
host_name - The host_name to set.

getIcon_image

public Trait getIcon_image()
Returns:
Returns the icon_image.

setIcon_image

public void setIcon_image(Trait icon_image)
Parameters:
icon_image - The icon_image to set.

getIcon_image_alt

public Trait getIcon_image_alt()
Returns:
Returns the icon_image_alt.

setIcon_image_alt

public void setIcon_image_alt(Trait icon_image_alt)
Parameters:
icon_image_alt - The icon_image_alt to set.

getId_Service

public Trait getId_Service()
Returns:
Returns the id_Service.

setId_Service

public void setId_Service(Trait Id_Service)
Parameters:
Id_Service - The id_Service to set.

getIs_volatile

public Trait getIs_volatile()
Returns:
Returns the is_volatile.

setIs_volatile

public void setIs_volatile(Trait is_volatile)
Parameters:
is_volatile - The is_volatile to set.

getLow_flap_threshold

public Trait getLow_flap_threshold()
Returns:
Returns the low_flap_threshold.

setLow_flap_threshold

public void setLow_flap_threshold(Trait low_flap_threshold)
Parameters:
low_flap_threshold - The low_flap_threshold to set.

getMax_check_attempts

public Trait getMax_check_attempts()
Returns:
Returns the max_check_attempts.

setMax_check_attempts

public void setMax_check_attempts(Trait max_check_attempts)
Parameters:
max_check_attempts - The max_check_attempts to set.

getNormal_check_interval

public Trait getNormal_check_interval()
Returns:
Returns the normal_check_interval.

setNormal_check_interval

public void setNormal_check_interval(Trait normal_check_interval)
Parameters:
normal_check_interval - The normal_check_interval to set.

getNotes

public Trait getNotes()
Returns:
Returns the notes.

setNotes

public void setNotes(Trait notes)
Parameters:
notes - The notes to set.

getNotes_url

public Trait getNotes_url()
Returns:
Returns the notes_url.

setNotes_url

public void setNotes_url(Trait notes_url)
Parameters:
notes_url - The notes_url to set.

getNotification_interval

public Trait getNotification_interval()
Returns:
Returns the notification_interval.

setNotification_interval

public void setNotification_interval(Trait notification_interval)
Parameters:
notification_interval - The notification_interval to set.

getNotification_options

public Trait getNotification_options()
Returns:
Returns the notification_options.

setNotification_options

public void setNotification_options(Trait notification_options)
Parameters:
notification_options - The notification_options to set.

getNotification_period

public Trait getNotification_period()
Returns:
Returns the notification_period.

setNotification_period

public void setNotification_period(Trait notification_period)
Parameters:
notification_period - The notification_period to set.

getNotifications_enabled

public Trait getNotifications_enabled()
Returns:
Returns the notifications_enabled.

setNotifications_enabled

public void setNotifications_enabled(Trait notifications_enabled)
Parameters:
notifications_enabled - The notifications_enabled to set.

getObsess_over_service

public Trait getObsess_over_service()
Returns:
Returns the obsess_over_service.

setObsess_over_service

public void setObsess_over_service(Trait obsess_over_service)
Parameters:
obsess_over_service - The obsess_over_service to set.

getParallelize_check

public Trait getParallelize_check()
Returns:
Returns the parallelize_check.

setParallelize_check

public void setParallelize_check(Trait parallelize_check)
Parameters:
parallelize_check - The parallelize_check to set.

getPassive_checks_enabled

public Trait getPassive_checks_enabled()
Returns:
Returns the passive_checks_enabled.

setPassive_checks_enabled

public void setPassive_checks_enabled(Trait passive_checks_enabled)
Parameters:
passive_checks_enabled - The passive_checks_enabled to set.

getTemplate

public Trait getTemplate()
Returns:
Returns the plantilla.

setTemplate

public void setTemplate(Trait plantilla)
Parameters:
plantilla - The plantilla to set.

getProcess_perf_data

public Trait getProcess_perf_data()
Returns:
Returns the process_perf_data.

setProcess_perf_data

public void setProcess_perf_data(Trait process_perf_data)
Parameters:
process_perf_data - The process_perf_data to set.

getRetain_nonstatus_information

public Trait getRetain_nonstatus_information()
Returns:
Returns the retain_nonstatus_information.

setRetain_nonstatus_information

public void setRetain_nonstatus_information(Trait retain_nonstatus_information)
Parameters:
retain_nonstatus_information - The retain_nonstatus_information to set.

getRetain_status_information

public Trait getRetain_status_information()
Returns:
Returns the retain_status_information.

setRetain_status_information

public void setRetain_status_information(Trait retain_status_information)
Parameters:
retain_status_information - The retain_status_information to set.

getRetry_check_interval

public Trait getRetry_check_interval()
Returns:
Returns the retry_check_interval.

setRetry_check_interval

public void setRetry_check_interval(Trait retry_check_interval)
Parameters:
retry_check_interval - The retry_check_interval to set.

getService_description

public Trait getService_description()
Returns:
Returns the service_description.

setService_description

public void setService_description(Trait service_description)
Parameters:
service_description - The service_description to set.

getServicegroups

public Trait[] getServicegroups()
Returns:
Returns the servicegroups.

setServicegroups

public void setServicegroups(Trait[] servicegroups)
Parameters:
servicegroups - The servicegroups to set.

addServicegroups

public void addServicegroups(Trait servicegroups)
Añade un grupo de servicios

Parameters:
servicegroups - Grupo de servicios que se añade.

getStalking_options

public Trait getStalking_options()
Returns:
Returns the stalking_options.

setStalking_options

public void setStalking_options(Trait stalking_options)
Parameters:
stalking_options - The stalking_options to set.

getPlatform

public Trait getPlatform()
Returns:
the plataforma

setPlatform

public void setPlatform(Trait plataforma)
Parameters:
plataforma - the plataforma to set

getRegister

public Trait getRegister()
Returns:
the register

setRegister

public void setRegister(Trait register)
Parameters:
register - the register to set

getName

public Trait getName()
Returns:
the name

setName

public void setName(Trait name)
Parameters:
name - the name to set

getCommand_arguments

public Trait getCommand_arguments()
Returns:
the command_arguments

setCommand_arguments

public void setCommand_arguments(Trait command_arguments)
Parameters:
command_arguments - the command_arguments to set

clone

public ServiceTO clone(ServiceTO srv)
Crea un objeto idéntico con los mismos parámetros

Parameters:
srv - Objeto a clonar
Returns:
Objeto clonado


e-REdING. Biblioteca de la Escuela Superior de Ingenieros de Sevilla.


APLICACIÓN PARA LA GENERACIÓN Y ADMINISTRACIÓN DE LA CONFIGURACIÓN DE NAGIOS

: Bravo Ortiz, Agustín
: Ingeniería Telecomunicación
Contenido del proyecto: