88 Commits
Author SHA1 Message Date
bergrothandTony Murray a16c142658 * Health/sensor view for specific device/ports/port (#7684)
* * Health/sensor view for specific device/ports/port

* Removed code that didn't comply with standard

* added extra check html/pages/device/port/sensors.inc.php

* Update sensors.inc.php
2017-11-09 15:28:26 -06: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
Richard MayhewandNeil Lathwood 47397d0083 webui: Updated icons to use Font Awesome (#5468) 2017-01-21 11:24:05 +00:00
Eldon KoyleandNeil Lathwood 7ca80410d5 feature: Add q-bridge-mib tagged VLAN membership #3285 2016-10-11 22:29:06 +01:00
Neil LathwoodandTony Murray fe9d0c18ce fix: Call was always being done to check for local files (#4427) 2016-09-13 20:26:28 -05: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
Aaron Daniels 6f6b18cbc9 - Add the ability to only graph a single class map
- Add links to the classes on the policy selector.
2016-07-15 07:03:08 +10:00
Aaron Daniels f18fa9e455 - Pre-Init the $options array.
In some scenarios $options was already set with a previous filter.
- Remove RRD file checking, test for existance of components instead.
2016-02-23 17:16:51 +10:00
laf b54ed80bfc Stop realtime graph page from auto refreshing 2015-12-07 01:51:26 +00:00
Neil Lathwood b72c1282d9 Merge pull request #2797 from BarbarossaTM/issue-386-v2
Ability to use ifIndex,ifName and ifDescr to create and update port rrd files
2016-01-29 13:05:03 +00:00
Aaron Daniels e54e22b56e - Changed upper case variables to lower case. 2016-01-26 23:31:07 +10:00
Maximilian Wilhelm 4d78a0261e Update graph and port pages to use new RRD naming schema.
Signed-off-by: Maximilian Wilhelm <[email protected]>
2016-01-26 13:49:54 +01:00
Aaron Daniels bf37312bdc Cisco CBQOS
Implements the CISCO-CLASS-BASED-QOS-MIB to retrieve QOS counters from Cisco devices.
Policy and Class-map details are collected and stored in the database.
Details are presented on a new "CBQoS" tab of the interface that the policy is applied to.
Includes a policy selector that allows you to select which policy-map to show graphs for.

Each class-map has its own rrd file, in which 3 metrics are stored: Bytes, QoS Drops, Buffer Drops.
This can produce a LOT of rrd files.

As an example:
A Cisco 4500 series switch, running MQC on 200 ports. Each port has a common 5 class queueing policy applied, this creates 1000 (5 x 200) RRD's.

Because of this I have currently set:
```
$config['discovery_modules']['cisco-cbqos']    = 0;
```

Includes function snmpwalk_array_num, which performs a numeric SNMPWalk and returns an array containing $count indexes
One Index:
 From: 1.3.6.1.4.1.9.9.166.1.15.1.1.27.18.655360 = 0
 To: $array['1.3.6.1.4.1.9.9.166.1.15.1.1.27.18']['655360'] = 0
Two Indexes:
 From: 1.3.6.1.4.1.9.9.166.1.15.1.1.27.18.655360 = 0
 To: $array['1.3.6.1.4.1.9.9.166.1.15.1.1.27']['18']['655360'] = 0
And so on...
2016-01-21 21:18:14 +10:00
Neil Lathwood d4c4f9d858 Merge pull request #2688 from Rosiak/port-notes
Add Port Notes Field
2016-01-06 14:08:53 +00:00
Rosiak 869234579a Convert to device_attribs 2016-01-04 20:23:32 +01:00
Rosiak d22fc18f51 Add Port Notes Field
Add a “Notes” field for ports to accommodate #1897
2016-01-03 02:12:41 +01: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
Clint Armstrong b5e8998c70 apply lazyload patch 2015-07-16 12:42:58 -04:00
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
laf 6496e6ece4 Consistent date formatting from MySQL 2015-05-22 13:38:52 +01:00
Neil Lathwood 154c67f180 Changed graphs using yearh to year 2014-10-09 17:12:07 +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 96884a1baf more time period corrections
git-svn-id: http://www.observium.org/svn/observer/trunk@3145 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-06 23:10:09 +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
Adam Amstrong a12c71df4e quadgraphs -> graphrow
git-svn-id: http://www.observium.org/svn/observer/trunk@3093 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-26 16:49:38 +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 fe53a6b9ff move cdp detection to dbFacile, make dbFacile debugging output put \n before output
git-svn-id: http://www.observium.org/svn/observer/trunk@2791 61d68cd4-352d-0410-923a-c4978735b2b8
2011-12-16 14:42:37 +00:00
Adam Amstrong 00b22a54a5 improved vlan display
git-svn-id: http://www.observium.org/svn/observer/trunk@2787 61d68cd4-352d-0410-923a-c4978735b2b8
2011-12-15 23:14:50 +00:00
Adam Amstrong 53327231b7 better vlan discovery
git-svn-id: http://www.observium.org/svn/observer/trunk@2786 61d68cd4-352d-0410-923a-c4978735b2b8
2011-12-15 22:36:53 +00:00
Adam Amstrong afced3cd6c updates to various things. remove null from device_bits graph. add 'events' subtab to interface tab.
git-svn-id: http://www.observium.org/svn/observer/trunk@2720 61d68cd4-352d-0410-923a-c4978735b2b8
2011-11-12 14:21:01 +00:00
Tom Laermans b6e7b4ef7a remove almost all base_url
git-svn-id: http://www.observium.org/svn/observer/trunk@2648 61d68cd4-352d-0410-923a-c4978735b2b8
2011-10-05 10:55:10 +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 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 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 b2cd75c55f fix realtime graph (for now)
git-svn-id: http://www.observium.org/svn/observer/trunk@2459 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-14 15:33:23 +00:00
Adam Amstrong 3b2446d3cb fixes to realtime graph
git-svn-id: http://www.observium.org/svn/observer/trunk@2428 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-08 04:54:34 +00:00
Adam Amstrong 7da9f07f8a add interval chooser to realtime
git-svn-id: http://www.observium.org/svn/observer/trunk@2427 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-08 03:52:37 +00:00
Adam Amstrong 9ec5bfd8b1 cleanup realtime :)
git-svn-id: http://www.observium.org/svn/observer/trunk@2426 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-08 03:31:21 +00:00
Adam Amstrong 3db21058d5 add realtime port page
git-svn-id: http://www.observium.org/svn/observer/trunk@2425 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-08 03:09:04 +00:00