15846 Commits

Author SHA1 Message Date
Tony Murray
e18f4522d5 Update to Laravel 5.7 (PHP 7.3 support) (#9800)
* Move assets to 5.7 location

* Add 5.7 SVGs

* add cache data dir

* update QUEUE_DRIVER -> QUEUE_CONNECTION

* Update trusted proxy config

* update composer.json

* 5.5 command loading

* @php and @endphp can't be inline

* Laravel 5.6 logging, Nice!

* Update blade directives

* improved redirects

* remove unneeded service providers

* Improved debugbar loading

* no need to emulate renderable exceptions anymore

* merge updated 5.7 files (WIP)

* Enable CSRF

* database_path() call causes issue in init.php

* fix old testcase name

* generic phpunit 7 fixes

* add missed file_get_contents
Keep migrations table content

* fix duplicate key

* Drop old php versions from travis-ci

* remove hhvm

* fix code climate message

* remove use of deprecated function assertInternalType

* Disable CSRF, we'll enable it separately.
All forms need to be updated to work.

* Update document references
2019-02-12 17:45:04 -06:00
ipptac
25954ccda6 JunOS: Added Virtual Chassis Member Role Sensor (#9783)
* Added Virtual Chassis Member Role Sensor
2019-02-11 21:17:50 +01:00
aylham
cf1701624f Canopsis transport (#9795)
* Change in the Canopsis transport to make it 3.9.0 compliant and link to
the new documentation

* Add missing php72 module on Centos

* Fixing documentation for AMQP based tranport outside of the main doc
2019-02-11 09:46:09 -06:00
PipoCanaja
7e18a07088 FS.COM (Fiberstore) 'GBN' and 'SWITCH' devices support (#9734)
* Basic Support for Fiberstore devices

* Basic Support for Fiberstore devices

* mib files

* sysObjectID added

* mibs added

* MIB corrections + CPU discovery + version and SN

* CodeClimate + mempools

* CodeClimate + mempools

* mempools

* 5800

* testdata

* 5800

* tests

* mempools for 5800

* CodeClimate

* CodeClimate

* Cleaning and comments

* Tests for 5800

* CodeClimate

* Update Fs.php

* init processors[]

* optimized logo

* optimized logo

* optimized logo

* optimized logo

* split FS devices

* split FS devices

* split FS devices - tests

* split FS devices - class

* split FS devices - class

* split FS devices - tests

* removing un-necessry condition

* text and comments
2019-02-10 17:31:25 -06:00
Tony Murray
bc93d8c037 Fix php version notification removal (#9796) 2019-02-08 08:17:02 -06:00
Tony Murray
2310356f60 Fix whitespace (#9798) 2019-02-08 07:57:56 -06:00
PipoCanaja
c7c1ca2c5a Support for DKT Comega FTTx devices (#9732)
* DKT Comega device support

* DKT Comega device support

* DKT Comega device support

* DKT Comega device support
2019-02-07 14:58:56 -06:00
PipoCanaja
ccd9973695 Added support for EDS 1Wire devices (#9740)
* EDS support

* EDS support

* EDS support

* EDS support

* EDS support (tests)

* EDS support

* EDS support

* Adding DS18B20 sensors

* Adding DS18B20 sensors

* read tables separatly in precache instead
2019-02-07 14:16:15 -06:00
mbwall
6d55524484 Ignore disabled ports in minigraph view (#9737) 2019-02-07 13:24:20 -06:00
Neil Lathwood
6fdafd137c Deprecate PHP < 7.1.3 (#9645)
* Added validation and support for users on PHP < 7.1.3

* Branch name php56
2019-02-07 13:23:30 -06:00
Søren Rosiak
80f31b4831 Fix Arista interface bias current divisor (#9728)
* Remove exception

* Add test data

* Update arista_eos.json
2019-02-07 11:37:46 -06:00
Tony Murray
d2af4bef42 Fix alert log api (#9792)
* Fix alert log api
Can't send binary data through http :D

* fix whitespace
2019-02-07 09:42:16 -06:00
djamp42
9eaca7f9d6 Allow getCacheByIndex snmpflags (#9777)
* allow snmpflags getCacheByIndex

* Allow snmpflags to getCacheByIndex
2019-02-07 06:42:23 -06:00
Richard Mayhew
1f53e7658c Msteams (#9774)
Msteams consistent title
2019-02-07 01:24:58 -06:00
Tony Murray
91faa510cc Add automated responses for some labels (#9775) 2019-02-07 01:21:31 -06:00
tarik
0ae2ef1653 adding the processors dump for testing pull #9467 (#9780) 2019-02-07 01:17:53 -06:00
SirMaple
368e2c4b99 Update Applications.md (#9791)
* Update Applications.md

Added the directions for installing the Nagios check check_postgres.pl for the Postgres Application.

* Update Applications.md

Remove git building instructions and simply adding a link to https://github.com/bucardo/check_postgres.
2019-02-07 01:13:04 -06:00
Tony Murray
8d3a3c9a3e Handle unexpected os when loading yaml (#9790) 2019-02-06 14:24:39 -06:00
Tony Murray
61a48fbdd2 Fix schema validation and os def cache invalidation (#9789) 2019-02-06 10:53:25 -06:00
Tony Murray
86b820a11a Fix missing config setting in DB seed alert.transports.mail (#9787)
* Fix missing config setting in DB seed alert.transports.mail

* Update DefaultConfigSeeder.php
2019-02-06 08:48:58 -06:00
Tony Murray
964235a82b Restore gitignore file contents (#9784)
* Restore gitignore file contents
Set permissions to 664
Add tests to check existence, mode, and size of .gitignore files

* add trailing line return

* git only cares about executable bit, just check that.

* define gitignores separately
2019-02-06 06:57:44 -06:00
CoMMyz
2b4d8fc541 Port exists check in eventlog (#9778)
Check if port exists before getting the label as some ports may have events but then removed and this can break eventlog page.
2019-02-05 17:01:06 -06:00
Tony Murray
e5eb32c4a9 Migration fixes (#9776)
* add migrate:install to lnms, but hide it

* Fix Database migration validation

* remove extra import

* Don't allow install to continue if db build fails
2019-02-05 16:50:51 -06:00
Martijn Schmidt
49f206f58e Fix regression in VC hardware detection for JunOS (#9772)
PR #9546 has resulted in Platform being detected as
"Juniper Virtual Chassis Switch" when a set of devices
is stacked. Hence, no more possibility to see whether
it is for example an EX2300 or EX3400 virtual-chassis.

This commit falls back to using rewrite_junos_hardware()
if the "Juniper Virtual Chassis Switch" string is detected
in boxDescr, resulting in usable hardware data.

Caveat - it's possible to build a virtual-chassis of
multiple switch models, but only for higher end hardware:

https://www.juniper.net/documentation/en_US/junos/topics/concept/virtual-chassis-ex4200-overview.html#jd0e75

Example SNMP output:
mschmidt@nlrtm1-librenms1:~$ snmpwalk -v2c -cremoved -m JUNIPER-MIB -M /opt/librenms/mibs hostname jnxBoxDescr
JUNIPER-MIB::jnxBoxDescr.0 = STRING: Juniper Virtual Chassis Switch

Also reported previously via the community forums:
https://community.librenms.org/t/pr-9546-results-in-junos-platform-detection-quirks-in-combination-with-virtual-chassis/6537
2019-02-04 08:55:31 -06:00
Lucas Dousse
0b1c737659 Add conditions for bgp admin status = stop (#9773)
I propose this change so that bgp sessions down volunteer is not on alert
2019-02-04 08:52:26 -06:00
ipptac
db488807e4 New Device: Bluecat Networks appliances (#9758)
* New Device: Bluecat Networks appliances
2019-02-03 07:57:20 +01:00
TheGreatDoc
712824ac53 Merge pull request #9770 from murrant/proxmox-dupe-function
Prevent error with multiple proxmox
2019-02-03 07:35:24 +01:00
Vitali Kari
650e3054cc Added Nokia DHCP MIB (#9771)
Added Nokia DHCP MIB for properly resolve traps
2019-02-03 07:33:47 +01:00
Tony Murray
b1f9a2531d Prevent error with multiple proxmox
Duplicate function error
2019-02-01 09:03:16 -06:00
TheGreatDoc
57aec11aad Update Poller Support.md (#9769)
Updated the correct way to disable a module in a device from webui.
2019-02-01 07:22:53 -06:00
Tony Murray
431b645303 change polling code to use models (#9766) 2019-01-31 10:40:20 -06:00
Vitali Kari
65e766156f Add Raisecom Sensors (#9738)
* update some mibs

* extend snmpwalk_cache_twopart_oid function

* add raisecom dbm and temperature sensors

* add test data

* add some more sensors

* Update raisecom.inc.php

* Update raisecom.inc.php
2019-01-30 21:34:15 -06:00
FTBZ
687a390ee9 doc: add information about auth modules (#9760) 2019-01-30 21:02:18 -06:00
Tony Murray
c4ca7a4f1f Fix os loading issues (#9763)
* Fix os loading issues

* remove inaccurate debug message
1.48.1
2019-01-30 14:53:43 -06:00
Tony Murray
f13caae2e0 Merge pull request #9761 from murrant/278-more
* add more index names to 278.sql
* don't create 1000.sql migration table if it exists
2019-01-30 16:56:05 +01:00
TheGreatDoc
83a53d7cd5 Merge pull request #9754 from murrant/snmp-hide-fix
fix snmp debug clipping off quote when obscuring data
2019-01-29 16:43:18 +01:00
Tony Murray
9b0a427ab0 Update common.php 2019-01-29 07:40:15 -06:00
Tony Murray
7d48c81273 fix snmp debug clipping of quote when obscuring data 2019-01-28 15:41:50 -06:00
Tony Murray
60a39caa35 Bump version to 1.48 1.48 2019-01-28 11:30:17 -06:00
Tony Murray
0211ed043f Changelog for 1.48 2019-01-28 11:30:16 -06:00
Tony Murray
f811dac532 Include version bump in release script (#9751)
* Include version bump in release script

* Commit message

* fix whitespace
2019-01-28 10:55:37 -06:00
Tony Murray
eb59287d34 Fix devices page search & OS loading (#9752)
* Fix devices page search

* add a definition_loaded flag to prevent false positives for already loaded OS

* Fix copy paste error

* and another
2019-01-28 10:37:41 -06:00
TheGreatDoc
61f7046b60 Merge pull request #9749 from gpant/issue-5659
Added Mattermost Transport
2019-01-28 16:03:58 +01:00
Tony Murray
dc6ff2a323 lnms bash completion (#9747)
* lnms bash completion
Initial version

* fix style

* Refactor for readability
Include default options for all commands

* fix php5.6
always show - options
2019-01-28 08:45:47 -06:00
George Pantazis
b6c1048c36 Added Mattermost Transport 2019-01-28 11:36:05 +02:00
tarik
5197074c4d adding temp/humidity sensors for raritan px2 (#9719)
* adding temp/humidity sensors for raritan px2

* fixing the divisor logic for threshold values of raritan temp sensor

* removing debug's statements and fixing a static check warning

* fixing the bool/str comparison with exact string comparison

* Create raritan-pdu_px2_temp.json
2019-01-27 08:33:28 -06:00
TheGreatDoc
a0e33a6703 Merge pull request #9743 from librenms/revert-9711-issue-5659
Revert "Mattermost Alert Transport"
2019-01-26 08:31:24 +01:00
TheGreatDoc
75927c8389 Revert "Mattermost Alert Transport (#9711)"
This reverts commit 09d500812ea0bfa1e7a935af09b7d9e060a0e09a.
2019-01-26 07:59:04 +01:00
TheGreatDoc
b7ae282848 Revert "Added Alerta Alert Transport (#9673)"
This reverts commit 4ed8f67e0dffe1cd18ab5bddd6a6b3046e2fe45d.
2019-01-26 07:59:04 +01:00
GitStoph
4ed8f67e0d Added Alerta Alert Transport (#9673)
* Added Alerta Transport option.

* fixed a couple codacy requirements

* Update Alerta.php
2019-01-25 15:37:27 -06:00