Commit Graph

17206 Commits

Author SHA1 Message Date
TheGreatDoc
1366bdebaf Added ignored devices to be pinged by smokeping (#11557)
Co-authored-by: Daniel Baeza <d.baeza@tvt-datos.es>
2020-05-14 22:06:18 -05:00
TheGreatDoc
eac6c08ab8 Fix "improper label name" in Prometheus datastore (#11602)
* base64 encode tags with forward slashes "/" in it

* Use of Str::contains and ternary statement

* Like this

* Update Prometheus.php

Co-authored-by: Daniel Baeza <d.baeza@tvt-datos.es>
Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-05-14 21:57:18 -05:00
Jellyfrog
ec57d3b669 Run artisan optimize after composer install (#11465)
* Remove unused routes

Prevents route:cache from working also

* Run artisan optimize after composer install

Helps cleaning up issues with upgrades, and also makes laravel a bit
faster

* Update composer.json

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-05-14 21:10:03 -05:00
lazyb0nes
e87f590232 Update Example-Hardware-Setup.md (#11611)
* Update Example-Hardware-Setup.md

* Update Example-Hardware-Setup.md

* Update Example-Hardware-Setup.md
2020-05-14 21:07:33 -05:00
PipoCanaja
1b05f435ec fix sensor type/class confusion (#11608) 2020-05-14 21:06:50 -05:00
Tony Murray
b573c9ef73 Implement OS specific information discovery (#11446)
* Implement OS specific information discovery
That way it doesn't have to be fetched during polling
Also improve discovery process, os is only detected once, in the core module.
EXA is the test os, a couple improvements there.

* Use local variable, then unset it so we don't pollute.

* fix style issues

* test and other fixes

* attribute update fixes

* Update exa data, need new source data

* null missing "os" values

* fix ftos odd character

* fix ftos odd character

* only null for new style or we will reset to null every discovery

* Move device observer to own class

* Handle location, relocate event logging

* update exa e7-2 data

* update ird test data, apparently unicode is now working.

* update Linux ntc, now uses correct icon

* Only load all os on the web, also, we can't load existing the the database isn't connected.

* only for devices that have a location

* revert ftos test data apparently

* revert ird
2020-05-14 11:27:59 -05:00
Tony Murray
f80ff5266d Fix Papouch detection too generic (#11540) 2020-05-13 23:38:00 -05:00
PipoCanaja
306630a8c8 Filter on sensor class as expected and documented (#11592) 2020-05-13 09:02:30 -05:00
gardar
f62216fdc5 Add missing python3 modules from repo, remove pip (#11594)
* Add missing python3 modules from repo, remove pip

Added missing python3 modules from official debian repos and thus removing the need for pip

* Add python3-setuptools
2020-05-13 08:58:18 -05:00
SourceDoctor
f66b16932a Update requirements.txt (#11600) 2020-05-12 23:11:59 +02:00
PipoCanaja
804bb22a5a Correct options for IBMC version polling (#11587)
* Correct options for version polling

* Update ibmc.json
2020-05-12 16:09:18 -05:00
PipoCanaja
e48e37402b Device - Correct SysObjectID for RIEDO Concentrator (#11573)
* Bug - Correct SysObjID for Concentrator

In order to properly classify concentrator and simple PDUs (they'll come in a new PR soon)

* typo
2020-05-12 15:53:50 -05:00
SourceDoctor
e305a39d31 Sort Health table alphabetic (#11586) 2020-05-12 15:51:30 -05:00
Lars Elgtvedt Susaas
aca95b5554 bugfix: addhost (web) snmp v3 not used first (#11536)
* Update addhost.inc.php

bugfix: push snmp v3 user settings to the front of the config array and not the back.

To reproduce the bug:
Force add new snmp v3 device.
The v3 settings added to the database will not be the same as entered in the webpage

* Update addhost.inc.php

Minor change in order to trigger travis build
2020-05-12 15:49:39 -05:00
Luca Olivetti
5e6d371e42 Added example for the alerta transport (#11596) 2020-05-12 15:45:00 -05:00
Hans Erasmus
a9f6c935a4 Removed reference to deprecated poller-service.py (#11598)
* Removed reference to deprecated poller-service.py

* Update Dispatcher-Service.md

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-05-12 15:39:44 -05:00
PipoCanaja
7a2424c524 Correct sensor ignore documentation (#11591) 2020-05-12 09:22:47 -05:00
Tony Murray
8513026b1a Hide python user warning if deps met at system level (#11590) 2020-05-12 08:16:22 -05:00
VTS
60552d96ae Copy and modify the syslog transport for sending alerts to Splunk in an easy to parse format (#11176)
* Create Splunk.php

* add documentation

add documentation for splunk transport rule

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-05-11 23:11:45 -05:00
louis-oui
c9155bf5ea disable auto-refresh for notifications and alert history (#11589) 2020-05-11 23:07:14 +02:00
SourceDoctor
38abff264a Show Hardware Details on Network Adapters in Inventory (#11545) 2020-05-11 20:28:42 +02:00
Munzy
e37cf6fc64 Typo Fix (#11588) 2020-05-11 17:44:21 +02:00
Tony Murray
55e70be6ba Send to PHP 71/Python2 support branch 2020-05-10 23:09:03 -05:00
Alexander Moisseev
0900f9513e Add serial for QTECH QSW-3400 (#11569) 2020-05-10 22:08:07 +02:00
Jozef Rebjak
3b79ca0e79 Added warmStart trap handler (#11583)
* Added warmStart Trap

* Added warmStart Trap Test
2020-05-10 21:50:19 +02:00
Jozef Rebjak
44f3dea8e8 Fixed issues with IMCO Power (#11559)
* Fixed Issues with IMCO Power

* Fixed TRAVIS
2020-05-10 21:48:34 +02:00
CrazyMax
c6c7b3c5cc Update Docker installation doc (#11579)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-05-09 14:28:31 -05:00
Tony Murray
0e00454b8f Full path to requirements.txt in validate (#11581) 2020-05-09 14:26:24 -05:00
SourceDoctor
8d3f39743a Application DisplayName in Overview Hover (#11576) 2020-05-09 20:34:14 +02:00
Vitali Kari
918cf86eae Add acknowledgment notes to eventlog (#11575) 2020-05-09 20:33:50 +02:00
SourceDoctor
60b0ffbd63 Only Show in TopInterfaces Devices which are up (#11578)
* Only Show in TopInterfaces Devices which are up

* change to macro
2020-05-09 08:47:32 -05:00
Tony Murray
257d596c3b Add python validation fix suggestions (#11563)
* add python fixes

* re-order python requirements so most important deps show first.

* Only check dependencies if we are running as the poller user
2020-05-08 09:54:30 -05:00
SourceDoctor
d65aa52b4a Fix RRDCached Application Socket Address in Poller (#11525)
* Fix RRDCached Application Socket Address in Poller

* remove unnecessary socket open check
2020-05-08 01:51:30 -05:00
Tony Murray
a0589c5830 Send python 3 version to stats.librenms.org (#11568) 2020-05-08 01:34:43 -05:00
Tony Murray
73ac93d729 Fix errors for some devices loading components (#11527)
* Test WIP

* WIP

* port getComponents to Eloquent

* port more

* simpler creation

* change to explicit arrays

* add missed file

* restore commented code

* fix inserting null value for component prefs

* Fix some bugs in setCompenentPrefs
Can't create tests without fixing bugs first :D

* another test

* another test

* Modernize setComponentPrefs

* Test for event log entries

* Fix delete event

* fix invalid values for component toggles

* status log too

* Use Setters to work around bad data, $casts doesn't do what we want.
2020-05-08 00:30:56 -05:00
Hans Erasmus
305ccf20aa Added note about having same APP_KEY value (#11521)
* Added note about having same APP_KEY value

As per discussion in discord all pollers belonging to the same LNMS environment, will need to have the same APP_KEY set in future. Updating docs now already to ensure users knows this and fixes their installs where needed.

* Update Distributed-Poller.md

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-05-07 23:40:56 -05:00
Hans Erasmus
c1c95ffda2 Add python3 and pip3 to installs (#11566)
* Add python3 and pip3 to installs

* Ubuntu NGINX install

* Update Debian install

* CentOS7 NGINX install
2020-05-07 11:06:21 -05:00
Alexander Moisseev
25330646f6 New OS: QTECH (#11556)
* New OS: QTECH

https://www.qtech.ru/en/catalog/

* QTECH: Add hardware, version and serial support

* QTECH: Fix platform and software version detection

* QTECH: Add test for QSW-3450
2020-05-06 23:34:02 +02:00
arrmo
280e010286 Updates to Brother Printer (#11532)
Fixes issues observed in LibreNMS (timeouts, missing data)
Manual snmpwalk vs. snmpbulkwalk confirmed no bulk support
Missing toner, network, etc. information now seen in LibreNMS!
2020-05-06 23:30:35 +02:00
spencerryan
39ef4dc503 Do not delay alert recovery notifications (#11555)
Skip the delay logic for recovery.
2020-05-06 23:02:43 +02:00
Hans Erasmus
612817f1a0 Added python3 for new installs (#11564)
`./scripts/composer_wrapper.php install --no-dev` will fail without pip3 installed.
2020-05-06 22:57:14 +02:00
Tony Murray
c4158edda6 Fix python always install as user. (#11562) 2020-05-06 12:13:33 -05:00
SourceDoctor
e170529692 Python3 Module Dependency Check (#11544)
* Python3 Modul Dependency Check

* code climate

* binary existance check

* move Python Modul Version Check

* .

* adding verbose argument

* args parser nicement

* enhance Validator for detailed approvements

* Update Python.php

* Update check_requirements.py

* python version to Version class
use Process

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-05-06 10:58:17 -05:00
Tony Murray
598c8c0848 Fix Smokeping without integration (#11548) 2020-05-06 09:13:21 -05:00
Tony Murray
c48943550b Fix port permissions (#11560) 2020-05-06 09:12:33 -05:00
ospfbgp
05f3314061 Fix display of device modules (#11543) 2020-05-06 09:09:14 -05:00
Damon Reed
53b75b289e Added bgpPeerDescr for Arista OS (#11495) 2020-05-06 00:51:39 +02:00
Tony Murray
17a8046595 Fix vmhost device page link (#11553) 2020-05-05 09:30:26 -05:00
SourceDoctor
d1f20bb045 Correct OS Overlib in Inventory (#11551) 2020-05-04 18:59:44 -05:00
Adam Bishop
35c32609c9 Move packet journey counters from linux to packetjourney (#11550) 2020-05-04 18:59:08 -05:00