diff --git a/html/graph-realtime.php b/html/graph-realtime.php
index 714dafdb4..5d5fc5d38 100755
--- a/html/graph-realtime.php
+++ b/html/graph-realtime.php
@@ -39,6 +39,8 @@ $ifnum=@$port['ifIndex']; // BSD / SNMP interface name / number
$ifname=@$port['ifDescr']; //Interface name that will be showed on top right of graph
$hostname=shorthost($device['hostname']);
+if($_GET['title']) { $ifname = $_GET['title']; }
+
/********* Other conf *******/
$scale_type="follow"; //Autoscale default setup : "up" = only increase scale; "follow" = increase and decrease scale according to current graphed datas
$nb_plot=240; //NB plot in graph
@@ -58,8 +60,8 @@ $attribs['out']='fill="blue" font-family="Tahoma, Verdana, Arial, Helvetica, san
$attribs['graph_in']='fill="none" stroke="green" stroke-opacity="0.8"';
$attribs['graph_out']='fill="none" stroke="blue" stroke-opacity="0.8"';
$attribs['legend']='fill="black" font-family="Tahoma, Verdana, Arial, Helvetica, sans-serif" font-size="4"';
-$attribs['graphname']='fill="#435370" font-family="Tahoma, Verdana, Arial, Helvetica, sans-serif" font-size="8"';
-$attribs['hostname']='fill="#435370" font-family="Tahoma, Verdana, Arial, Helvetica, sans-serif" font-size="4"';
+$attribs['graphname']='fill="#435370" font-family="Tahoma, Verdana, Arial, Helvetica, sans-serif" font-size="9"';
+$attribs['hostname']='fill="#435370" font-family="Tahoma, Verdana, Arial, Helvetica, sans-serif" font-size="6"';
$attribs['grid_txt']='fill="gray" font-family="Tahoma, Verdana, Arial, Helvetica, sans-serif" font-size="6"';
$attribs['grid']='stroke="gray" stroke-opacity="0.5"';
$attribs['switch_unit']='fill="#435370" font-family="Tahoma, Verdana, Arial, Helvetica, sans-serif" font-size="4" text-decoration="underline"';
@@ -90,8 +92,8 @@ print('' . "\n");?>
>Out
>
>
- text-anchor="end">=$ifname?>
- text-anchor="end">=$hostname?>
+ text-anchor="end">=$ifname?>
+ text-anchor="end">=$hostname?>
>Switch to bytes/s
>AutoScale (=$scale_type?>)
>
diff --git a/html/pages/device/port.inc.php b/html/pages/device/port.inc.php
index 389a61d4a..c7409325e 100644
--- a/html/pages/device/port.inc.php
+++ b/html/pages/device/port.inc.php
@@ -59,6 +59,7 @@ $link_array = array('page' => 'device',
$menu_options['graphs'] = 'Graphs';
$menu_options['realtime'] = 'Real time'; ### FIXME CONDITIONAL
$menu_options['arp'] = 'ARP Table';
+$menu_options['events'] = 'Eventlog';
if (dbFetchCell("SELECT COUNT(*) FROM `ports_adsl` WHERE `interface_id` = '".$port['interface_id']."'") )
{ $menu_options['adsl'] = 'ADSL'; }
diff --git a/html/pages/device/port/events.inc.php b/html/pages/device/port/events.inc.php
new file mode 100644
index 000000000..0fe9c01ae
--- /dev/null
+++ b/html/pages/device/port/events.inc.php
@@ -0,0 +1,16 @@
+');
+
+foreach ($entries as $entry)
+{
+ include("includes/print-event.inc.php");
+}
+
+echo('');
+
+$pagetitle[] = "Events";
+
+
+?>
diff --git a/includes/defaults.inc.php b/includes/defaults.inc.php
index b1b461d37..6000024bc 100644
--- a/includes/defaults.inc.php
+++ b/includes/defaults.inc.php
@@ -245,6 +245,7 @@ $config['device_traffic_descr'][] = '/vlan/';
$config['device_traffic_descr'][] = '/tunnel/';
$config['device_traffic_descr'][] = '/:\d+/';
$config['device_traffic_descr'][] = '/bond/';
+$config['device_traffic_descr'][] = '/null/';
### IRC Bot configuration