Commit Graph

1914 Commits

Author SHA1 Message Date
Neil Lathwood
633ac101eb Merge pull request #2979 from f0o/sanity
[WIP] Sanity!
2016-02-16 21:44:10 +00:00
Morrvick
7aa2b1fa28 Ignore devices that do not provide an uptime statistic.
Hundreds of my devices do not supply an uptime in their data.  This causes lots of useless warnings in my availability map.  This tweak corrects that.
2016-02-15 11:44:05 -06:00
Tony Murray
28216f67b0 Merge branch 'master' into config_diff 2016-02-12 10:36:18 -06:00
f0o
568875ad83 reset array pointers 2016-02-11 07:42:00 +00:00
Tony Murray
3eddfd46bd Import GeSHi diff type. 2016-02-10 19:31:31 -06:00
Neil Lathwood
fa783dc07e Merge pull request #2841 from adaniels21487/issue-2665
Cisco OTV
2016-02-10 19:49:59 +00:00
f0o
f606369309 Bulk cosmetic fixes 2016-02-10 15:40:50 +00:00
f0o
2e59ada075 Eventlog cosmetic fixes 2016-02-10 15:31:37 +00:00
f0o
375d7ca4af Cosmetic fix on Alert-Rules 2016-02-10 15:26:17 +00:00
f0o
21e94b3e3a Sanity! 2016-02-10 15:21:31 +00:00
Daniel Preussker
2b55c06d9e Revert "Variable/Environment sanity" 2016-02-10 14:31:16 +00:00
f0o
8d9b522bdb Remove redundant calls 2016-02-10 13:54:22 +00:00
f0o
a6bca987bf Enforce sanity before returning from database 2016-02-10 13:52:43 +00:00
f0o
37dccb3932 First effort in bringing some sanity 2016-02-10 13:42:55 +00:00
Tony Murray
8849cee3f4 Missed this while fixing sensor data with 0 values. 2016-02-09 15:42:46 -06:00
Daniel Preussker
b0bc7b778a Typo 2016-02-07 15:40:00 +00:00
Daniel Preussker
f940c0c888 Fix IP Display 2016-02-07 15:39:17 +00:00
laf
350345b611 Updated parsing of alert rules to allow | 2016-02-03 07:52:35 +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
Neil Lathwood
7c79d62baf Merge pull request #2840 from adaniels21487/issue-1851
Cisco CBQOS
2016-01-29 10:21:34 +00:00
Daniel Preussker
fe6d37f273 Added custom titles to graph widget 2016-01-29 07:47:48 +00:00
Neil Lathwood
57a7549446 Merge pull request #2764 from vitalisator/stp
Add STP port polling and device information
2016-01-28 19:08:09 +00:00
Mike Rostermund
163609ae73 Merge pull request #2864 from laf/issue-2847
Updated global rules
2016-01-28 15:36:02 +01:00
vitalisator
ff71629f34 remove logfie() 2016-01-28 15:10:51 +01:00
vitalisator
bcc253cccf fix sorting 2016-01-28 15:09:05 +01:00
vitalisator
0e66ddf088 some bugfixing 2016-01-28 13:07:33 +01:00
Aaron Daniels
d96e2216a7 - Changed upper case variables to lower case. 2016-01-28 07:04:12 +10: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 <max@rfc2324.org>
2016-01-26 13:49:54 +01:00
Paul Gear
99a76d4ea2 Update per-module poller performance collection
This makes the following changes:
- Record per-module performance data in the same measurement as overall poller-perf
- Add tags to distinguish modules
- Update rrd filenames
- Use stacked graph for poller modules
2016-01-26 20:20:42 +10:00
Neil Lathwood
60603520df Updated stp branch 2016-01-26 01:40:08 +00:00
laf
87347bc8f8 Updated global rules 2016-01-25 23:47:00 +00:00
laf
6b72da4a00 Updated global rules 2016-01-25 23:45:46 +00:00
laf
44ac0e9cf9 Added link back to hardware node for VMs 2016-01-25 22:04:12 +00:00
Tony Murray
b9448a61a8 Remove Success output from homepage when using AD Auth. 2016-01-25 13:10:51 -06:00
vitalisator
dc933184f0 stp-ports bootgrid 1 2016-01-24 18:50:10 +01:00
vitalisator
1eaf7d7aab 1st try to make bootgrid table 2016-01-24 18:49:35 +01:00
vitalisator
41d5d097ef add some html page formatting 2016-01-24 18:49:35 +01:00
vitalisator
0e2a9f59aa add print-stp-ports 2016-01-24 18:49:34 +01:00
Mike Rostermund
006056a754 Store performance data for each poller module 2016-01-24 15:35:31 +01:00
Daniel Preussker
a9bb52d810 Merge pull request #2834 from ekoyle/alerts_widget_groups
Add group filtering to alerts widget
2016-01-23 09:45:39 +00:00
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