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
433562d351
More updates for influx
2015-08-19 20:58:02 +00:00
987634e463
Updated rrdtool_update() to use new array format
2015-08-18 16:26:55 +00:00
d8693f05ae
Fix coding style part 2
2015-07-15 11:04:22 +02:00
5a7988e2e4
chmod 0644 to php files not directly executed
2015-04-28 22:58:03 +02:00
b273e04241
/// -> //
...
git-svn-id: http://www.observium.org/svn/observer/trunk@3240 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-25 12:24:34 +00:00
cacf913a55
# -> / for phpdoc
...
git-svn-id: http://www.observium.org/svn/observer/trunk@3239 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-25 11:29:53 +00:00
4db1454e92
move from port_id to interface_id. make ports discovery only discover. add some cleaner functions. add a tiny bit of alerting infrastructure.
...
git-svn-id: http://www.observium.org/svn/observer/trunk@3195 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-16 13:25:50 +00:00
2b8178bb5b
move all RRA decisions to config. switch mempool/storage to new rrds (sorry, data lost, the old rrds sucked). added some more apps pages.
...
git-svn-id: http://www.observium.org/svn/observer/trunk@3068 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-20 17:37:58 +00:00
392d97bf73
syntaxer run
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2966 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-05 16:37:46 +00:00
634e944987
ignore adsl stats out of sanity (3.2KdB SNR? GET FUCKED CISCO.) Clean up legend for generic_multi_line. Add CISCO-VPDN-MGMT MIBs
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2694 61d68cd4-352d-0410-923a-c4978735b2b8
2011-10-21 10:54:06 +00:00
59521d8778
more db*
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2337 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-16 20:33:51 +00:00
ecbcd1db43
clean up polling source files, remove dead code
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1865 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-16 01:11:27 +00:00
e1fe05b129
clean up ADSL poller maybe
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1826 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-12 12:07:25 +00:00
4160243794
reworking poe polling a bit, but still unpolished or even unfinished
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1633 61d68cd4-352d-0410-923a-c4978735b2b8
2010-08-02 23:11:54 +00:00
ada14bd542
Major changes to graphing system organisation. Prevent sensors from being discovered in ENTITY-SENSOR-MIB if they've already been detected in CISCO-ENTITY-SENSOR-MIB (they share entPhysicalIndex). Fix ADSL poller. Make popup overlibs prettier as default.
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1470 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-24 19:14:41 +00:00
289228a544
improve ADSL stats collection
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1469 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-23 18:26:45 +00:00
9052296c13
lots of cleanups to various things
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1463 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-23 13:42:28 +00:00
80a074e021
only collect ADSL stats if we have a port type 'adsl'
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1441 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-20 13:10:18 +00:00
3940265744
record discover/poll speeds, prettier "not permitted" page, and readd "base_url" to config
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1435 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-19 18:21:48 +00:00
501b01c7c7
more ADSL updates
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1412 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-18 11:38:38 +00:00
ab27abe5f8
fix junos? make adsl work on ports which don't say adsl (might say interleaved...)
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1408 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-18 09:34:05 +00:00
73a079ac30
add adsl polling :)
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1404 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-18 08:20:55 +00:00