Commit Graph
1095 Commits
Author SHA1 Message Date
laf f1a3b9da34 Fixed ipv6 bgp polling on junos 2016-02-16 09:17:59 +00:00
HenocKA 0161260b17 merging 2016-02-13 21:48:26 +01:00
laf 8c53a94233 Removed old alerting dbInsert code 2016-02-11 22:27:36 +00:00
Søren Rosiak 6456bc4fec Merge pull request #2967 from laf/issue-2870 2016-02-11 22:59:06 +01:00
Neil Lathwood fa783dc07e Merge pull request #2841 from adaniels21487/issue-2665
Cisco OTV
2016-02-10 19:49:59 +00:00
HenocKA 21e37c23a7 merging - update schema 2016-02-10 07:20:34 +01:00
Neil Lathwood da9f6e5343 Merge pull request #2962 from arrmo/master
Updates for Windows 10
2016-02-09 23:21:40 +00:00
Neil Lathwood 29f3dac9be Merge pull request #2972 from murrant/issue-2883
Deal with 0 value for sensor data better.
2016-02-09 21:11:26 +00:00
Tony Murray e3ec42c06d Deal with 0 value for sensor data better.
Issue #2883
2016-02-09 14:20:36 -06:00
Neil Lathwood fabcd84de7 Merge pull request #2959 from murrant/netonix
Add hardware and version for Netonix.
2016-02-09 20:07:42 +00:00
Neil Lathwood 758facd4bf Merge pull request #2958 from murrant/calix
Calix Support
2016-02-09 20:06:27 +00:00
Neil Lathwood f074f25be2 Revert "Revert "Added location_map_regex"" 2016-02-09 19:02:38 +00:00
Daniel Preussker 1110836662 Revert "Added location_map_regex" 2016-02-09 20:00:54 +01:00
Neil Lathwood 3b19af910b Merge pull request #2935 from pblasquez/pblasquez-location_map_regex
Added location_map_regex
2016-02-09 18:56:55 +00:00
laf 135bbdcc43 Updated bgp-peers polling so that an snmpwalk isn't done for each bgp peer 2016-02-09 18:23:31 +00:00
Tony Murray 1b59ae9648 Use $config['mibdir'] instead of $config['mib_dir'] 2016-02-09 08:01:41 -06:00
arrmo f2054d369b Updates for Windows 10 2016-02-08 20:15:11 -06:00
Tony Murray 21c2bb312a Do not hardcode mib path 2016-02-08 15:50:54 -06:00
Tony Murray fc82587c3f Merge branch 'master' into netonix 2016-02-08 15:24:47 -06:00
Tony Murray f177dd6608 Merge branch 'master' into calix 2016-02-08 14:20:14 -06:00
HenocKA 24df0a059c merging 2016-02-08 20:12:05 +01:00
Tony Murray 799bb4dc5d Pull card serial numbers. Unsure if this what we want.
Set ifName as the primary port name.
2016-02-08 10:29:55 -06:00
f0o 4d0d78c48c Merge branch 'issue-386-v3' of git://github.com/BarbarossaTM/librenms
Conflicts:
	sql-schema/099.sql
2016-02-07 15:23:52 +00:00
Tony Murray 6f31755dfb Use poll_device;
List the inserted cards in "features".
2016-02-05 18:14:44 -06:00
Tony Murray a34b958352 Add hardware and version for Netonix. 2016-02-05 17:57:17 -06:00
Tony Murray 4aa9838eda add discover, polling and mibs.
work around empty ifDesc
2016-02-05 14:26:06 -06:00
pblasquez 937937aa09 Update core.inc.php 2016-02-04 16:10:28 -08:00
Maximilian Wilhelm 76a29f41e3 Fix detection of deleted interfaces for ifName/ifDescr port association mode.
The previous ifIndex based port mapping schema did detect deleted ports
  by checking ports in the DB against the ports currently polled via SNMP
  which breaks when using another port mapping schema. This commit fixes
  problem by checking known and found ports by their port_id.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
2016-02-03 22:48:18 +01:00
Maximilian Wilhelm ec5d0dfd89 Remove redundant code from port-{adsl,etherlike,poe} polling submodules.
$this_port already gets defined within include/polling/ports.inc.php
  so there's no need to redefine it again in each submodule.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
2016-02-03 21:14:25 +01:00
Maximilian Wilhelm 5521002b37 Fix port association for adsl, etherlike and poe port information.
In 2c9df26bbf I broke the association of
  ports in the DB and ports just polled via SNMP for the adsl, etherlike
  and poe submodules and no one noticed. This fixes this issue. Sorry.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
2016-02-03 21:14:25 +01:00
Maximilian Wilhelm 79eab54fd9 Allow ignoring unmapable interfaces in poller.
When using the ifName or ifDescr as means to map discovered ports to
  known ports in the DB (think of port association mode) it's possible
  that we're facing the problem that the ifName or ifDescr polled from
  the device is unset or an empty string (like when querying some ubnt
  devices...). If this happends we have no way to map this port to any
  port found in the database. As reported this situation may occur for
  the time of one poll and might resolve automagically before the next
  poller run happens. Without this special case this would lead to new
  ports added to the database each time this situation occurs. To give
  the user the choice between »a lot of new ports« and »some poll runs
  are missed but ports stay stable« the 'ignore_unmapable_port' option
  has been added to configure this behaviour. To skip the port in this
  loop is sufficient as the next loop is looping only over ports found
  in the database and "maps back". As we did not add a new port to the
  DB here, there's no port to be mapped to.

  I'm using the in_array() check here, as I'm not sure if an "ifIndex"
  can be legally set to 0, which would yield True when checking if the
  value is empty().

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
2016-02-03 21:14:24 +01:00
laf dc5f286b9a Added ifOperStatus and ifAdminStatus _prev values to db. 2016-02-02 13:47:13 +00:00
HenocKA 6de58f55df merging 2016-02-02 12:58:05 +01:00
HenocKA 1890cfb990 Merge remote-tracking branch 'refs/remotes/librenms/master' into issue280 2016-02-02 12:15:56 +01:00
laf 37d72e1512 Merge branch 'master' of https://github.com/librenms/librenms into issue-2770 2016-01-31 18:17:59 +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
Rosiak e7e035305b Eaton Basics 2016-01-28 23:11:11 +01: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
HenocKA 47c830a15c bug correction on ospf polling module 2016-01-28 11:00:24 +01:00
Neil Lathwood e00a35c2ff Merge pull request #2867 from paulgear/master
Update per-module poller performance collection
2016-01-28 09:41:09 +00:00
Aaron Daniels 5897e30529 - Added poller and discovery debugging information. 2016-01-28 18:40:05 +10:00
Aaron Daniels d96e2216a7 - Changed upper case variables to lower case. 2016-01-28 07:04:12 +10:00
HenocKA 0ac8f584b2 discoverying and polling VRF 2016-01-26 15:22:49 +01:00
Aaron Daniels e54e22b56e - Changed upper case variables to lower case. 2016-01-26 23:31:07 +10:00
Maximilian Wilhelm 2c9df26bbf Update discovery and poller to allow stable interface mapping by ifName/ifDescr based port mapping.
By default libreNMS used the ifIndex to associate ports just found via SNMP
  with ports discoverd/polled before and stored in the database. On Linux boxes
  this is a problem as ifIndexes are rather likely to be unstable between reboots
  or (re)configuration of tunnel interfaces (think: GRE/OpenVPN/Tinc/...), bridges,
  Vlan interfaces, Bonding interfaces, etc.

  This patch adds a »port association mode« configuration option per device which
  allows to map discovered and known ports by their ifIndex, ifName, ifDescr, or
  maybe other means in the future.
  The default port association mode still is ifIndex for compatibility reasons.

  As port RRD files were stored by their ifIndex before, they are now identified
  by their unique and stable port_id to ensure a stable and unique mapping and
  allow future port association modes to be added without requireing any further
  internal changes. Existing RRD files are renamend accordingly in discovery and
  poller tools to ensure stability of port associations in both modules as we
  don't know which might run first after an update.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
2016-01-26 13:49:30 +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
laf a40b609bfa Removed edgeos test 2016-01-26 01:19:44 +00:00
laf f10c42678d Added bgpPeers_cbgp delta and prev 2016-01-26 01:06:21 +00:00
laf 9b1d2f31a1 Added Lexmark printer support 2016-01-24 23:57:24 +00:00