Commit Graph

3738 Commits

Author SHA1 Message Date
jbwiv
6b97135ec8 Removing unnecessary '(if populated)' text 2016-01-27 13:28:45 -05:00
jbwiv
a7cfc66cd6 Added service description to option drop down for editing and deleting services to make it easier to distinguish between services. 2016-01-26 17:17:19 -05: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
2ae99e50f5 Add support for setting port association mode when adding a host.
This adds a '-p' switch to addhost.php and a select box to the WebUI to
  set the port association mode for newly added devices.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
2016-01-26 13:49:57 +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
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
Daniel Preussker
3b6fb8c4c3 Merge pull request #2854 from laf/issue-2810
Added Lexmark printer support
2016-01-26 05:39:21 +00: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
laf
9b1d2f31a1 Added Lexmark printer support 2016-01-24 23:57:24 +00: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
vitalisator
b476c5bf99 add STP Ports 2016-01-24 18:45:19 +01:00
Mike Rostermund
006056a754 Store performance data for each poller module 2016-01-24 15:35:31 +01:00
João Galaghar
dd345b679c Update notifications.inc.php 2016-01-23 23:45:34 +00: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
Daniel Preussker
8c0c5210cf Merge pull request #2835 from BarbarossaTM/auth-ldap-authorize
Add HTTP Authentication / LDAP Authorization module
2016-01-22 08:02:58 +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
Neil Lathwood
b0f4c97d0b Merge pull request #2786 from paulgear/list-only-relevant-mib-graphs
Show only relevant MIB graphs
2016-01-21 23:31:50 +00: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
wiad
dda947449a fix if statement style 2016-01-19 10:11:11 +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
582c3984e5 Try to find rancid file based on both fqdn and short host name 2016-01-19 10:00:14 +01: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
Daniel Preussker
ded1fa3e73 Merge pull request #2796 from laf/issue-2091
Added config option to force showing sysName instead of IP
2016-01-19 05:34:49 +00: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