Commit Graph

9848 Commits

Author SHA1 Message Date
Maximilian Wilhelm
6ef1cf9e43 Add ability to map ports based on their ifAlias.
Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
2016-02-05 11:40:37 +01: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
Neil Lathwood
97c500094f Merge pull request #2919 from awlx/add_description_to_mibbases_polling
Add description to mibbases polling
2016-02-03 09:35:19 +00:00
awlx
45917efd0f Removed no longer necessary poller section 2016-02-03 10:34:07 +01:00
awlx
2a51cf723c To make it complete added config.php step 2016-02-03 10:24:17 +01:00
awlx
1b6662448f Added configuration examples and descriptions for mib based poller 2016-02-03 10:19:07 +01:00
Paul Gear
a81776e77b Merge pull request #2862 from laf/issue-2859
Added ability to ignore device sensors from entity mib
2016-02-03 15:31:32 +10:00
Neil Lathwood
0602c6a3ed Merge pull request #2915 from adaniels21487/issue-2914
BGP Pages call overlib directly not honouring $config['web_mouseover']
2016-02-02 22:06:57 +00:00
Aaron Daniels
4ebc2b1f33 - Modified code to use graph generation functions instead of calling overlib directly.
The graph generation functions check for the status of 'web_mouseover'.
2016-02-03 06:41:20 +10:00
Mike Rostermund
8ed3b75b21 Merge pull request #2911 from laf/vagrant-docs
Removed devloping doc as none of the info is current
2016-02-02 14:21:07 +01:00
laf
bc018d3609 Removed devloping doc as none of the info is current 2016-02-02 13:18:12 +00:00
Neil Lathwood
c3d5a2a46c Merge pull request #2910 from awlx/fix_active_directory_docs
Added description of AD configuration options
2016-02-02 11:39:09 +00:00
awlx
53be46ed7d Changed the text to make it more clear what to change. 2016-02-02 11:37:23 +01:00
Neil Lathwood
e2e7152fcd Merge pull request #2909 from tuxis-ie/fix_ceph_graph_array
Make ceph.inc.php compatible with the new graph_array-method....
2016-02-02 10:25:21 +00:00
awlx
a53f7c3df1 Added description of AD configuration options 2016-02-02 11:14:09 +01:00
Mark Schouten
4150b86205 Make ceph.inc.php compatible with the new graph_array-method, which gets reset after each include. 2016-02-02 11:05:59 +01:00
Søren Rosiak
cf55f4efd6 Merge pull request #2866 from laf/issue-2770 2016-01-31 20:28:42 +01:00
laf
37d72e1512 Merge branch 'master' of https://github.com/librenms/librenms into issue-2770 2016-01-31 18:17:59 +00:00
laf
34ddc51a19 renamed sql-schema file 2016-01-31 18:17:56 +00:00
Daniel Preussker
e02b45f719 Merge pull request #2881 from mmarchand/dup-alerts-take2
Prevent duplicate alerts
2016-01-31 18:16:34 +00:00
root
8795d06e46 change schema number 2016-01-31 19:11:47 +01:00
Mike Rostermund
7591b381e3 Merge pull request #2904 from JamesonFinney/master
Fixed some typos and formatting issues in docs
2016-01-31 11:56:47 +01:00
Jameson Finney
8ec50f11cd Fixed some typos and formatting issues in docs 2016-01-30 22:37:28 -05:00
Mike Rostermund
594fc43a85 Merge pull request #2902 from JamesonFinney/master
Removed trailing whitespace in docs
2016-01-31 03:18:32 +01:00
Jameson Finney
437d1fc40c Removed extra spaces from ends of lines. 2016-01-30 21:06:58 -05:00
Neil Lathwood
d225c85930 Merge pull request #2899 from SaaldjorMike/displ-sensor-sort 2016-01-30 23:24:12 +00:00
Neil Lathwood
87c5aa44e1 Merge pull request #2900 from Rosiak/issue-2848 2016-01-30 23:23:28 +00:00
Rosiak
5dd9fed3e0 Wrong array value 2016-01-31 00:18:30 +01:00
Rosiak
3139239240 Do not discover a temp sensor which is not present
#2848
2016-01-31 00:16:39 +01:00
Mike Rostermund
ac572e1558 Sort sensors by OID to more logically group sensors on device overview 2016-01-30 23:02:09 +01:00
Neil Lathwood
f668f3de41 Merge pull request #2898 from Rosiak/issue-2804
Adjust Leaflet GreenCluster color
2016-01-30 19:24:00 +00:00
Rosiak
d29d84a67f Adjust Leaflet GreenCluster color 2016-01-30 20:03:26 +01:00
Paul Gear
bea93b52cf Merge pull request #2895 from laf/php53-fix
Another fix
2016-01-30 20:10:56 +10:00
laf
725fbd2c08 Another fix 2016-01-30 10:10:16 +00:00
Paul Gear
8a614c852a Merge pull request #2894 from laf/php53-fix
Fixed code to run with php 5.3
2016-01-30 20:08:55 +10:00
laf
f4820dad90 Fixed code to run with php 5.3 2016-01-30 10:05:46 +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
Neil Lathwood
aea87a4088 Merge pull request #2882 from Rosiak/master
Eaton Basics
2016-01-29 09:54:15 +00:00
Neil Lathwood
2733ee578e Merge pull request #2884 from QuxLabs/issue-2877
Added custom titles to graph widget
2016-01-29 09:54:00 +00:00
Daniel Preussker
fe6d37f273 Added custom titles to graph widget 2016-01-29 07:47:48 +00:00
Rosiak
e7e035305b Eaton Basics 2016-01-28 23:11:11 +01:00
root
3872912b43 prevent duplicate alerts 2016-01-28 20:22:49 +01:00
Daniel Preussker
cc8a2cec17 Merge pull request #2880 from librenms/revert-2850-dup-alerts
Revert "Removes duplicate alerts from table alerts"
2016-01-28 19:10:09 +00:00
Daniel Preussker
d6cb01ef86 Revert "Removes duplicate alerts from table alerts" 2016-01-28 20:09:59 +01:00
Daniel Preussker
0235399d80 Merge pull request #2850 from mmarchand/dup-alerts
Removes duplicate alerts from table alerts
2016-01-28 19:09:20 +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