Commit Graph
17288 Commits
Author SHA1 Message Date
XxPatrickxX 4479fa4f27 Create arubaos-cx.snmprec
adding required snmprec test file.
2020-06-08 14:05:24 -05:00
XxPatrickxX a5e8b5f55c Update arubaos-cx.yaml 2020-06-08 06:57:00 -05:00
XxPatrickxX 1d15158c69 Create arubaos-cx.yaml
Aruba CX definition
2020-06-08 06:41:50 -05:00
Tony MurrayandGitHub 2a6342f2ca Deploy docs direct in Travis CI (#11727)
* deploy_docs direct in travis

* forgot chmod
2020-05-28 21:52:54 -05:00
Tony MurrayandGitHub 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 ErasmusandGitHub b2d6540ff2 Update rrdtool setting explanation (#11724)
After some users said it was not clear.
2020-05-28 11:13:02 +02:00
Tony MurrayandGitHub b767c61836 Update distributed poller docs intro (#11721)
Add info about config sharing
2020-05-28 08:43:10 +02:00
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 <[email protected]>
2020-05-27 11:09:13 -05:00
Tony MurrayandGitHub a184035841 left accidental change (#11710) 2020-05-26 13:21:14 -05:00
Tony MurrayandGitHub 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
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 <[email protected]>
2020-05-26 12:02:49 -05:00
Daniel PreusskerandGitHub 051d06f5d6 Fix CSRF Token in Latency tab (#11703) 2020-05-26 11:15:03 -05:00
gardarandGitHub 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 MurrayandGitHub 46fa4eac03 Add missing bash lint script (#11700) 2020-05-26 08:28:00 -05:00
PipoCanajaandGitHub 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 MurrayandGitHub 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 MurrayandGitHub f689fcbef9 CI Helper fixes 3 (#11696) 2020-05-25 14:10:07 -05:00
NegatifffandGitHub 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
dupondjeandGitHub 00d00b0fce Add Edgemax support (#11687) 2020-05-25 17:41:52 +02:00
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 <[email protected]>
Co-authored-by: PipoCanaja <[email protected]>
2020-05-25 13:53:38 +02:00
mathieu-ouiandGitHub c22dad298e Panos - WebUI, mini graphs (#11681) 2020-05-25 10:06:28 +02:00
SourceDoctorandGitHub 73e2649712 Hardware examples SourceDoctor (#11680) 2020-05-25 02:10:16 +02:00
SourceDoctorandGitHub 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
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 <[email protected]>
2020-05-24 17:16:07 -05:00
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 <[email protected]>
2020-05-24 15:57:06 -05:00
Adam BishopandGitHub 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
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 <[email protected]>
2020-05-24 15:45:14 -05:00
UnknownandGitHub acd090da81 Corrected wrong path in documentation (#11675) 2020-05-24 13:51:52 -05:00
Tony MurrayandGitHub ee13299a77 Testing cleanup (#11677)
All tests use transactions
One test isn't a db test...
2020-05-24 13:49:01 -05:00
footstep86andGitHub 06c991ef57 Added FortiAuthenticator support (#11633) 2020-05-24 11:55:54 -05:00
footstep86andGitHub 9f82079e2c Added FortiSandbox support (#11593) 2020-05-23 21:41:02 -05:00
SourceDoctorandGitHub b89eb22cd5 Enumerate AlertState (#11665)
* Enumerate AlertState

* fix typo

* add missing use's

* .

* .
2020-05-23 21:14:36 -05:00
PipoCanajaandGitHub 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 MurrayandGitHub e7d954d7df Fix dev:check fail-fast not returning error (#11672)
Fix dantherm definition
2020-05-23 14:43:41 -05:00
PipoCanajaandGitHub 3c4751e3c7 Fix error breaking poller/discovery on my test machine (#11671) 2020-05-23 13:27:45 -05:00
PipoCanajaandGitHub b5c85775e4 Fix states for Dantherm (#11670) 2020-05-23 13:24:35 -05:00
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 <[email protected]>
Co-authored-by: Tony Murray <[email protected]>
2020-05-23 12:05:18 -05:00
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 <[email protected]>
Co-authored-by: PipoCanaja <[email protected]>
2020-05-23 18:51:34 +02:00
Tony MurrayandGitHub 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 MurrayandGitHub f1502a1727 ci should fail fast (#11666) 2020-05-23 08:51:26 -05:00
Tony MurrayandGitHub 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
TheGreatDocandGitHub 0b7373d973 Update Installation-CentOS-7-Nginx.md (#11629) 2020-05-22 20:27:16 -05:00
SourceDoctorandGitHub 9272cb3b92 Enumerate Alert Level (#11652) 2020-05-22 20:08:05 -05:00
Tony MurrayandGitHub 5fc3fcb9e8 Make migrations work in SQLite (#11643)
* WIP Sqlite

Down methods don't work either, avoid them with refresh for now.

WIP persistent support

WIP db_schema

WIP db_schema 2

Update new migrations...

revert dump_db_schema changes for now, too much difference.

fix migrations on mysql

fix up some more items, this should be our target schema
lots of index renames and a two misc changes

index rename WIP

index rename WIP

another round

fix up new schema changes

try case insensitive fix

Trying tests WIP

fix down methods

DBSetupTest working (uses mysql)

Test sqlite migrations work

* Properly validate sqlite output

* revert glue changes, should be separate PR

* remove dusk workaround

* remove unused variables

* import

* sqlite capitalization

* Revert some refresh tests

* testing_mysql back to testing
2020-05-22 16:49:21 -05:00
SourceDoctorandGitHub 5927983c50 Maintenance Mode via Device Settings (#11649) 2020-05-22 15:14:03 +02:00
cjwbathandGitHub 3c850fbcb2 Fix the PANOS HA state check alert rule from collection 2020-05-22 11:28:41 +02:00
Facundo CasellesandGitHub 2f86c66afa WebUI - Improved "dark" theme (#11417)
* -Real dark mode, (themed bootstrap)
-removed inverted colors in navbar

* Test data

* FIX: navbar in mono theme.

* Dark mode rrdtool

* Changed background on gridster to match background of the dark theme

* - Icons and links now are grey
- Modernized tabs style into pills,
- button pagemenu-selected fixed

* Improvements:
- bootgrid-th, are now visible (dark mode to the table headings)
- Changed line color of poller and ping in rrdtool

* Fix some codeclimate errors

* Fix airos.snmprec, reverted to original file
2020-05-21 19:04:54 -05:00
craig-nokiaandGitHub bffa46f34a Update the options for distributed_poller (#11655)
Added $config[] and enabled the remi repository for redis.
2020-05-22 01:16:56 +02:00
Heath BarnhartandGitHub e414352356 OSPF SNMP Trap Handlers (#11647)
* Intitial push working tests

* Adding unit tests

* created interface state unit tests

* started ospf nbr unit tests

* finished nbr change unit tests

* precommit checks pass

* removed uneccsarry relationship
2020-05-21 15:15:39 -05:00
footstep86andGitHub b71d933ac9 Updated FortiWeb support (#11632) 2020-05-21 15:14:56 -05:00