<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ page errorPage="../error.jsp"%> <%@ page import="nagios.utilities.*,nagios.ConfigurationObjects.*;" %> ALTA DE NEUVA PLANTILLA DE CONTACTO

ALTA DE NUEVA PLANTILLA DE CONTACTO

<% ContactTO[] plnts = null; TimeperiodTO[] timeperiods = null; CommandTO[] commands = null; //Obtenemos los datos del request plnts = (ContactTO[])request.getAttribute(Constants.TMPLAVALIABLES); timeperiods = (TimeperiodTO[])request.getAttribute(Constants.TIMEPERIODS); commands = (CommandTO[])request.getAttribute(Constants.COMMANDS); %>

Los campos con asterisco (*) son obligatorios. Para la plantilla el nombre ha de comenzar por "plnt_".
Valor Valor de la plantilla ¿Sobreescribe plantilla?
Nombre* <% //if (plantilla != null) out.println(plantilla.getContact_name().getValue()); %>
Alias* <%//if(plantilla != null) out.println(plantilla.getAlias().getValue()); %>
Name (nombre como plantilla) <%//if(plantilla != null) out.println(plantilla.getAlias().getValue()); %>
Register* <%//if(plantilla != null) out.println(plantilla.getAlias().getValue()); %>
plantilla <% //if(plantilla.getPlantilla() != null) out.println(plantilla.getPlantilla().getValue()); %>
host_notification_period* <% //if (plantilla.getHost_notification_period() != null) out.println(contacto.getHost_notification_period().getValue()); %>
service_notification_period*
host_notification_options* [d,u,r,f,n] <%//if(plantilla.getHost_notification_options() != null) //out.println(plantilla.getHost_notification_options().getValue()); %>
service_notification_options* [w,u,c,r,f,n] <%//if(plantilla.getService_notification_options() != null) //out.println(plantilla.getService_notification_options().getValue()); %>
host_notification_commands
service_notification_commands
email <%//if(plantilla.getEmail() != null) //out.println(plantilla.getEmail().getValue()); %>
pager <%//if(plantilla.getPager() != null) //out.println(plantilla.getPager().getValue()); %>
addressx <%//if(plantilla.getAddressx() != null) //out.println(plantilla.getAddressx().getValue()); %>
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: