Beispiel #1
0
                <?php 
    if (isset($net_data['hosts'])) {
        foreach ($net_data['hosts'] as $host_ip => $host_data) {
            $host++;
            ?>
                        <tr id="host_<?php 
            echo $host;
            ?>
_<?php 
            echo $ac;
            ?>
" style="display: none">
                            <td width="6%" style="border: 0px;">&nbsp;</td>
                            <td style="text-align: left">&nbsp;&nbsp;
                                <?php 
            echo html_host_report($host_ip, $host_data['name']);
            ?>
                            </td>
                            <?php 
            html_set_values($host_ip, 'host', $host_data["max_{$ac}"], $host_data["max_{$ac}_date"], $host_data["current_{$ac}"], $host_data["threshold_{$ac}"], $ac);
            ?>
                            <td nowrap><?php 
            echo html_rrd();
            ?>
 <?php 
            echo html_incident();
            ?>
</td>
                            <td nowrap><?php 
            echo html_date();
            ?>
Beispiel #2
0
        echo _("Max");
        ?>
</th>
					<th><?php 
        echo _("Current");
        ?>
</th>
				</tr>
				<?php 
        $i = 0;
        foreach ($ext_hosts as $ip => $host_data) {
            ?>
					<tr>
						<td colspan="2" style="text-align: left">
							<?php 
            echo html_host_report($ip, $ip);
            ?>
						</td>
						<?php 
            html_set_values($ip, 'host', $host_data["max_{$ac}"], $host_data["max_{$ac}_date"], $host_data["current_{$ac}"], $host_data["threshold_{$ac}"], $ac);
            ?>
						<td><?php 
            echo html_rrd();
            ?>
 <?php 
            echo html_incident();
            ?>
</td>
						<td nowrap='nowrap'><?php 
            echo html_date();
            ?>