Commit Graph
148 Commits
Author SHA1 Message Date
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 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
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
Eldon Koyle bf501c6667 Bump schema to 082 as 081 has been used 2015-12-09 15:33:15 -07:00
laf c141efcd5e Added lastupdate column which will always use NOW() when doing a dbUpdate 2015-12-09 19:31:28 +00:00
laf bf5a6d2092 Added Notes widet 2015-12-08 20:34:32 +00:00
Eldon Koyle cdc6bb3bb8 Update schema change to a single line 2015-12-03 09:38:16 -07:00
Eldon Koyle 612a4b3cad Bump schema version
Use version 081 due to other pending PR's with schema updates
2015-12-03 09:38:16 -07:00
Eldon Koyle 26be6c6d74 Add schema 2015-12-03 09:38:16 -07:00
Eldon Koyle 55c05c7866 Allow users to keep more statistics in the db
* Add $config['enable_extended_port_metrics'] to enable feature
* Add a new table to store stuff in
* Update data from the poller
2015-12-03 09:38:16 -07:00
laf eb689fe66e Rebased from upstream 2015-12-01 21:50:13 +00:00
laf 4dd2f7f99f Rebased 2015-11-19 12:13:51 +00:00
Daniel Preussker 987c841b48 Automatically mark all news as read for new users
Renamed Schema for old system
2015-11-21 11:40:24 +00:00
Daniel Preussker 0ff693bd0e Added notifications poller,page,schema,display 2015-11-21 11:22:59 +00:00
laf df652f0507 Added WebUI support for VictorOps 2015-11-19 07:37:32 +00:00
laf 72426b9a1b Rebased SQL file 2015-11-18 23:55:00 +00:00
laf 52e0be911b More updates 2015-11-17 05:38:45 -08:00
laf 253b27d403 More updates to tune rrdfiles 2015-11-17 05:14:41 -08:00
laf b3da666ae7 Added relevant sql schema 2015-11-16 20:22:08 -08:00
laf af8df3469c Added support for per device unix-agent port 2015-11-17 00:20:06 +00:00
laf 64180fa9a8 Added ability to globally disable sending alerts 2015-11-04 20:29:02 +00:00
laf c5998f9ee2 Example for adding new dynamic config options for WebUI 2015-10-12 22:06:17 +00:00
chrisgfx 24efc0176d Create 073.sql 2015-10-03 11:51:14 +02:00