Commit Graph

793 Commits

Author SHA1 Message Date
Neil Lathwood 0602c6a3ed Merge pull request #2915 from adaniels21487/issue-2914
BGP Pages call overlib directly not honouring $config['web_mouseover']
2016-02-02 22:06:57 +00:00
Aaron Daniels 4ebc2b1f33 - Modified code to use graph generation functions instead of calling overlib directly.
The graph generation functions check for the status of 'web_mouseover'.
2016-02-03 06:41:20 +10:00
Mark Schouten 4150b86205 Make ceph.inc.php compatible with the new graph_array-method, which gets reset after each include. 2016-02-02 11:05:59 +01:00
Mike Rostermund ac572e1558 Sort sensors by OID to more logically group sensors on device overview 2016-01-30 23:02:09 +01: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
Neil Lathwood 7c79d62baf Merge pull request #2840 from adaniels21487/issue-1851
Cisco CBQOS
2016-01-29 10:21:34 +00:00
vitalisator 0e66ddf088 some bugfixing 2016-01-28 13:07:33 +01:00
Aaron Daniels e54e22b56e - Changed upper case variables to lower case. 2016-01-26 23:31:07 +10:00
Maximilian Wilhelm 8c704f7bdf Allow editing port association mode of a device.
Add a select box to the device SNMP edit page in the WebUI to update
  the port association mode of a device.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
2016-01-26 13:50:00 +01:00
Maximilian Wilhelm 4d78a0261e Update graph and port pages to use new RRD naming schema.
Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
2016-01-26 13:49:54 +01:00
vitalisator dc933184f0 stp-ports bootgrid 1 2016-01-24 18:50:10 +01:00
vitalisator b476c5bf99 add STP Ports 2016-01-24 18:45:19 +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
Paul Gear a340f353c2 Merge pull request #2623 from adaniels21487/issue-1650
Device Components.
2016-01-19 20:38:34 +10:00
wiad dda947449a fix if statement style 2016-01-19 10:11:11 +01:00
wiad 582c3984e5 Try to find rancid file based on both fqdn and short host name 2016-01-19 10:00:14 +01:00
Aaron Daniels 6492b887e9 Merge branch 'master' of https://github.com/adaniels21487/librenms into issue-1650 2016-01-14 06:10:31 +10:00
Neil Lathwood d3132a190b Merge pull request #2690 from vitalisator/stp
add basic STP/RSTP support
2016-01-10 22:45:24 +00:00
Arjit Chaudhary 68a4acd717 Update device.inc.php 2016-01-10 19:01:59 +05:30
Arjit Chaudhary 3b09f8b955 Update ports.inc.php 2016-01-10 19:01:42 +05:30
Arjit Chaudhary 03051d455f Update apps.inc.php 2016-01-10 19:01:24 +05:30
Arjit Chaudhary 6a652b72fa Update alerts.inc.php 2016-01-10 19:01:08 +05:30
Arjit Chaudhary 659d4e0172 Update alert-rules.inc.php 2016-01-10 19:00:49 +05:30
Arjit Chaudhary eedc30aae5 Add missing titles/headers 2016-01-10 19:00:04 +05:30
Paul Gear 7170a240a8 Don't display MIB menu items if MIB-based polling is disabled 2016-01-07 09:26:48 +10:00
Paul Gear 590593e43d Merge pull request #2537 from Alucardfh/scaleDeviceOverview
Use browser width to scale cpu and bandwidth graphs on device overview
2016-01-07 08:11:39 +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
Neil Lathwood 564752210d Merge pull request #2536 from paulgear/mib-poller-alpha2
MIB-based poller alpha2
2016-01-06 09:08:56 +00:00
Rosiak 869234579a Convert to device_attribs 2016-01-04 20:23:32 +01:00
Neil Lathwood 9b4cfc3977 Merge pull request #2669 from murrant/ajax_arp
Switch device and port ARP tables to ajax
2016-01-04 11:04:56 +00:00
vitalisator d12c7803e0 add basic STP/RSTP support 2016-01-03 21:10:35 +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
Rosiak 1ee694fcdb add missing backtick 2016-01-02 23:46:45 +01:00
Rosiak e61f6cd2a8 re-add newline 2016-01-02 23:34:55 +01:00
Rosiak b7ac4932a4 Small changes to Virtual Machines page 2016-01-02 01:32:43 +01:00
Paul Gear ea29977d29 Support MIB-based overrides in processor & memory pools 2016-01-02 07:10:43 +10:00
Paul Gear 953ea3fa15 Add device OID storage and display 2016-01-02 07:10:42 +10:00
Paul Gear 5d53761727 Trivial cleanups 2016-01-02 07:10:42 +10:00
Paul Gear 5c2231a7a7 Add device MIB association browser 2016-01-02 07:10:42 +10:00
Paul Gear b8601b5896 Skeleton framework for allowing MIB values to feed CPU & memory health graphs 2016-01-02 07:10:41 +10:00
Paul Gear e5549e9423 Remove unused files 2016-01-02 07:10:41 +10: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
Louis Bailleul b40bd2f467 Rebase 2015-12-21 13:26:48 +00:00
Louis Bailleul ee75091c44 Use browser width to scale cpu and bandwidth graphs on device overview 2015-12-21 13:25:23 +00:00
Aaron Daniels c63b7119cb Device Components.
The purpose of this feature is to provide a framework for discovery modules to store
information in the database, without needing to add new tables for each feature.

This Feature provides:
- A database structure to store data.
- An API to store and retrieve data from the database.
- Integration to the LibreNMS APIv0.
- Ability to disable/ignore components.
- Default alerting rules.

- The API returns $COMPONENT[$device_id][$component_id] to allow pulling of data for multiple devices.
  The intent is to be able to create 'Applications' the consolidate data from applications covering multiple devices.
- Added some developer documentation
2015-12-14 07:52:03 +10:00
laf eb689fe66e Rebased from upstream 2015-12-01 21:50:13 +00: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