168 Commits

Author SHA1 Message Date
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
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
laf
dc5f286b9a Added ifOperStatus and ifAdminStatus _prev values to db. 2016-02-02 13:47:13 +00: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
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
root
3872912b43 prevent duplicate alerts 2016-01-28 20:22:49 +01: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
vitalisator
5ab9051f4f remove conflict 2016-01-28 14:25:36 +01:00
vitalisator
0e66ddf088 some bugfixing 2016-01-28 13:07:33 +01: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
root
81ffa805c3 Merge remote-tracking branch 'librenms/master' into dup-alerts 2016-01-26 09:18:43 +01:00
root
a396608fae rename 2016-01-26 09:18:00 +01:00
laf
f10c42678d Added bgpPeers_cbgp delta and prev 2016-01-26 01:06:21 +00:00
laf
ceec16e0ed Updated to check table exists 2016-01-24 23:38:30 +00:00
laf
2a2c32787a Fixed silly sql build for vminfo table 2016-01-24 23:36:38 +00:00
root
7c1dd867f5 cleanup 2016-01-24 18:57:52 +01:00
vitalisator
1de495ac0f rebase 2016-01-24 18:50:10 +01:00
root
686bffd39f Removes duplicate alerts from table alerts
then adds uniqueness in alerts table for (device_id+rule_id)
2016-01-24 18:42:27 +01:00
Paul Gear
302a7d5c73 Tidy mess left by CISCO-AAA-SESSION-MIB bug 2016-01-21 08:54:00 +10:00
laf
2dec9c3996 Rebased (sql schema conflict) 2016-01-19 14:33:15 +00:00
laf
49adff3895 Added the lookup of IP if device hostname is a hostname 2016-01-17 23:59:51 +00:00
Rosiak
4581366bf4 Add WebUI settings 2016-01-17 19:19:56 +01:00
laf
b757f4023b Added missing column to perf_times table 2016-01-17 15:46:33 +00:00
Aaron Daniels
ad751983dc Merge branch 'master' into issue-1650 2016-01-15 17:52:40 +10:00
Aaron Daniels
f61838a617 - Moved sql beacuse of upstream changes 2016-01-15 17:52:12 +10:00
Aaron Daniels
6492b887e9 Merge branch 'master' of https://github.com/adaniels21487/librenms into issue-1650 2016-01-14 06:10:31 +10:00
Aaron Daniels
29ae6aaaae - Move 085.sql to 089.sql 2016-01-14 06:10:00 +10:00
Mike Rostermund
44ef2c999e Merge pull request #2745 from laf/issue-2464
Added group support for Oxidized
2016-01-11 20:14:24 +01:00
Paul Gear
2469621a58 Merge pull request #2746 from laf/issue-2562
Added datetime to notifications + Fixed sticky/unsticky notifications disappearing
2016-01-11 09:01:56 +10:00
laf
7cb54a635b Renamed file to stop conflict 2016-01-10 22:47:40 +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
laf
93b0886567 Added datetime to notifications + Fixed sticky/unsticky notifications disappearing 2016-01-10 22:22:13 +00:00
laf
a35f6d8c7a Added group support for Oxidized 2016-01-10 19:45:54 +00:00
Vitali Kari
4223a15fe8 Update 086.sql 2016-01-07 21:48:16 +01:00
Vitali Kari
64e462ca64 reformat an rename from 085.sql to 086.sql 2016-01-07 18:27:09 +01:00
vitalisator
d12c7803e0 add basic STP/RSTP support 2016-01-03 21:10:35 +01:00
Paul Gear
d862b9c100 Add SQL schema 2016-01-02 07:10:43 +10:00
Aaron Daniels
6286d7cb6a Merge branch 'master' of https://github.com/adaniels21487/librenms into issue-1650
Conflicts:
	html/api_v0.php
	html/includes/api_functions.inc.php
2015-12-22 11:16:54 +10:00
Aaron Daniels
0453c23544 - Moved SQL to reflect upstream changes. 2015-12-22 11:06:30 +10:00
Aaron Daniels
c6be2a8ad7 - Removed default alerting rules, user can create their own.
- Updated documentation
2015-12-22 11:05:42 +10:00
Neil Lathwood
dfb61fa422 Merge pull request #2620 from QuxLabs/issue-1916
First Draft in Per-User default dashboards
2015-12-18 16:22:25 +00:00
Aaron Daniels
c63b7119cb Device Components.
The purpose of this feature is to provide a framework for discovery modules to store
information in the database, without needing to add new tables for each feature.

This Feature provides:
- A database structure to store data.
- An API to store and retrieve data from the database.
- Integration to the LibreNMS APIv0.
- Ability to disable/ignore components.
- Default alerting rules.

- The API returns $COMPONENT[$device_id][$component_id] to allow pulling of data for multiple devices.
  The intent is to be able to create 'Applications' the consolidate data from applications covering multiple devices.
- Added some developer documentation
2015-12-14 07:52:03 +10:00
Daniel Preussker
a63ea78441 First Draft in Per-User default dashboards 2015-12-13 19:39:12 +00:00
Daniel Preussker
4da410b5f9 Added generic image widget 2015-12-13 18:24:26 +00:00
Neil Lathwood
73f09f129a Merge pull request #2542 from ekoyle/add_stats_to_db
Add stats to db
2015-12-10 21:15:20 +00:00