Commit Graph

3440 Commits

Author SHA1 Message Date
vizay
59b4ef7712 Added discovery and polling support for brocade VDX devices. Removed an obsolete value and check for ifAlias (in definitions and ports) since VDX nowdays report correct from ifAlias. Removed printing of interface numbers for vdx devices in the interface list since VDX devices do not report the expected ifIndex value like other switches do 2015-12-04 15:35:02 +01:00
laf
9fce58d872 Replace \n with <br /> 2015-12-04 09:50:51 +00:00
Tony Murray
e8d5756467 Fix missing path info on nginx.
Update nginx documentation to set the PATH_INFO variable.
Avoid hacks in index.php if it PATH_INFO is already set for both nginx and apache.
2015-12-03 13:23:37 -06:00
Eldon Koyle
9659bb322b Fix map bug caused by loopback cable
Fix a map bug where vis.js aborts because a device is inserted twice.
Need to add to $tmp_ids before checking the next device.
2015-12-02 17:07:32 -07:00
laf
6dfc186bb5 Added ability to filter devices by type and os for Oxizied api call 2015-12-02 20:22:38 +00:00
Paul Gear
3821622d36 Merge pull request #2531 from laf/issue-2492
Bootgrid the sensors pages
2015-12-02 21:04:29 +10:00
laf
9655a0496a Fixed scrut errors 2015-12-02 01:37:26 +00:00
laf
f75d93f4cf Bootgrid the sensors pages 2015-12-02 01:13:31 +00:00
laf
3429d56561 Added dropdown caret to alert setting accordians 2015-12-01 22:58:17 +00:00
Neil Lathwood
0deb98ecbe Merge pull request #2510 from Alucardfh/useMoreWidthRebased
Use more width rebased
2015-11-30 20:41:17 +00:00
Louis Bailleul
8d0976de51 Only resize graphs if browser resize width is less than 200px, refresh the page otherwise 2015-11-30 11:10:35 +00:00
Rosiak
767c9b410b Fix #2517
Minor cleanup
2015-11-29 00:53:58 +01:00
Daniel Preussker
b58c178f1b Merge pull request #2508 from nokoya/issue-2507
Sort by Traffic in "Device Port" page
2015-11-28 11:20:52 +00:00
Neil Lathwood
f475289ebf Merge pull request #2515 from SaaldjorMike/device-loc-link
Let device location be clickable in device header, to allow fast sear…
2015-11-27 17:23:30 +00:00
Mike Rostermund
91bb7b9c1f Fixed background color to white in a few overlib graphs 2015-11-27 08:31:08 -08:00
Mike Rostermund
a2da09941b Let device location be clickable in device header, to allow fast search for devices with same location. 2015-11-27 07:27:54 -08:00
Louis Bailleul
094f7d50da Replace the reload on browser resize by a graph width resize 2015-11-27 11:58:56 +00:00
Louis Bailleul
ef1c7a58e3 Fix infinite reload loop due to bad cherry pick
Fix code to respect coding standard
2015-11-26 17:41:41 +00:00
Louis Bailleul
3f25aa4592 Calculate the height as width/2.15 to respect the old aspect ratio
Only display two graphs per line for resolution with width between 700x and 1024px
2015-11-26 17:35:30 +00:00
Louis Bailleul
4d6e194a52 Add reload on resize event to regenerate the graphs correctly 2015-11-26 17:35:16 +00:00
Louis Bailleul
a62067a5b9 Rework the padding and ratio to better fit the lazy loading 2015-11-26 17:35:09 +00:00
Louis Bailleul
66cf9dfffc Only remove the height tag from the lazy loaded images 2015-11-26 17:34:20 +00:00
Louis Bailleul
8e271ace83 Remove debug echo 2015-11-26 17:34:02 +00:00
Louis Bailleul
64b5fa3c4c Round the width and height to prevent weird behavior 2015-11-26 17:33:06 +00:00
Louis Bailleul
c4d774e8d7 Add more padding to accomodate row of graphs that have large y-axis text
Slightly reduced the height of rows of graphs
2015-11-26 17:32:33 +00:00
Louis Bailleul
6bd84ee94f Use media query to reduce font and img size when width is < 960px
Avoid having horizontal scrollbars.
2015-11-26 17:32:13 +00:00
Louis Bailleul
ccfc9450ae Add media query to cahnge the size of the thumbnails
This prevent the scrollbar on graph.inc.php
Tweaked the graphs sizing to fit better on the screen
2015-11-26 17:31:35 +00:00
Louis Bailleul
961a9fff4b Make graph page use session variable to compute graph size 2015-11-26 17:29:17 +00:00
Louis Bailleul
ce8e79c63a Update the session variables for browser width and height when browser is resized 2015-11-26 17:26:27 +00:00
Louis Bailleul
6e1d234312 Divide the width by the number of graphs in a row reduced by an arbitrary value to allow margins
Only display one graph per line if width is < 800px
2015-11-26 17:23:55 +00:00
Louis Bailleul
8961a5f2c1 Use media query to reduce font and img size when width is < 960px
Avoid having horizontal scrollbars.
2015-11-26 17:16:35 +00:00
Louis Bailleul
8f2ddb243d Add media query to cahnge the size of the thumbnails
This prevent the scrollbar on graph.inc.php
Tweaked the graphs sizing to fit better on the screen
2015-11-26 17:15:54 +00:00
Louis Bailleul
12e37a20ee Fix syntax 2015-11-26 17:14:25 +00:00
Louis Bailleul
9ad6763c86 Make graph page use session variable to compute graph size 2015-11-26 17:13:59 +00:00
Louis Bailleul
b1fd1b3137 Only update resolution if session variables don't exist
Tune print-graphrow.inc.php to avoid last graph going to a new line in certain cases
2015-11-26 17:13:29 +00:00
Louis Bailleul
4731e8621b Correct code to match code standards 2015-11-26 17:12:38 +00:00
Louis Bailleul
bafdeaf9ee Update the session variables for browser width and height when browser is resized 2015-11-26 17:10:34 +00:00
Louis Bailleul
6116f00e58 Divide the width by the number of graphs in a row reduced by an arbitrary value to allow margins
Only display one graph per line if width is < 800px
2015-11-26 17:09:39 +00:00
Louis Bailleul
fc9f7eade8 Store browser height and width in session using ajax call
Modify html/includes/print-graphrow.inc.php to make use of the new Session variable
2015-11-26 17:08:39 +00:00
nokoya
5a6f05b0a0 Update ports.inc.php 2015-11-26 20:05:58 +08:00
Joni Lee
d6116f2f98 Sort by Traffic in "Device Port" page 2015-11-26 17:56:14 +08:00
Neil Lathwood
9bf3665706 Merge pull request #2501 from murrant/configs
Oxidized: use the actual group when fetching configs
2015-11-25 21:10:16 +00:00
Søren Rosiak
e42179ae36 Merge pull request #2498 from laf/issue-2496 2015-11-25 18:54:15 +01:00
Tony Murray
dcd0955ab5 Oxidized: used the actual group as collected from node_info instead of assuming group == $device['os']
Left $device['os'] as a fallback.
2015-11-24 23:27:38 -06:00
Neil Lathwood
d3f3b1d423 Merge pull request #2470 from Alucardfh/mergeCpu
Merge all cpu in one graph in device overview
2015-11-24 20:25:41 +00:00
Louis Bailleul
a56344246a Cleanup and reorganize code
Make the average cpu the default
2015-11-23 09:37:58 +00:00
Louis Bailleul
439193c9fa Add the number of cpu between the type and percent graph 2015-11-20 15:53:02 +00:00
Louis Bailleul
ee99ee89d6 Replace tab by space 2015-11-20 15:48:44 +00:00
Louis Bailleul
8921c75d1e Fix formatting 2015-11-20 15:40:57 +00:00
Louis Bailleul
a2bc1a4513 Add possibility to merge all cpu in one graph in the device overview 2015-11-20 15:33:56 +00:00