9928 Commits

Author SHA1 Message Date
89f596fdbb Fix oxidized versioning + groups
Consilidate config fetching rather than having two fetches with the first always failing when the device has a group.
2016-02-05 15:23:05 -06:00
4aa9838eda add discover, polling and mibs.
work around empty ifDesc
2016-02-05 14:26:06 -06:00
3970753c86 Merge remote-tracking branch 'upstream/master' into calix 2016-02-05 14:24:04 -06:00
332e4de80e Merge pull request #2940 from laf/issue-2921
Updated device_by_id_cache() to convert IP column
2016-02-05 19:37:36 +00:00
d050315546 Merge pull request #2942 from tuxis-ie/fix_remaining_ceph_graph_bug 2016-02-05 17:56:29 +00:00
be225148ca There was one more include that screwed up the Ceph graphs 2016-02-05 14:50:27 +01:00
3f8ecc5f73 Merge pull request #2927 from adaniels21487/issue-2448
Quote snmp v2c community
2016-02-05 10:45:32 +00:00
f82db7ed8b Merge pull request #2939 from laf/issue-2932
Stop realtime graph page from auto refreshing
2016-02-05 11:45:05 +01:00
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
e884e72ca8 Merge pull request #2936 from pblasquez/pblasquez-application_json_patch
application/json headers
2016-02-05 10:14:28 +00:00
e8f773b010 Update ajax_form.php 2016-02-04 18:23:49 -08:00
1b4dfd2fc6 Update ajax_rulesuggest.php 2016-02-04 18:18:40 -08:00
d62ad2eb02 Update ajax_search.php 2016-02-04 18:16:36 -08:00
ab6a608bdb Update ajax_table.php 2016-02-04 18:09:47 -08:00
e397860257 Update ajax_dash.php 2016-02-04 18:09:09 -08:00
cf5b6ba121 Update rewrites.php 2016-02-04 16:11:38 -08:00
937937aa09 Update core.inc.php 2016-02-04 16:10:28 -08:00
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
078c323d1a Update validation docs 2016-02-04 00:21:20 +00:00
e7c59dbd57 Initial Calix E7 Support 2016-02-03 16:01:31 -06:00
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
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
5521002b37 Fix port association for adsl, etherlike and poe port information.
In 2c9df26bbf22af94c354bcf445b55a56eaece81a 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
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
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
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
45917efd0f Removed no longer necessary poller section 2016-02-03 10:34:07 +01:00
2a51cf723c To make it complete added config.php step 2016-02-03 10:24:17 +01:00
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
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
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
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
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
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
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
028b4300ba Slow polling loop 2016-02-02 11:36:49 +00:00
53be46ed7d Changed the text to make it more clear what to change. 2016-02-02 11:37:23 +01:00
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
a53f7c3df1 Added description of AD configuration options 2016-02-02 11:14:09 +01:00
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
f2bad9816b Attempt to scare away scrutinizer issues. 2016-02-02 01:05:29 +00:00
5ebe6b44c0 Code clean up 2016-02-02 00:56:19 +00:00
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
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
e02b45f719 Merge pull request #2881 from mmarchand/dup-alerts-take2
Prevent duplicate alerts
2016-01-31 18:16:34 +00:00