diff --git a/doc/General/Changelog.md b/doc/General/Changelog.md index 458a63b540..82e417a1ce 100644 --- a/doc/General/Changelog.md +++ b/doc/General/Changelog.md @@ -86,6 +86,7 @@ - Updated visjs to 4.14.0 (PR3031) - Updated apps layout to use panels (PR3117) - Discovery / Polling: + - Added VRF Lite support (PR2820) - Added ability to ignore device sensors from entity mib (PR2862) - Added `ifOperStatus_prev` and `ifAdminStatus_prev` values to db (PR2912) - Improved bgpPolling efficiency (PR2967) diff --git a/doc/Support/Discovery Support.md b/doc/Support/Discovery Support.md index 3fad51b0a0..61744e1d4e 100644 --- a/doc/Support/Discovery Support.md +++ b/doc/Support/Discovery Support.md @@ -42,6 +42,7 @@ $config['discovery_modules']['ports-stack'] = 1; $config['discovery_modules']['entity-physical'] = 1; $config['discovery_modules']['processors'] = 1; $config['discovery_modules']['mempools'] = 1; +$config['discovery_modules']['cisco-vrf-lite'] = 1; $config['discovery_modules']['ipv4-addresses'] = 1; $config['discovery_modules']['ipv6-addresses'] = 1; $config['discovery_modules']['route'] = 0; @@ -57,7 +58,7 @@ $config['discovery_modules']['vlans'] = 1; $config['discovery_modules']['cisco-mac-accounting'] = 1; $config['discovery_modules']['cisco-pw'] = 1; $config['discovery_modules']['cisco-vrf'] = 1; -#$config['discovery_modules']['cisco-cef'] = 1; +#$config['discovery_modules']['cisco-cef'] = 1; $config['discovery_modules']['cisco-sla'] = 1; $config['discovery_modules']['vmware-vminfo'] = 1; $config['discovery_modules']['libvirt-vminfo'] = 1; @@ -81,6 +82,8 @@ $config['discovery_modules']['charge'] = 1; `mempools`: Memory detection support for devices. +`cisco-vrf-lite`: VRF-Lite detection and support. + `ipv4-addresses`: IPv4 Address detection `ipv6-addresses`: IPv6 Address detection diff --git a/html/pages/graphs.inc.php b/html/pages/graphs.inc.php index dcef1cb0cb..2e6e33b29f 100644 --- a/html/pages/graphs.inc.php +++ b/html/pages/graphs.inc.php @@ -108,7 +108,7 @@ else { echo(''); $graph_array = $vars; - $graph_array['height'] = "300"; + $graph_array['height'] = $config['webui']['min_graph_height']; $graph_array['width'] = $graph_width; if($_SESSION['screen_width']) { @@ -125,7 +125,7 @@ else { $graph_array['height'] = ($_SESSION['screen_height'] - ($_SESSION['screen_height']/2)); } else { - $graph_array['height'] = ($_SESSION['screen_height'] - ($_SESSION['screen_height']/1.5)); + $graph_array['height'] = max($graph_array['height'],($_SESSION['screen_height'] - ($_SESSION['screen_height']/1.5))); } } diff --git a/html/pages/settings/webui.inc.php b/html/pages/settings/webui.inc.php index a5b6bf7f24..2878df2540 100644 --- a/html/pages/settings/webui.inc.php +++ b/html/pages/settings/webui.inc.php @@ -11,11 +11,19 @@ $search_conf = array( ), ); +$graph_conf = array( + array('name' => 'webui.min_graph_height', + 'descr' => 'Set the minimum graph height', + 'type' => 'text', + ), +); + echo '