diff options
author | Phil Davis <phil.davis@inf.org> | 2015-06-12 16:37:53 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2015-06-12 16:37:53 +0545 |
commit | a7a064f4e523cc94d8570075e8b3b9a9220da3a3 (patch) | |
tree | 010927f027608cbe303c766e9206b2e5ac710296 /usr/local/www/status_graph.php | |
parent | 71f29f4424060c68f22b383d6d80f2fd3d21f466 (diff) | |
download | pfsense-a7a064f4e523cc94d8570075e8b3b9a9220da3a3.zip pfsense-a7a064f4e523cc94d8570075e8b3b9a9220da3a3.tar.gz |
Add description as a display option on Traffic Graph
This is handy at sites where lots of the LAN clients have static-mapped
DHCP IP addresses. Depending on the site host naming conventions, host
names can be a bit obtuse - may not tell you where the client device
might actually be in the building. We put other useful stuff in the
description - "Jane Doe - Reception".
This enhancement allows the user of Traffic Graph to select
"Description" in the "Display" dropdown. Then, for IP addresses that are
static mapped, the description from the config is shown, rather than the
host name.
When a client device is noticed hogging bandwidth, it is easy to go
straight to "Jane Doe - Reception" and ask why they are doing some huge
download.
Might be useful for for others?
Diffstat (limited to 'usr/local/www/status_graph.php')
-rw-r--r-- | usr/local/www/status_graph.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/status_graph.php b/usr/local/www/status_graph.php index 28d13c1..d5d5253 100644 --- a/usr/local/www/status_graph.php +++ b/usr/local/www/status_graph.php @@ -233,6 +233,7 @@ if (isset($config['ipsec']['enable']) || isset($config['ipsec']['client']['enabl <select id="hostipformat" name="hostipformat" class="formselect" style="z-index: -10;" onchange="document.form1.submit()"> <option value="">IP Address</option> <option value="hostname"<?php if ($curhostipformat == "hostname") echo " selected";?>>Host Name</option> + <option value="descr"<?php if ($curhostipformat == "descr") echo " selected=\"selected\"";?>>Description</option> <option value="fqdn"<?php if ($curhostipformat == "fqdn") echo " selected=\"selected\"";?>>FQDN</option> </select> </form> |