mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
git-svn-id: http://www.observium.org/svn/observer/trunk@198 61d68cd4-352d-0410-923a-c4978735b2b8
34 lines
728 B
PHP
34 lines
728 B
PHP
|
|
<?
|
|
|
|
if($bg == $list_colour_a) { $bg = $list_colour_b; } else { $bg=$list_colour_a; }
|
|
|
|
if(!$entry['processed']) { $entry = process_syslog($entry, 1); }
|
|
|
|
if(!$entry['deleted']) {
|
|
|
|
$entry['hostname'] = gethostbyid($entry['device_id']);
|
|
|
|
echo("<tr style=\"background-color: $bg\">
|
|
<td width=0></td>");
|
|
|
|
echo("<td class=syslog width=125>" . $entry['date'] . "</td>");
|
|
|
|
$entry['hostname'] = shorthost($entry['hostname'], 20);
|
|
|
|
if($_GET['page'] != "device") {
|
|
echo("<td width=160><strong>".generatedevicelink($entry)."</strong></td>");
|
|
}
|
|
|
|
|
|
echo(" <td class=syslog>
|
|
<strong>" . $entry['program'] . " : </strong>
|
|
" . htmlspecialchars($entry['msg']) . "
|
|
</td>
|
|
<td></td>
|
|
</tr>");
|
|
|
|
}
|
|
|
|
?>
|