Commit Graph

17296 Commits

Author SHA1 Message Date
Tony Murray
fa12c4ca2f Fix poller enabling graphs for display (#11743) 2020-05-30 17:42:50 -05:00
arrmo
67cb7b4dc3 Remove int width from db schema (MySQL 8) (#11725)
* Remove width from db schema

* Update to address DEFAULT_GENERATED validation, and push new schema

* Only remove width from integer types

* Build from fresh db

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-05-30 17:06:53 -05:00
Tony Murray
24b6222712 fix asa test data (#11744) 2020-05-30 17:04:49 -05:00
Erik
f9c2b7606b Fixed Cisco ASA Lan2Lan typo (#11704) 2020-05-30 12:19:46 -05:00
arrmo
1626c2f0ed Address Incorrect DATE value in isUnderMaintenance (#11736)
* Address Incorrect DATE value in isUnderMaintenance

* Remove end_recurring_dt issue
2020-05-30 11:49:34 -05:00
SourceDoctor
6b7b143cbb Show full description text on MySQL RRDs (#11738)
* Show full description text on MySQL Connections

* further adjustments
2020-05-30 11:46:58 -05:00
PipoCanaja
f4c2ca8d24 New Device: Paradyne SHDSL modems (#11679)
* paradyne

* paradyne logo

* tests

* Update paradyne.svg
2020-05-30 18:41:23 +02:00
mattosem
8169adf784 New Device: PowerTek/BladeShelter PDU support (#11731)
* Added PowerTek/Bladeshelter PDU support

* Corrected SVG

* Added test data

* Rename SPSv1-MIB.mib to SPSv1-MIB
2020-05-30 18:25:13 +02:00
Tony Murray
f96a24a916 Check python3 and pip3 versions (#11739) 2020-05-30 11:09:54 -05:00
Tony Murray
6a4f2025c3 Check running user lnms (#11726) 2020-05-30 09:23:21 -05:00
Tony Murray
90e95f160d fix bullets (#11732) 2020-05-30 06:36:17 +02:00
Tony Murray
2a6342f2ca Deploy docs direct in Travis CI (#11727)
* deploy_docs direct in travis

* forgot chmod
2020-05-28 21:52:54 -05:00
Tony Murray
8b37eaf752 Maximum Execution Time Exceeded show error (#11720)
* Maximum Execution Time Exceeded show error
Migrate translations to php translation files.
Fix invalid view class in Handler

* Update MaximumExecutionTimeExceeded.php

* Update MaximumExecutionTimeExceeded.php
2020-05-28 14:39:19 -05:00
Hans Erasmus
b2d6540ff2 Update rrdtool setting explanation (#11724)
After some users said it was not clear.
2020-05-28 11:13:02 +02:00
Tony Murray
b767c61836 Update distributed poller docs intro (#11721)
Add info about config sharing
2020-05-28 08:43:10 +02:00
JP
e22a9fe5aa Add new sysobjectid for Arbor ArbOS TMS appliances (#11711)
* Add new sysObjectID for Arbor ArbOS TMS appliances

Arbor ArbOS TMS appliances use a sysobjectID of SNMPv2-SMI::enterprises.9694.1.5. Currently the arbos.yaml file only has 9694.1.4 so Arbor TMS appliances are not getting detected correctly as ArbOS devices.

netnms01:/opt/librenms# snmpwalk -v2c -cdeleted arbortms01.dal
SNMPv2-MIB::sysDescr.0 = STRING: Peakflow TMS 8.4 Model: TMS-HD1000 Serial: XXXXXXXXXX
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.9694.1.5

* New sysobjectid for Arbor ArbOS TMS appliances

* New sysobjectid for Arbor ArbOS TMS appliances

* Update arbos.json

* Create arbos_tms.snmprec

* Update arbos.snmprec

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-05-27 11:09:13 -05:00
Tony Murray
a184035841 left accidental change (#11710) 2020-05-26 13:21:14 -05:00
Tony Murray
e292cc98cc Wrong snmpsim endpoint for TravisCI pre-start (#11706)
* Wrong snmpsim endpoint for TravisCI pre-start

* Fix full check parsing
2020-05-26 13:18:27 -05:00
Bukowski
bb2ac27a1d Add Papouch Quido Device (#11605)
* Create QUIDOQ-MIB

* Rename QUIDOQ-MIB to QUIDOS-MIB

* Create papouch-quido.yaml

* Create papouch-quido.yaml

* Add additional match data and over graph

* Create papouch-quido.snmprec

* Create papouch-quido.json

* Update papouch-quido.yaml

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-05-26 12:02:49 -05:00
Daniel Preussker
051d06f5d6 Fix CSRF Token in Latency tab (#11703) 2020-05-26 11:15:03 -05:00
gardar
14193253fe Add support for windows librenms(check_mk) agent (#11691)
* Allow agent to run against windows os

* Display processes from windows check_mk agent

* Replace tabs with spaces

* Fix indent

* Add documentation for windows agent
2020-05-26 16:04:38 +02:00
Tony Murray
46fa4eac03 Add missing bash lint script (#11700) 2020-05-26 08:28:00 -05:00
PipoCanaja
a635881fa9 Clean mempools code to avoid unnecessary snmpget (#11678)
* IES MemPools OS check

* fortisandbox

* mempools fortiweb

* mempools ies5000

* typo
2020-05-26 08:27:42 -05:00
Tony Murray
ed5bc6c871 Fix some connection issues (#11693)
When mysqld is configured to listen on a non localhost port, pymysql.install_as_MySQLdb() has inconsistent behavior.
Try to import MySQLdb first which has the correct behavior.
2020-05-25 20:01:11 -05:00
Tony Murray
f689fcbef9 CI Helper fixes 3 (#11696) 2020-05-25 14:10:07 -05:00
Negatifff
d932dc85b9 Added OID for EdgeCore models: ES 3528M-SFP, ES 4612, ES 3526 XA, ECS 3510-28T, ECS 4120-28F (#11690) 2020-05-25 20:06:23 +02:00
dupondje
00d00b0fce Add Edgemax support (#11687) 2020-05-25 17:41:52 +02:00
Dragan Savic
79ca57ed28 Fix cisco sensor thresholds (#11547)
* Update functions.inc.php

Skip changing the high limit threshold to low limit threshold value when high limit threshold doesn't exist for a sensor. If low limit threshold value was set by discovery process or manually, the same value would be also set for high limit threshold.

* Update cisco-entity-sensor.inc.php

Skip invalid sensor threshold values, which some Cisco ASR devices (probably other families too) return.

* Add snmprec data for Cisco ASR9010

* Create iosxr_asr9010.josr

* Create iosxr_asr9010.json

* Delete iosxr_asr9010.josr

* Update iosxr_asr9010.json

* Update iosxr_asr9010.json

Co-authored-by: Tony Murray <murraytony@gmail.com>
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2020-05-25 13:53:38 +02:00
mathieu-oui
c22dad298e Panos - WebUI, mini graphs (#11681) 2020-05-25 10:06:28 +02:00
SourceDoctor
73e2649712 Hardware examples SourceDoctor (#11680) 2020-05-25 02:10:16 +02:00
SourceDoctor
f92caf8cf7 Fix - Seperate default poller id and distributed poller groups (#11584)
* Seperate Setting for default poller id

* revert change

* Travis restart

* fixes
2020-05-24 17:55:11 -05:00
hachpai
4bb064c7ad Enabling general search for ports, devices, and more (#11571)
* Search engine for device, through API

* reviewed port search through API

* fixed die

* Update api_functions.inc.php

* Update api_functions.inc.php

* Update api_functions.inc.php

* Update api_functions.inc.php

* Update api.php

* Update api.php

* Update Ports.md

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-05-24 17:16:07 -05:00
PipoCanaja
a44cdc2f45 Add WAN (3/4g-LTE) support on Huawei AR family (#11619)
* 3g-LTE WAN stats

* Get HW name on AR16x family

* serial for AR

tests

* enable snmpsim log

* Update bootstrap.php

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-05-24 15:57:06 -05:00
Adam Bishop
3acbd72ab1 OS Detection for Mobileiron Core, Sentry appliances (#11510)
* Detection for MobileIron appliances

* Test data

* Remove references for GANDI-MIB

Turns out these aren't actually needed for Linux-likes

* Remove module filters
2020-05-24 15:53:17 -05:00
footstep86
91c04a1d54 Added FortiMail support (#10895)
* Added FortiMail support

* Added FortiMail support

* Update fortimail.inc.php

* optimized discovery

* Syntax change

* Added test data

Co-authored-by: Neil Lathwood <gh+n@laf.io>
2020-05-24 15:45:14 -05:00
Unknown
acd090da81 Corrected wrong path in documentation (#11675) 2020-05-24 13:51:52 -05:00
Tony Murray
ee13299a77 Testing cleanup (#11677)
All tests use transactions
One test isn't a db test...
2020-05-24 13:49:01 -05:00
footstep86
06c991ef57 Added FortiAuthenticator support (#11633) 2020-05-24 11:55:54 -05:00
footstep86
9f82079e2c Added FortiSandbox support (#11593) 2020-05-23 21:41:02 -05:00
SourceDoctor
b89eb22cd5 Enumerate AlertState (#11665)
* Enumerate AlertState

* fix typo

* add missing use's

* .

* .
2020-05-23 21:14:36 -05:00
PipoCanaja
b8c6769049 New corner cases for Huawei VRP BGP (#11663)
* vrp-improve

* add bgp4 data, and get errors

* Fix WRONG Type error on bgpPeerRemoteAs + handle ErrorSubCode in  a generic way

* fixing tests

* clean

* improve state backup to BGP4-MIB

* tests with corrected data

* tests

* restore original tests/data/vrp_5720.json
2020-05-23 21:11:55 -05:00
Tony Murray
e7d954d7df Fix dev:check fail-fast not returning error (#11672)
Fix dantherm definition
2020-05-23 14:43:41 -05:00
PipoCanaja
3c4751e3c7 Fix error breaking poller/discovery on my test machine (#11671) 2020-05-23 13:27:45 -05:00
PipoCanaja
b5c85775e4 Fix states for Dantherm (#11670) 2020-05-23 13:24:35 -05:00
Jellyfrog
b09bc07f8f Laravel 6.x (#11397)
* Update Laravel core files

Fix app/Http/Kernel.php

* Use RouteServiceProvider::HOME

* Sync Laravel default config files

* Update composer dependencies to Laravel 6

* fix resources/lang/en/validation.php

* Manually fixing tests

required by travis, fails locally???

* Update wpb/string-blade-compiler

* Add new viewany() authorization policies

* Update minimum PHP version to 7.2

* Re-generate our json test-dumps

Due to:
https://github.com/laravel/framework/pull/16069
https://github.com/laravel/framework/pull/31100

* update truenas data

* fix truenas

Co-authored-by: Laravel Shift <shift@laravelshift.com>
Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-05-23 12:05:18 -05:00
Maikel de Boer
b3f78ec510 Vendor Dantherm (#11603)
* Build support for Dantherm CC3000 Cooling Controller

* add missing files + test data

* Create dantherm-os.json

* Update dantherm-os.json

* Update dantherm-os.yaml

* Update dantherm-os.yaml

* Update dantherm-os.json

Co-authored-by: Tony Murray <murraytony@gmail.com>
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2020-05-23 18:51:34 +02:00
Tony Murray
fb162f16b8 dev:check Fallback to full if can't get changed file list (#11667)
* ci should fail fast

* fallback to full if can't get changed file list
mostly happens if the git clone is too shallow on travis-ci

* missed
2020-05-23 10:17:26 -05:00
Tony Murray
f1502a1727 ci should fail fast (#11666) 2020-05-23 08:51:26 -05:00
Tony Murray
ce21011aff Rewrite development helper to lnms dev:check (#11650)
* Refactor pre-commit to class

* docs build

* dusk check

* ci mode for checks

* full checks

* other mysql

* make other lint checks actually work
fix pylint finding

* ci is a long opt

* fix undefined index

* dusk fully working

* ask for forgiveness, not permission

* fix whitespace

* skip dusk sometimes

* Handle 3com and other os with digits

* flags instead of if else spaghetti

* convert to command

* cleanup

* missed check

* fixes

* case

* self-check :D

* argument now

* fix bugs from refactors

* another fix

* adjust file change parsing

* refactor execut a bit

* fallback to global quiet when unknown type.

* allow quiet override for specific commands

* output cleanup

* check flow

* start of tests

* file categorizer tests and fixes

* fixes and cleanup

* skipable not implemented...

* more tests, fix bugs

* more tests and cleanup

* wrong command

* fix canCheck and set env properly

* full env fix

* don't allow dusk on user's run as it will erase their db.

* fix os option

* fix whitespace

* don't need to start server

* ci doesn't like that
2020-05-22 20:27:48 -05:00
TheGreatDoc
0b7373d973 Update Installation-CentOS-7-Nginx.md (#11629) 2020-05-22 20:27:16 -05:00