Commit Graph
9971 Commits
Author SHA1 Message Date
pblasquez e8f773b010 Update ajax_form.php 2016-02-04 18:23:49 -08:00
pblasquez 1b4dfd2fc6 Update ajax_rulesuggest.php 2016-02-04 18:18:40 -08:00
pblasquez d62ad2eb02 Update ajax_search.php 2016-02-04 18:16:36 -08:00
pblasquez ab6a608bdb Update ajax_table.php 2016-02-04 18:09:47 -08:00
pblasquez e397860257 Update ajax_dash.php 2016-02-04 18:09:09 -08:00
pblasquez cf5b6ba121 Update rewrites.php 2016-02-04 16:11:38 -08:00
pblasquez 937937aa09 Update core.inc.php 2016-02-04 16:10:28 -08:00
Aaron Daniels 4ff92481e4 - Quote the SNMP v2c community, v3 is already quoted.
- Change the snmpver to double quotes for consistency.
2016-02-04 16:38:07 +10:00
Robert (KHobbits) 078c323d1a Update validation docs 2016-02-04 00:21:20 +00:00
Tony Murray e7c59dbd57 Initial Calix E7 Support 2016-02-03 16:01:31 -06: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
Tony Murray aa43f41871 Change the poller-service docs from ln -s to cp to prevent us from breaking user's installs. 2016-02-03 08:17:19 -06: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
laf 350345b611 Updated parsing of alert rules to allow | 2016-02-03 07:52:35 +00: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
Tony Murray 44cd86d24e Add systemd unit file for the python poller service.
Move poller-service init scripts into to scripts directory and update the documentation.
2016-02-02 20:23:08 -06: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
laf dc5f286b9a Added ifOperStatus and ifAdminStatus _prev values to db. 2016-02-02 13:47:13 +00: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
Robert (KHobbits) 028b4300ba Slow polling loop 2016-02-02 11:36:49 +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
KHobbits f2bad9816b Attempt to scare away scrutinizer issues. 2016-02-02 01:05:29 +00:00
KHobbits 5ebe6b44c0 Code clean up 2016-02-02 00:56:19 +00:00
KHobbits 92a7e5796d Add ./validate.php -m rrdcheck
This will loop through rrd files and highlight any corrupt files.
2016-02-01 23:29:37 +00: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