nagios.ConfigurationObjects
Class HostTO

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

public class HostTO
extends java.lang.Object

Clase que representa el objeto de configuración Host definido en Nagios 2.5. Este objeto representa un servidor que es chequeado periodicamente por Nagios.

Author:
Agustín Bravo Ortiz

Constructor Summary
HostTO()
          Constructor sin argumentos
 
Method Summary
 void addContact_groups(Trait contact_groups)
          Añade un grupo de contactos al atributo contact_groups del Host.
 void addHostgroups(Trait hostgroups)
          Añade grupo de hosts al parámetro hostgroups del Host.
 void addParents(Trait parents)
          Añade un parámetro más al atributo parents
 Trait getAction_url()
           
 Trait getActive_checks_enabled()
           
 Trait getAddress()
           
 Trait getAlias()
           
 Trait getCheck_command()
           
 Trait getCheck_freshness()
           
 Trait getCheck_interval()
           
 Trait getCheck_period()
           
 Trait[] getContact_groups()
           
 Trait getDosd_coords()
           
 Trait getEvent_handler_enabled()
           
 Trait getEvent_handler()
           
 Trait getFlap_detection_enabled()
           
 Trait getFreshness_threshold()
           
 Trait getHigh_flap_threshold()
           
 Trait getHost_name()
           
 Trait[] getHostgroups()
           
 Trait getIcon_image_alt()
           
 Trait getIcon_image()
           
 Trait getId_Host()
           
 Trait getLow_flap_threshold()
           
 Trait getMax_check_attempts()
           
 Trait getName()
           
 Trait getNotes_url()
           
 Trait getNotes()
           
 Trait getNotification_interval()
           
 Trait getNotification_options()
           
 Trait getNotification_period()
           
 Trait getNotifications_enabled()
           
 Trait getObsess_over_host()
           
 Trait[] getParents()
           
 Trait getPassive_checks_enabled()
           
 Trait getPlatform()
           
 Trait getProcess_perf_data()
           
 Trait getRegister()
           
 Trait getRetain_nonstatus_information()
           
 Trait getRetain_status_information()
           
 Trait getStalking_options()
           
 Trait getStatusmap_image()
           
 Trait getTemplate()
           
 Trait getTresd_coords()
           
 Trait getVrml_image()
           
 Trait isActive_checks_enabled()
           
 Trait isCheck_freshness()
           
 Trait isEvent_handler_enabled()
           
 Trait isFlap_detection_enabled()
           
 Trait isNotifications_enabled()
           
 Trait isObsess_over_host()
           
 Trait isPassive_checks_enabled()
           
 Trait isProcess_perf_data()
           
 Trait isRetain_nonstatus_information()
           
 Trait isRetain_status_information()
           
 void setAction_url(Trait action_url)
           
 void setActive_checks_enabled(Trait active_checks_enabled)
           
 void setAddress(Trait address)
           
 void setAlias(Trait alias)
           
 void setCheck_command(Trait checkcommand)
           
 void setCheck_freshness(Trait check_freshness)
           
 void setCheck_interval(Trait check_interval)
           
 void setCheck_period(Trait check_period)
           
 void setContact_groups(Trait[] contact_groups)
           
 void setDosd_coords(Trait dosd_coords)
           
 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 setHostgroups(Trait[] hostgroups)
           
 void setIcon_image_alt(Trait icon_image_alt)
           
 void setIcon_image(Trait icon_image)
           
 void setId_Host(Trait id_Host)
           
 void setLow_flap_threshold(Trait low_flap_threshold)
           
 void setMax_check_attempts(Trait max_check_attempts)
           
 void setName(Trait name)
           
 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_host(Trait obsess_over_host)
           
 void setParents(Trait[] parents)
           
 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 setStalking_options(Trait stalking_options)
           
 void setStatusmap_image(Trait statusmap_image)
           
 void setTemplate(Trait plantilla)
           
 void setTresd_coords(Trait tresd_coords)
           
 void setVrml_image(Trait vrml_image)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HostTO

public HostTO()
Constructor sin argumentos

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.

isActive_checks_enabled

public Trait isActive_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.

getAlias

public Trait getAlias()
Returns:
Returns the alias.

setAlias

public void setAlias(Trait alias)
Parameters:
alias - The alias to set.

getCheck_interval

public Trait getCheck_interval()
Returns:
Returns the check_interval.

setCheck_interval

public void setCheck_interval(Trait check_interval)
Parameters:
check_interval - The check_interval to set.

isCheck_freshness

public Trait isCheck_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.

getCheck_command

public Trait getCheck_command()
Returns:
Returns the checkcommand.

setCheck_command

public void setCheck_command(Trait checkcommand)
Parameters:
checkcommand - The checkcommand 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 atributo contact_groups del Host.

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.

isEvent_handler_enabled

public Trait isEvent_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.

isFlap_detection_enabled

public Trait isFlap_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.

getHostgroups

public Trait[] getHostgroups()
Returns:
Returns the hostgroups.

setHostgroups

public void setHostgroups(Trait[] hostgroups)
Parameters:
hostgroups - The hostgroups to set.

addHostgroups

public void addHostgroups(Trait hostgroups)
Añade grupo de hosts al parámetro hostgroups del Host.

Parameters:
hostgroups - Grupo de hosts que se añade.

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.

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.

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.

isNotifications_enabled

public Trait isNotifications_enabled()
Returns:
Returns the notifications_enabled.

setNotifications_enabled

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

isObsess_over_host

public Trait isObsess_over_host()
Returns:
Returns the obsess_over_host.

setObsess_over_host

public void setObsess_over_host(Trait obsess_over_host)
Parameters:
obsess_over_host - The obsess_over_host to set.

getParents

public Trait[] getParents()
Returns:
Returns the parents.

setParents

public void setParents(Trait[] parents)
Parameters:
parents - The parents to set.

addParents

public void addParents(Trait parents)
Añade un parámetro más al atributo parents

Parameters:
parents - Parámetro que se añade.

isPassive_checks_enabled

public Trait isPassive_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.

isProcess_perf_data

public Trait isProcess_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.

isRetain_nonstatus_information

public Trait isRetain_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.

isRetain_status_information

public Trait isRetain_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.

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.

getStatusmap_image

public Trait getStatusmap_image()
Returns:
Returns the statusmap_image.

setStatusmap_image

public void setStatusmap_image(Trait statusmap_image)
Parameters:
statusmap_image - The statusmap_image to set.

getVrml_image

public Trait getVrml_image()
Returns:
Returns the vrml_image.

setVrml_image

public void setVrml_image(Trait vrml_image)
Parameters:
vrml_image - The vrml_image to set.

getAddress

public Trait getAddress()
Returns:
Returns the address.

setAddress

public void setAddress(Trait address)
Parameters:
address - The address to set.

getPlatform

public Trait getPlatform()
Returns:
the plataforma

setPlatform

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

getActive_checks_enabled

public Trait getActive_checks_enabled()
Returns:
the active_checks_enabled

getCheck_freshness

public Trait getCheck_freshness()
Returns:
the check_freshness

getEvent_handler_enabled

public Trait getEvent_handler_enabled()
Returns:
the event_handler_enabled

getFlap_detection_enabled

public Trait getFlap_detection_enabled()
Returns:
the flap_detection_enabled

getNotifications_enabled

public Trait getNotifications_enabled()
Returns:
the notifications_enabled

getObsess_over_host

public Trait getObsess_over_host()
Returns:
the obsess_over_host

getPassive_checks_enabled

public Trait getPassive_checks_enabled()
Returns:
the passive_checks_enabled

getProcess_perf_data

public Trait getProcess_perf_data()
Returns:
the process_perf_data

getRetain_nonstatus_information

public Trait getRetain_nonstatus_information()
Returns:
the retain_nonstatus_information

getRetain_status_information

public Trait getRetain_status_information()
Returns:
the retain_status_information

getDosd_coords

public Trait getDosd_coords()
Returns:
the dosd_coords

setDosd_coords

public void setDosd_coords(Trait dosd_coords)
Parameters:
dosd_coords - the dosd_coords to set

getTresd_coords

public Trait getTresd_coords()
Returns:
the tresd_coords

setTresd_coords

public void setTresd_coords(Trait tresd_coords)
Parameters:
tresd_coords - the tresd_coords 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

getId_Host

public Trait getId_Host()
Returns:
the id_Host

setId_Host

public void setId_Host(Trait id_Host)
Parameters:
id_Host - the id_Host to set


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: