Commit Graph
2468 Commits
Author SHA1 Message Date
Aaron Daniels d96e2216a7 - Changed upper case variables to lower case. 2016-01-28 07:04:12 +10:00
HenocKA 08658e34ae Syntax update 2016-01-26 15:46:03 +01:00
HenocKA 724ad08d76 discoverying and polling VRF 2016-01-26 15:42:59 +01:00
HenocKA 21d2b45742 Syntax update 2016-01-26 15:27:50 +01: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 <[email protected]>
2016-01-26 13:49:30 +01:00
laf 427c4f07c6 Added ability to ignore device sensors from entity mib 2016-01-25 22:37:38 +00:00
laf 9b1d2f31a1 Added Lexmark printer support 2016-01-24 23:57:24 +00:00
vitalisator 995897b75c switch to newer IEEE8021-Q-BRIDGE-MIB 2016-01-24 20:50:42 +01:00
vitalisator 40d17b4c4a resolve problem with absent VLAN's on devices with reported version 2 ieee8021QBridgeVlanVersionNumber
ieee8021QBridgeVlanVersionNumber OBJECT-TYPE
    SYNTAX      INTEGER {
                    version1(1),
                    version2(2)
                }
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The version number of IEEE 802.1Q that this device
        supports.  Reported as 1 by VLAN Bridges that support
        only SST operation, and reported as 2 by VLAN Bridges
        that support MST operation."
    REFERENCE   "12.10.1.1"
    ::= { ieee8021QBridgeEntry 2 }
2016-01-24 20:35:29 +01:00
vitalisator b476c5bf99 add STP Ports 2016-01-24 18:45:19 +01:00
Rosiak e2775bd45f Fix 2723 2016-01-21 14:18:01 +01: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
Paul Gear 53b5f4e1c8 Fix the same bug in routeros section 2016-01-21 08:52:32 +10:00
Paul Gear e8c64e98a4 Fix use of CISCO-AAA-SESSION-MIB
It should only be used if OS was discovered.
2016-01-21 08:50:20 +10:00
Mike Rostermund dfc32107b5 Merge pull request #2794 from laf/sensors-cleanup
Updated discovery sensors module directory structure
2016-01-19 23:28:48 +01:00
laf aea5c3f515 Updated missing states sensor dir change 2016-01-19 22:16:48 +00:00
wiad 2883759c93 fix syntax 2016-01-19 12:02:47 +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
wiad 65176c00bd Addes support for infoblox devices 2016-01-18 13:51:39 +01:00
laf b5d1155006 Updated discovery sensors module directory structure 2016-01-17 20:47:47 +00:00
R. Morris 5c4ed305ec Grab the most current files. 2016-01-17 14:45:53 -06:00
R. Morris bc4b26e0df LenovoEMC (NAS) - initial code update. 2016-01-17 14:45:53 -06:00
Neil Lathwood 11363653e8 Merge pull request #2728 from jviersel/master
Added username support for libvirt over SSH
2016-01-17 17:20:42 +00:00
Jurrian van Iersel a1c5a9dbeb Update libvirt-vminfo.inc.php 2016-01-17 15:42:31 +01:00
Paul Gear 6baea97717 Poll CISCO-AAA-SESSION-MIB for IOS & RouterOS 2016-01-17 13:32:17 +10:00
Rosiak 0d15244c2e Fix Cisco Temp Disco
Existing disco was broken and did not work on the install’s I tested on.
2016-01-14 19:35:13 +01:00
Tom Ferguson 9de9ce5f96 Added Samsung SCX line of printers into OS discovery 2016-01-13 14:51:02 +00:00
Neil Lathwood d3132a190b Merge pull request #2690 from vitalisator/stp
add basic STP/RSTP support
2016-01-10 22:45:24 +00:00
Neil Lathwood 72cc180184 Merge pull request #2719 from SaaldjorMike/del-utime-func
Replaced custom utime() function with microtime(true)
2016-01-10 22:43:31 +00:00
Neil Lathwood 6cfacabca1 Merge pull request #2720 from ekoyle/nos_fix
Remove some detection logic from Brocade NOS foo
2016-01-10 22:40:42 +00:00
Neil Lathwood 6d076fc5d3 Merge pull request #2742 from Rosiak/issue-2736
Basic HWGroup Poseidon Discovery
2016-01-10 17:25:03 +00:00
Rosiak a265f9a8dc Basic HWGroup Poseidon Discovery
Initial PR
2016-01-10 14:58:56 +01:00
Dave Hope 7fbdb5e440 Merged changes for Zyxel ES and GS series switches under 'Zynos'. 2016-01-10 10:39:12 +00:00
Dave Hope 152c45bc36 Create zyxelgs.inc.php
Add support for Zyxel GS1910-24HP (And likely others)
2016-01-09 18:24:13 +00:00
Jurrian van Iersel 93e76a2b5a Added username support for libvirt over SSH 2016-01-09 14:20:57 +01:00
Eldon Koyle 5835fe6b77 Remove some detection logic from Brocade NOS foo
Remove one overly-broad and one overly-narrow detection check for nos
devices.
2016-01-08 14:30:55 -07:00
Søren Rosiak 89a22efda3 Merge pull request #2469 from thomseddon/feature/sub10-support 2016-01-08 15:07:01 +01:00
Neil Lathwood 4e127af323 Merge pull request #2696 from SaaldjorMike/vmware-vminfo-discovery-perf
Fixed discovery+poller performance of VMware virtual machines.
2016-01-08 13:35:15 +00:00
Mike Rostermund e2d1a8e7d9 Replaced custom utime() function with microtime(true) 2016-01-08 13:33:32 +01:00
Thom Seddon 89a76ef673 Add comprehensive Sub10 support 2016-01-08 10:51:25 +00:00
Mike Rostermund a1261a0aeb Replace utime() for microtime(true) 2016-01-08 08:41:12 +01:00
Mike Rostermund 51d2e32c36 Print runtimes for each individual polling and discovery module. 2016-01-07 12:04:51 -08: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
Mike Rostermund a42e3da6eb Fixed discovery performance of VMware virtual machines. 2016-01-05 12:33:10 -08:00
Tobias Herrmann 388981d1ea renamed canon-printer discovery module 2016-01-04 12:55:10 +01:00
vitalisator d12c7803e0 add basic STP/RSTP support 2016-01-03 21:10:35 +01:00
Tobias Herrmann b9ced6561f added support for canon MF-series printers 2016-01-02 17:42:29 +01:00