Evil.2000 and Neil Lathwood
86c097574b
Added hiding of disabled ports in graph, device overview and device ports view. ( #9017 )
...
When disabling or ignoring ports in the "Ports Settings" (http://<nms_host>/device/device=<device_id>/tab=edit/section=ports/) then the ports are still shown under the Port tab for a specific device (http://<nms_host>/device/device=<device_id>/section=ports/) and in the Overall Traffic Graph.
To keep the view and graph more clear, this change only shows the ports which are not disabled or ignored.
DO NOT DELETE THIS TEXT
#### Please note
> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.
- [y] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/ )
#### Testers
If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
2018-08-17 18:24:11 +01:00
Tony Murray and Neil Lathwood
214472ba89
refactor: rename array_sort() to avoid function collision ( #8494 )
2018-04-01 21:27:41 +01:00
Tony Murray and Neil Lathwood
bf0df7266a
feature: Added fdb discovery module ( #6887 )
...
revert the context_name changes to snmp.inc.php and use the same method as other parts of the code
2017-06-26 13:58:17 +01:00
Neil Lathwood and GitHub
54365985a6
Revert "feature: fdb tables ( #6616 )" ( #6886 )
...
This reverts commit 81ddab86af .
2017-06-25 07:04:04 +01:00
Lorenzo Zafra and Tony Murray
81ddab86af
feature: fdb tables ( #6616 )
...
* feature: FDB TABLES for ios and timos
* Fixed coding style issues
* renamed fdb.sql to 191.sql
* fixed travisCI issue
* FDB table discovery working on IOS
* Fixed bug: failing to insert fdb entries into database
* Fix phpcbf issue
* moved sql schema
* rename sql schema
* Add (tentative) FDB support for HP Comware switches
* build schema
* schema changes
* run build schema.......
* FBD Table discovery working on HP ComWare
* FBD Table discovery working on HP ComWare
* Add FDB support for HP Comware
* Discovery regex fix, tested and works for cisco 3750, 2960, 6509
* Use vlan_id instead of raw vlan. Remove Nokia implementation as vlans are not being discovered for it at the moment.
* Use vlan_id instead of vlan.
* Add debug messages, comware support
* Sorry.. phpunit isnt working for me
* Use a file structure instead of if statement per OS
* Make inserts to vlan table if entry does not exist.
* Rename sql schema file
* Use existing context name
Improve output and database synchronization
Remove chromephp and if ios
rename sqlfile
add comware back
update schema
* Delete TIMETRA-CHASSIS-MIB
* Delete TIMETRA-FILTER-MIB
* change index to bigint to be safe
2017-06-24 22:07:31 -05:00
Neil Lathwood and GitHub
1bbbaff58b
refactor: Moved ifLabel -> cleanPort and updated the usage ( #6288 )
...
* refactor: Moved ifLabel -> cleanPort and updated the usage
* added list of tags allowed
* few updates as per comments from @murrant
* Added simple unit tests
* double display for javascript popover
* Remove ifNameDescr() function
Fix realtime port page
* remove accidental temp code
* Remove double display calls in ajax tables
2017-04-04 08:08:23 +01:00
Neil Lathwood and GitHub
9b9c10e204
fix: Cleanup printing ifAlias ( #4874 )
2016-12-12 14:25:48 +00:00
Tony Murray and Neil Lathwood
a83e126b40
refactor: Remove inappropriate usages of truncate() ( #5028 )
...
Where truncate() is used as substr(), replace with substr()
2016-11-20 11:12:25 +00:00
Tony Murray
8c639aa5a4
PSR2 Cleanup: /html edition
...
Travis tests for code conformance. Ignore warnings for now.
Fixed all errors, left most warnings.
2016-08-18 21:29:30 -05:00
Tony Murray
01cfb960d1
Fix sensors rrd name issue
...
Use last instead of first, as last won't flush rrdcached
Only stream_select if timeout > 0
Attempt to fix mysql
2016-07-08 22:58:36 -05: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
Mike Rostermund
91bb7b9c1f
Fixed background color to white in a few overlib graphs
2015-11-27 08:31:08 -08: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
Daniel Preussker
7832868dd6
Added generic memcached support to dbFacile.*
...
Remove now obsolete memcached code in:
html/ajax_rulesuggest.php
Remove all the broken memcached code in:
html/pages/device/health/mempool.inc.php
html/pages/device/overview/generic/sensor.inc.php
html/pages/device/overview/mempools.inc.php
html/pages/device/port.inc.php
html/pages/device/ports.inc.php
html/pages/health/sensors.inc.php
includes/polling/functions.inc.php
includes/polling/mempools.inc.php
includes/polling/ports.inc.php
includes/polling/storage.inc.php
2015-09-27 19:33:17 +00:00
Arjit Chaudhary
e6965765f5
Various UI changes
2015-09-21 01:30:23 +05:30
Mark Schouten
4fa88bb928
Remove all unneeded if($debug)-statements and replace them with d_echo . html dir..
2015-08-21 16:10:01 +02:00
Job Snijders
d8693f05ae
Fix coding style part 2
2015-07-15 11:04:22 +02:00
laf
6e84535031
Dynamic config system
2015-05-14 21:54:33 +01:00
Adam Amstrong
1d4b392876
push more state to memcached fix sensors poller to not retry all temperature sensors where return >9000 5 times (lmsensors returns milliC, so 30000 for 30C)
...
git-svn-id: http://www.observium.org/svn/observer/trunk@3244 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-25 18:35:17 +00:00
Adam Amstrong
b273e04241
/// -> //
...
git-svn-id: http://www.observium.org/svn/observer/trunk@3240 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-25 12:24:34 +00:00
Adam Amstrong
cacf913a55
# -> / for phpdoc
...
git-svn-id: http://www.observium.org/svn/observer/trunk@3239 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-25 11:29:53 +00:00
Adam Amstrong
4db1454e92
move from port_id to interface_id. make ports discovery only discover. add some cleaner functions. add a tiny bit of alerting infrastructure.
...
git-svn-id: http://www.observium.org/svn/observer/trunk@3195 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-16 13:25:50 +00:00
Tom Laermans
8df2b9b3f5
remove legacy variables, hopefully i didn't mess anything up
...
git-svn-id: http://www.observium.org/svn/observer/trunk@3134 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-06 18:38:11 +00:00
Tom Laermans
613e8b1e29
syntaxer run
...
git-svn-id: http://www.observium.org/svn/observer/trunk@3117 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-02 22:02:30 +00:00
Adam Amstrong
0376427943
more memcached
...
git-svn-id: http://www.observium.org/svn/observer/trunk@3114 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-02 15:06:12 +00:00
Tom Laermans
2667649d3c
syntaxer run
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2970 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-06 13:56:23 +00:00
Tom Laermans
32a7af3c1d
fix ports page default view for legacy configurations which had a trailing slash
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2790 61d68cd4-352d-0410-923a-c4978735b2b8
2011-12-16 11:36:26 +00:00
Tom Laermans
ab2668981c
Add page title changing infrastructure, do it for device tabs already
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2690 61d68cd4-352d-0410-923a-c4978735b2b8
2011-10-18 14:27:21 +00:00
Adam Amstrong
e87e9b5a02
i win. fucking graphviz.
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2673 61d68cd4-352d-0410-923a-c4978735b2b8
2011-10-08 23:49:24 +00:00
Tom Laermans
a369c442eb
syntaxer run
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2643 61d68cd4-352d-0410-923a-c4978735b2b8
2011-10-04 14:38:54 +00:00
Tom Laermans
2dc8b807e9
syntaxer run
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2642 61d68cd4-352d-0410-923a-c4978735b2b8
2011-10-04 09:10:21 +00:00
Tom Laermans
9ff0fdb443
syntaxer run, removes dos newlines from 2 files
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2597 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-27 13:22:38 +00:00
Tom Laermans
ae558c7dbd
fixup device vlan tab
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2596 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-27 13:04:04 +00:00
Tom Laermans
5872ccac1b
more url fixies, yay for generate_port_url
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2547 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-22 17:11:00 +00:00
Adam Amstrong
7584bba741
more migration to new URL system
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2492 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-18 13:11:04 +00:00
Adam Amstrong
8dfd9dd7a1
remove URL debugging. debug URL only when told to.
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2470 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-15 21:18:57 +00:00
Adam Amstrong
51224f7608
add code to remove old entries from ports_stack
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2469 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-15 16:52:28 +00:00
Adam Amstrong
99c6fc3e65
vastly simplified .htaccess and cleaned up how we use variables a little
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2446 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-12 04:57:56 +00:00
Adam Amstrong
bf1d43ae65
improve efficiency of devices/ports/, add some caching, fix db profiling.
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2349 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-19 10:02:55 +00:00
Adam Amstrong
d4a29c41a5
more db*
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2324 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-15 15:29:47 +00:00
Adam Amstrong
2b1f309fac
fix adsl
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2258 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-05 20:16:00 +00:00
Adam Amstrong
f6a4352522
only show ADSL/Neighbours on those devices which have entries
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2170 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-26 15:26:36 +00:00
Adam Amstrong
28b98dad8d
split devices/ports into smaller pages. add device/ports/neighbours to show links data in text (as opposed to map)
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2150 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-23 15:59:06 +00:00
Adam Amstrong
f19eb5f662
cosmetic fixes
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2074 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-13 13:00:56 +00:00
Adam Amstrong
d77765262a
interface -> port
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2048 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-09 16:08:39 +00:00
Adam Amstrong
af757d6246
new menu style for services and device/ports
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2046 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-09 15:20:07 +00:00
Tom Laermans
f7ecdd3bac
cleanup html entities etc, to make htmltidy a bit happier (but not blissful at all yet)
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1981 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-28 09:11:05 +00:00
Tom Laermans
340c71b2e7
more code cleanups, modify renamehost to also take a source parameter so we can build a renamehost function into the web gui some day
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1980 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-27 10:21:19 +00:00
Tom Laermans
1a477eebbe
device subpages cleanup, remove dead code
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1896 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-16 23:10:10 +00:00