16030 Commits

Author SHA1 Message Date
8f6b58a90d Update color index to fix mysql graphs (#9910)
* Added an additional color in 'mixed' because of the mysql display using mixed[7] and failing because the array didn't have enough elements

* Moved color to the end of the array to not make other colors change
2019-03-05 21:08:05 +01:00
0aded95985 Fix ldap/ad auth anon-bind (#9905) 2019-03-05 12:14:21 -06:00
57be00b82a Updated OSPFV3-MIB and moved to right place (#9907) 2019-03-05 18:02:20 +01:00
920a3a7745 Fixes to composer_wrapper proxy handling (#9819)
* Fixes to composer_wrapper proxy handling

* Use curl

* Use curl for both fetch

* Use curl for both fetch

* Update composer_wrapper.php
2019-03-05 01:07:12 -06:00
35e24d9b2e Add Debian instruction (#9788)
Install instruction for the poller service under Debian
2019-03-05 00:48:01 -06:00
65fba42306 Dantel WebMon Device Support (#9767)
* Dantel WebMon Support

Webmon tep discovery changes

Fix Code Climate Issues

* WebMon - Move MIB to folder and create json reference

* Minor changes to Webmon polling
2019-03-05 00:46:00 -06:00
f4a33c1a34 Prevent credentials from being leaked in backtrace in some instances (#9817)
* Prevent credentials from being leak in backtrace in some instances
Particularly before the user is authenticated

* fix test
2019-03-05 00:24:14 -06:00
e17f47a329 Added VRP stack member and ports discovery (#9891)
* VRP stack ports

* Add test data
2019-03-05 00:23:25 -06:00
489666ae74 Add support for Moxa EDS-G512E-8PoE (#9857)
* Add support for MOXA EDSG512E8-PoE

* Add support for MOXA EDS-G512E-8PoE

* Add support for MOXA EDS-G512E-8PoE

* Remove whitespace

* Create MOXA-EDSG512E8POE-MIB

* Delete MOXA-EDSG512E8POE-MIB

* Create MOXA-EDSG512E8POE-MIB

* Delete MOXA-EDSG512E8POE-MIB

* Create MOXA-EDSG512E8POE-MIB

* Update moxa-etherdevice.yaml

* Create moxa-etherdevice_edsg512epoe.snmprec

* Create moxa-etherdevice_edsg512epoe.json

* Add support for MOXA EDSG512E8-PoE

* Add support for MOXA EDS-G512E-8PoE

* Add support for MOXA EDS-G512E-8PoE

* Remove whitespace

* Create MOXA-EDSG512E8POE-MIB

* Delete MOXA-EDSG512E8POE-MIB

* Create MOXA-EDSG512E8POE-MIB

* Delete MOXA-EDSG512E8POE-MIB

* Create MOXA-EDSG512E8POE-MIB

* Update moxa-etherdevice.yaml

* Revert "Add Moxa EDS-G512E-8PoE test data"

* Add test data for Moxa EDS-G512E-8PoE

* Removed whitespace

* Update moxa-etherdevice_edsg512epoe.json

* Update moxa-etherdevice_edsp510a8poe.json
2019-03-05 00:19:16 -06:00
7e71d2e11f webui: Allow admins to add/remove/create sticky notifications (#9865)
* webui:
Allow admins to add/remove/create sticky notifications
Added auth error to ajax form - notifications
	$status is already 'error'

* fix: code style

* remove demo check
2019-03-04 21:34:58 -06:00
4599b36b25 Access to "sub" index (when OID has multiple indexes) (#9893)
* accessing in YAML each part of the index in case oid has more than one

* accessing in YAML each part of the index in case oid has more than one

* accessing in YAML each part of the index in case oid has more than one

* accessing in YAML each part of the index in case oid has more than one

* accessing in YAML each part of the index in case oid has more than one

* accessing in YAML each part of the index in case oid has more than one

* accessing in YAML each part of the index in case oid has more than one

* Codeclimate

* Initialisation + comments

* Like this
2019-03-04 21:17:14 -06:00
b402e859fd Fix Cisco Sat style (#9902)
* Fix Cisco Sat style

* update index
2019-03-04 21:12:12 -06:00
d13d370711 Update Web UI debug FAQ (#9816) 2019-03-04 23:51:22 +01:00
8c5f86f32d Add Device - Cisco Sat Receivers (#9899)
* Cisco Sat Receiver

* Formatting Fixes

* Code Climate Fixes

* Add $entry field in the last array.

* Formatting Fixes

* Updated to correct S/N was grabbing wrong OID.

* Update test data for missing serial #

* Updated Serial # test data
2019-03-04 16:08:11 -06:00
80d0a23e8f Add data scrubbing state to Synology RAID status (#9661)
* Add data scrubbing state to Synology RAID status

Adds a new state translation to Synology DSM RAID status sensor, so it displays "DataScrubbing" while the operation is running. Previously it would just show "# 13".

* Update Synology RAID MIB

Downloaded from
https://global.download.synology.com/download/Document/MIBGuide/Synology_MIB_File.zip
2019-03-04 16:06:12 -06:00
7f104d4fd9 Advanced state sensors (#9881)
* refactor: advanced sensor states

mark create_state_index($state_name) as E_USER_DEPRECATED?

* fix: minor corrections

* fix: mib has partialSync(9) and incompatibleVersion(8)

* fix: corrected netagent2upsstate - Sleeping(5)

* fix: NetAgent2 upsThreePhaseUPSStatusInverterOperating correction

* refactor: array() be gone

* Refactoring includes/discovery/sensors/state/extendair.inc.php with arrays
And tidying up array formatting in other files

* fix: minor typo

* standardising array item names

removed redundant "if ($state_index_id !== null) {"

* workaround: procurve & serverscheck

a sensor is causing create_state_index($state) to return null.
The updated code doesn't allow for this and thus a hybrid is being used.

* standardised naming of state info. Caused a typo $state_name instead of $status_name
$state_name is the standard

* converted compas to square arrays

* Converted APC states using preg_match to new create_state_index() call

* Update boss.inc.php
2019-03-04 11:31:17 -06:00
09caced7ef Add support for Infinera-Coriant Groove (#9843)
* Add support for Infinera Groove
2019-03-04 17:31:53 +01:00
411f36a9a1 Bump version to 1.49 1.49 2019-03-03 21:37:13 -06:00
8f310c0769 Changelog for 1.49 2019-03-03 21:37:10 -06:00
218b6b8e58 Update Example-Hardware-Setup.md (#9897)
Added our system specs, along with my development environments
2019-03-03 22:40:15 +01:00
51ed81961b Merge pull request #9895 from githubuserx/develop
docs: fix link missing parenthesis
2019-03-03 09:52:57 +01:00
2fc142e9e3 docs: fix link missing parenthesis 2019-03-02 21:43:02 +01:00
15aee15388 Alertmanager fix 2 (#9860)
* Improved Alertmanager transport

* Typo fix

* Fix according to Travis fail
2019-03-01 23:09:25 -06:00
e677d4b63e Fix incorrect icon sometimes (#9887)
* Fix icon finding
Also fix os suggest not loading all OS.

* Fix os that would have missing icon under the new code (and one under the old code)

* forgot icon
2019-03-01 23:06:01 -06:00
7c4a0c7244 Try to fix some of the Component code (#9888)
https://community.librenms.org/t/devices-list-stuck-at-loading/7396
2019-03-01 08:13:32 -06:00
49f01970c5 add support for sagemcom (#9835)
* adds support for sagemcom

* requested changes

* delete unused variable

* logos

* modules fine tuning

* code style

* Update sagemcom.svg

* Update sagemcom.svg
2019-03-01 08:08:04 -06:00
e82f1fc316 VRP: add fan description to hwEntityFanState (#9863)
* VRP: add fan description to hwEntityFanState

* tests
2019-03-01 06:03:53 -06:00
3ad698ff98 Added edgeos hardware info (#9867)
* added hardware info
cleanup os version

* allow minor revision to be larger than 9

* Update edgeos.inc.php

* snmprec

* Create edgeos.json
2019-03-01 01:00:01 +01:00
3c0d0c9fba Added support for Alpha Comp@s (#9871)
* newdevice: Added support for Alpha Comp@s
http://www.alphainnovations.eu/compas

* fix: Updated state values
state values persist in database, even after deletion of devices.
Not a 100% how to purge them.
create_state_index($state_name, $states) doesn't update the database, if the states have changed

* refactor: comp@s OS state sensor now updated to latest format
2019-03-01 00:14:17 +01:00
1ea3fdd70a Discovery rcChasPowerSupplyOperStatus for Extreme/Avaya (#9878)
* Update voss.inc.php

* Update voss.inc.php

* Update voss.inc.php

* Update voss.inc.php

* Update voss.yaml

* adding support for vsp9012 and vsp8608

* Add files via upload

* Add files via upload

* Add files via upload

* Delete voss_8608.json

* Delete voss_8608.snmprec

* Delete voss_9012.json

* Delete voss_9012.snmprec

* Add files via upload

* Add files via upload

* Delete voss_vsp-9012.json

* Add files via upload

* Add files via upload

* Add files via upload

* Delete voss_vsp-9012.snmprec

* Add files via upload

* Delete voss_8608.json

* Delete voss_8608.snmprec

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload
2019-03-01 00:11:37 +01:00
b336cab8e8 Merge pull request #9886 from PipoCanaja/errorMibPlaceFS
Misplaced mib file when adding FS.COM support
2019-02-27 20:39:35 +01:00
2547c3b657 misplaced mib during FS.COM support 2019-02-27 18:32:21 +01:00
ee7605742f Fixed edgeswitch v1.9 os detection (#9868)
* fix edgeswitch os defitions for next os version

* cleanup
2019-02-25 22:16:03 +01:00
8929cdb458 Added Perle OS Support for IOLAN SCS (#9866)
* Sync Git to Master

* OS Support for Perle Terminal Servers. Added via /scripts/new-os.php. Tested on two devices

* There was an existing Perle OS, updated it to include the Perle IOLAN SCS model .1.3.6.1.4.1.1966.12. Removed Files the script created that were no longer needed

* There was an existing Perle OS, updated it to include the Perle IOLAN SCS model .1.3.6.1.4.1.1966.12. Removed Files the script created that were no longer needed. Round 2

* Update exiting includes/definitions/perle.yaml to catch all device by Perle. Removed the .gitignore files from the branch

* Git Add includes/definitions/perle.yaml helps

* Empty file not allowed in YAML verification

* restore missing files

* restore missing files

* restore missing files

* Restore the sysDescr

The existing testdata relies on this, as sysObjectID is not collected
2019-02-25 14:15:51 +01:00
4eb493716c Merge pull request #9872 from SirMaple/patch-1
Added new install to example hardware setup
2019-02-25 07:52:01 +01:00
c6c3a2b3a7 Update Example-Hardware-Setup.md
Added the specs of my setup.
2019-02-24 16:49:18 -07:00
48ed665963 Merge pull request #9869 from cppmonkey/RRD-Warning
Fixed validator for rrd folder permissions
2019-02-24 23:02:44 +01:00
fd2bd62f57 fix: removed curly bracket from end of the command 2019-02-24 21:20:17 +00:00
96d65d1cc3 Extra daily.sh safety (#9821)
If the php update channel check fails, it returns an error code 255...
This isn't handled by daily.sh, so it doesn't update code at all.

If updates are disabled (0), skip.
If master (1) or in the php version jail do a git pull update
Otherwise update to the latest tagged release

This should give a "safe" fallback if php isn't working.  Might cause flipping back and forth if the user's error isn't (or can't be) fixed by code changes.
2019-02-24 15:47:06 +01:00
5d3a286833 Fix MyPowerOS mempools (#9861) 2019-02-22 23:02:21 +01:00
99c8dbd5a1 Added power and fan sensors to VRP (#9838)
* added power and fan sensors to vrp

* Update vrp.yaml

* Update vrp.yaml

* Update vrp_5720.snmprec

* Update vrp_5720.json

* Delete vrp_5720.snmprec

* Delete vrp_5720.json

* revert old snmprec file for 5720

* revert old json file for vrp 5720

* Create vrp_5720_32x.snmprec

* Create vrp_5720_32x.json

* Update vrp_5720_32x.snmprec

* Update vrp_5720_32x.json

* Update vrp_5720_32x.snmprec

* Update vrp_5720_32x.json

* Update vrp_5720_32x.snmprec

* Update vrp.yaml

* Delete vrp_5720_32x.json

* Delete vrp_5720_32x.snmprec

* Add files via upload

* Add files via upload

* Update vrp_5720.json
2019-02-22 07:39:07 -06:00
914531a28f Fix display of rrdtool command using the existing dedicated function (#9846)
Sanitize the command before printing it
2019-02-21 22:27:15 +01:00
c60d9aeca7 Clarification in the migrating server process (#9848)
Slight formatting and clarification improvements in instructions for migrating servers.
2019-02-21 22:26:00 +01:00
b5714820de Improved Exception handling (#9844)
* Update LibreNMS exception output
Use built-in laravel exception rendering.
DuskUnsafeExcpetion is triggered before Blade(view) is booted, so, try to boot it

* Cleaner blade registration

* Change 500 error page to generic LibreNMS error page.

* Handle generic exceptions from laravel better.

* Custome LdapMissingException

* Cleanup, don't need to override convertExceptionToResponse anymore

* Update unauthenticated code to current upstream style

* UpgradableException interface

* LdapMissingException extend AuthenticationException

* Code climate cleanups

* Fix code style
2019-02-21 12:08:35 -06:00
fffd468c2d Email should be options in lnms user:add command (#9841) 2019-02-21 11:05:49 -06:00
e2f835ad9d FDB table with history capabilities (#9804)
* Migration script and data feeding

* Adding the columns in the GUI

* build schema

* update FDB test data

* Use of timestamps()

* ignore created_at and updated_at in tests, and regenerate test impacted

* daily.sh does the cleaning

* space cleaning codeclimate

* Use carbon instead of str-val

* handle when $fdb_entry->updated_at and created at are null

* handle when $fdb_entry->updated_at and created at are null (force travis rerun)

* Doc update

* Doc update
2019-02-21 13:23:01 +01:00
c892f4fc85 docs: Readme update the bug report link (#9850)
report link to the Community site.
2019-02-21 13:16:19 +01:00
2eac72d34b Added support for Protelevision DVB-T Transmitter (#9648)
* Create protelevision-t1.yaml

* Create protelevision-t1.yaml

* Create PT-MIB

* Create PT3080-MIB

* Add files via upload

* Create protelevision-t1.snmprec

* Create protelevision-t1.json

* Create protelevision-t1.inc.php

* Add files via upload

* Delete protelevision.png

* added indexes to dbm sensors

* Update protelevision-t1.yaml

* added On Air TS Bitrate

* Update protelevision-t1.yaml

* added more sensors

* Update ProtelevisionT1.php

* Update protelevision-t1.yaml

* Update protelevision-t1.yaml

* Update protelevision-t1.yaml

* Update protelevision-t1.snmprec

* Update protelevision-t1.json

* Update protelevision-t1.yaml

* Update protelevision-t1.snmprec

* Update protelevision-t1.json

* added more sensors and grouping of state sensors

* Add files via upload

* Update protelevision-t1.json

* Update protelevision-t1.json

* Update protelevision-t1.snmprec

* Update protelevision-t1.yaml

* Update protelevision-t1.json

* Update protelevision-t1.json
2019-02-19 00:39:16 -06:00
0a56fc4694 Restore alert template converter for a while longer (#9845) 2019-02-19 00:33:51 -06:00
06d61fc528 For some reason, this is now broken. Accessing the array this way fixes it. I suspect it has something to do with the periods in the host names (#9839) 2019-02-18 22:57:33 -06:00