30 Commits
Author SHA1 Message Date
Søren RosiakandTony Murray a9ab96e83f feature: Improve Device Neighbour WebUI (#7487) 2017-10-15 09:26:01 -05:00
Tony MurrayandNeil Lathwood e8dd72e8db feature: Support fdb table on generic devices (#6902)
* feature: support fdb table on generic devices
refactored code to use snmpwalk_group
refactored ajax table code to use joins and reduce extra queries
add indexes for device_id and port_id, drop primary index
Make all columns sortable
Fix a few other small issues

* Add index for vlan_id since that field can be searched by the user

* fix whitespace

* Rename 197.sql to 198.sql

* set row count for table
2017-06-29 21:03:56 +01:00
Tony MurrayandNeil 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 LathwoodandGitHub 54365985a6 Revert "feature: fdb tables (#6616)" (#6886)
This reverts commit 81ddab86af.
2017-06-25 07:04:04 +01:00
Lorenzo ZafraandTony 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 LathwoodandTony Murray 4f4719b66a webui: Updated all tables to have the same set number of items showing (#6798) 2017-06-08 22:10:30 -05:00
Neil LathwoodandGitHub 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 LathwoodandGitHub 9b9c10e204 fix: Cleanup printing ifAlias (#4874) 2016-12-12 14:25:48 +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 fe86b998bf Switch device and port ARP tables to ajax
Allow sorting, filtering and paging of device and port ARP tables.
2015-12-24 10:58:12 -06:00
Arjit Chaudhary e6965765f5 Various UI changes 2015-09-21 01:30:23 +05:30
Job Snijders d8693f05ae Fix coding style part 2 2015-07-15 11:04:22 +02:00
Job Snijders ebd0f6fc35 Apply "Squiz" code style on old (pre-2014) files 2015-07-11 16:12:35 +02: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 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
Adam Amstrong 634e944987 ignore adsl stats out of sanity (3.2KdB SNR? GET FUCKED CISCO.) Clean up legend for generic_multi_line. Add CISCO-VPDN-MGMT MIBs
git-svn-id: http://www.observium.org/svn/observer/trunk@2694 61d68cd4-352d-0410-923a-c4978735b2b8
2011-10-21 10:54:06 +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 9a1bee1458 more code cleanup (last commit for now)
git-svn-id: http://www.observium.org/svn/observer/trunk@2520 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-20 14:37:54 +00:00
Tom Laermans d864ce234f kill a whole bunch of trailing spaces
git-svn-id: http://www.observium.org/svn/observer/trunk@2516 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-20 09:55:11 +00:00
Adam Amstrong 69fc727785 ports -> db*
git-svn-id: http://www.observium.org/svn/observer/trunk@2334 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-16 10:56:50 +00:00
Tom Laermans c7b28f931e make rancid_configs an array in defaults, uppercase LLDP/CDP/FDP/... in ports/neighbours
git-svn-id: http://www.observium.org/svn/observer/trunk@2319 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-15 08:37:33 +00:00
Tom Laermans 9b29e576bd add heading to arp table
git-svn-id: http://www.observium.org/svn/observer/trunk@2318 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-14 23:08:16 +00:00
Tom Laermans 65c4c63efc die, short tags, die
git-svn-id: http://www.observium.org/svn/observer/trunk@2249 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-05 14:06:39 +00:00
Adam Amstrong 63b25bb2f7 break up array()s into individual definitions. add unadded files.
git-svn-id: http://www.observium.org/svn/observer/trunk@2247 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-05 11:27:22 +00:00
Adam Amstrong e5fe2fb0ec blah2.0
git-svn-id: http://www.observium.org/svn/observer/trunk@2159 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-24 12:55:20 +00:00
Adam Amstrong 6b2face252 blah
git-svn-id: http://www.observium.org/svn/observer/trunk@2158 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-24 12:54:55 +00:00
Adam Amstrong 6015be405a fix arp
git-svn-id: http://www.observium.org/svn/observer/trunk@2157 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-24 12:53:40 +00:00
Adam Amstrong 0242ba34a9 prettier neighbours. fix processor for non-unix
git-svn-id: http://www.observium.org/svn/observer/trunk@2155 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-24 11:24:10 +00:00
Adam Amstrong c6964aec37 new mac address search
git-svn-id: http://www.observium.org/svn/observer/trunk@2151 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-24 00:28:09 +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