Exemplo n.º 1
0
$svcDesc = isdefined($viewData->svcInfo, 'service_description');
$svcUse = isdefined($viewData->svcInfo, 'use');
$svcChkCommand = isdefined($viewData->svcInfo, 'check_command');
$svcInitState = isdefined($viewData->svcInfo, 'initial_state');
$svcMaxChkAtts = isdefined($viewData->svcInfo, 'max_check_attempts');
$svcCheckInt = isdefined($viewData->svcInfo, 'check_interval');
$svcRetryInt = isdefined($viewData->svcInfo, 'retry_interval');
$svcActChks = onoffdefined($viewData->svcInfo, 'active_checks_enabled');
$svcPsvChks = onoffdefined($viewData->svcInfo, 'passive_checks_enabled');
$svcChkPeriod = isdefined($viewData->svcInfo, 'check_period');
$svcPPData = onoffdefined($viewData->svcInfo, 'process_perf_data');
$svcRetStatusInfo = onoffdefined($viewData->svcInfo, 'retain_status_information');
$svcRetNStatusInfo = onoffdefined($viewData->svcInfo, 'retain_nonstatus_information');
$svcContacts = isdefined($viewData->svcInfo, 'contacts', true);
$svcContactGrps = isdefined($viewData->svcInfo, 'contact_groups', true);
$svcNotifEn = onoffdefined($viewData->svcInfo, 'notifications_enabled');
$svcNotifInt = isdefined($viewData->svcInfo, 'notification_interval');
$svcNotifPeriod = isdefined($viewData->svcInfo, 'notification_period');
$svcNotifOpts = isdefined($viewData->svcInfo, 'notification_options', true);
$svcNotesUrl = isdefined($viewData->svcInfo, 'notes_url');
$svcActionUrl = isdefined($viewData->svcInfo, 'action_url');
?>
<link type="text/css" rel="stylesheet" href="static/css/tables.css" />
<body>
<div id="svcs" style="border-width:2px;width:97%;left:5;top:5;position:absolute" class="admin_box_blue divCacGroup admin_border_black">
<table class="noderesults">
    <thead>
<?php 
if ($viewData->delFlag === true) {
    ?>
        <th colspan="2">Delete Service Information for <?php 
$hostAlias = isdefined($viewData->hostInfo, 'alias');
$hostUse = isdefined($viewData->hostInfo, 'use');
$hostChkCommand = isdefined($viewData->hostInfo, 'check_command');
$hostInitState = isdefined($viewData->hostInfo, 'initial_state');
$hostMaxChkAtts = isdefined($viewData->hostInfo, 'max_check_attempts');
$hostCheckInt = isdefined($viewData->hostInfo, 'check_interval');
$hostRetryInt = isdefined($viewData->hostInfo, 'retry_interval');
$hostActChks = onoffdefined($viewData->hostInfo, 'active_checks_enabled');
$hostPsvChks = onoffdefined($viewData->hostInfo, 'passive_checks_enabled');
$hostChkPeriod = isdefined($viewData->hostInfo, 'check_period');
$hostPPData = onoffdefined($viewData->hostInfo, 'process_perf_data');
$hostRetStatusInfo = onoffdefined($viewData->hostInfo, 'retain_status_information');
$hostRetNStatusInfo = onoffdefined($viewData->hostInfo, 'retain_nonstatus_information');
$hostContacts = isdefined($viewData->hostInfo, 'contacts', true);
$hostContactGrps = isdefined($viewData->hostInfo, 'contact_groups', true);
$hostNotifEn = onoffdefined($viewData->hostInfo, 'notifications_enabled');
$hostNotifInt = isdefined($viewData->hostInfo, 'notification_interval');
$hostNotifPeriod = isdefined($viewData->hostInfo, 'notification_period');
$hostNotifOpts = isdefined($viewData->hostInfo, 'notification_options', true);
$hostNotesUrl = isdefined($viewData->hostInfo, 'notes_url');
?>
<link type="text/css" rel="stylesheet" href="static/css/tables.css" />
<body>
<div id="host-template" style="border-width:2px;width:97%;left:5;top:5;position:absolute" class="admin_box_blue divCacGroup admin_border_black">
<table class="noderesults">
    <thead>
<?php 
if ($viewData->delFlag === true) {
    ?>
        <th colspan="2">Delete Host Template Information for <?php 
    echo $hostName;