Commit Graph

1923 Commits

Author SHA1 Message Date
Eldon Koyle
5b074cb511 Add information to widget title
* Add info to widget title to make it clear what is being filtered
* Remove some debug
2016-01-21 17:01:45 -07:00
Maximilian Wilhelm
64ce4f335f Add HTTP Authentication / LDAP Authorization module.
This Authentitation / Authorization module provides the ability to let
  the webserver (e.g. Apache) do the user Authentication (using Kerberos
  f.e.) and let libreNMS do the Authorization of the already known user.
  Authorization and setting of libreNMS user level is done by LDAP group
  names specified in the configuration file. The group configuration is
  basicly copied from the existing ldap Authentication module.

  To save lots of redundant queries to the LDAP server and speed up the
  libreNMS WebUI, all information is cached within the PHP $_SESSION as
  long as specified in $config['auth_ldap_cache_ttl'] (Default: 300s).

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
2016-01-21 21:49:08 +01:00
Eldon Koyle
996c2fa4ca Add group filtering to alerts widget
* Add filtering by device_group to alerts widget
* Allow searching by state == recovered
2016-01-21 12:51:49 -07:00
Daniel Preussker
2d3367f7cd Merge pull request #2816 from ekoyle/alert_filters
Add some basic alert filtering
2016-01-21 13:06:01 +00:00
laf
668f14f74a Parameter to get_dev_attrib() is an array not a int, updated 2016-01-21 12:32:20 +00:00
Aaron Daniels
8f4dbb5338 Cisco OTV
Implements the CISCO-OTV-MIB to retrieve OTV counters from Cisco devices.
This collects information on the configured Overlays and Adjacencies

Statistics are collected for the amount of VLAN's on each overlay and the amount of MAC addresses available over each OTV endpoint.
OTV alerts are collected and generated if the appropriate alerting rules exist.

Data is displayed under routing at both the global and device level.

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 22:04:20 +10: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
Eldon Koyle
12fe3cac29 Allow alert filtering from widget
Add some code to handle widget settings for alerts.
2016-01-20 15:23:09 -07:00
Daniel Preussker
52bf0fad15 Merge pull request #2789 from laf/issue-2761
Updated active directory auth to support dashboards
2016-01-20 19:57:53 +00:00
laf
59a1050df6 Fixed device ip binary decode 2016-01-20 18:19:15 +00:00
Eldon Koyle
0c124270d5 Add some basic alert filtering
Add some alert filtering.

Args:
 * acknowleged - 0: show not acknowleged, 1: show acknowleged
 * state - integer or string for desired state
 * min_severity - integer or string for lowest desired severity
2016-01-19 16:38:41 -07:00
laf
c6c3858312 Some more scrut fixes 2016-01-19 22:27:04 +00:00
Mike Rostermund
e021cf8f67 Merge pull request #2801 from wiad/issue-2708
Add infoblox devices (Issue 2708)
2016-01-19 23:00:43 +01:00
laf
2dec9c3996 Rebased (sql schema conflict) 2016-01-19 14:33:15 +00:00
wiad
45e412f64b Merge branch 'master' of https://github.com:/wiad/librenms into issue-2708 2016-01-19 12:03:48 +01:00
Paul Gear
a340f353c2 Merge pull request #2623 from adaniels21487/issue-1650
Device Components.
2016-01-19 20:38:34 +10:00
wiad
913314f831 fix if statement style 2016-01-19 10:59:13 +01:00
laf
44dc6b652b Fixed scrut issues 2016-01-19 09:04:53 +00:00
laf
3a8b0b053d Rebased includes/common.php 2016-01-19 09:00:18 +00:00
wiad
086443b77a Merge branch 'master' of https://github.com:/wiad/librenms into issue-2708
Conflicts:
	includes/definitions.inc.php
2016-01-19 09:51:03 +01:00
wiad
65176c00bd Addes support for infoblox devices 2016-01-18 13:51:39 +01:00
laf
49adff3895 Added the lookup of IP if device hostname is a hostname 2016-01-17 23:59:51 +00:00
laf
5e37de8b65 Added config option to force showing sysName instead of IP 2016-01-17 22:01:09 +00:00
laf
57c802cd4e Updated active directory auth to support dashboards 2016-01-17 15:26:35 +00:00
Paul Gear
771fc342fd Clear $graph_array after graph is printed 2016-01-17 12:13:45 +10:00
Aaron Daniels
ad751983dc Merge branch 'master' into issue-1650 2016-01-15 17:52:40 +10:00
Aaron Daniels
6492b887e9 Merge branch 'master' of https://github.com/adaniels21487/librenms into issue-1650 2016-01-14 06:10:31 +10:00
Aaron Daniels
87e88dacfd - Compress API filters to a loop
- Check for filters for valid fields
2016-01-14 05:22:37 +10:00
Mike Rostermund
44ef2c999e Merge pull request #2745 from laf/issue-2464
Added group support for Oxidized
2016-01-11 20:14:24 +01:00
Paul Gear
2469621a58 Merge pull request #2746 from laf/issue-2562
Added datetime to notifications + Fixed sticky/unsticky notifications disappearing
2016-01-11 09:01:56 +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
laf
93b0886567 Added datetime to notifications + Fixed sticky/unsticky notifications disappearing 2016-01-10 22:22:13 +00:00
laf
a35f6d8c7a Added group support for Oxidized 2016-01-10 19:45:54 +00:00
laf
802d0993d9 Removed onClick from ports list 2016-01-10 17:19:58 +00:00
Søren Rosiak
89a22efda3 Merge pull request #2469 from thomseddon/feature/sub10-support 2016-01-08 15:07:01 +01:00
Thom Seddon
a36204400e Explicitly show units for total in bit graphs
Previously the rest of the graph was in "bps", as indicated in the
legend, however the unit for the totals is "B" (bytes) - as only
the prefix (M, G, T) was shown for the totals it was not clear that
the unit was different.
2016-01-08 11:52:50 +00:00
Thom Seddon
9593473549 Add sub10RadioLclDataRate graph 2016-01-08 10:51:25 +00:00
Thom Seddon
89a76ef673 Add comprehensive Sub10 support 2016-01-08 10:51:25 +00:00
Rosiak
c3ce59124e Fix some spellings. 2016-01-07 23:02:18 +01:00
Vitali Kari
e807a693fd formatting 2016-01-07 18:29:29 +01:00
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
170423d424 Merge pull request #2633 from arjitc/patch-19
Use bootstraps own img-responsive class for responsive graphs
2016-01-07 08:12:34 +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
Neil Lathwood
78a74ed10a Merge pull request #2676 from paulgear/smokeping-add-pings-config
Smokeping: add pings config
2016-01-05 10:41:47 +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