Commit Graph

16530 Commits

Author SHA1 Message Date
robertobru
4e2d227c72 Update riello.yaml to add the oid for the Netman 204 boards as in issue #10576 (#10725)
* Update riello.yaml

* Create riello_204.snmprec
2019-10-21 01:21:43 +00:00
jozefrebjak
7662856bf3 Added NetApp E2700 Discovery (#10668)
* Added NetApp E2700 Discovery

* Update netapp_e2700.snmprec

* Add test data
2019-10-21 01:19:01 +00:00
Justin Hayes
48d4273267 Add support for Illustra network cameras (#10721)
* Create illustra.yaml

* Create illustra.inc.php

* Add illustra.png

* Add illustra.png

* Create illustra.snmprec

* Create illustra.json
2019-10-21 00:52:35 +00:00
Ngo Quang Hoa
caaa6a97bc Update Alerta.php (#10684) 2019-10-21 00:50:11 +00:00
Jellyfrog
c76e95d343 Markdown linting of docs (#10595)
* Remove trailing spaces

* Markdown linting of docs
2019-10-21 00:47:40 +00:00
pobradovic08
7f32af4f7b Add CISCO-IF-EXTENSION port stats for IOS/IOS-XE (#10644)
* Add CISCO-IF-EXTENSION polling and graph

* Added test data

* Code style

* Move CISCO-IF-EXTENSION-MIB to cisco mib dir

* Test data?

* Recollect test data again

* ios-xe variant 'ports' with ports test data

* Removed unnecessary test data
2019-10-21 00:39:14 +00:00
Hans Erasmus
38febff1ec Add memcached to DS-docs (#10715)
* Add memcached to DS-docs

As per request from @murrant in Discord, here is a small update on the Dispatcher service still needing a central memcached

* Update Dispatcher-Service.md

* Update Dispatcher-Service.md
2019-10-20 23:15:25 +00:00
Justin Hayes
44ba46e2d5 Update Transition Networks support (#10714)
* Create transition.inc.php

* Update transition.inc.php

This file was copied from another existing file with only the OID changed originally. Cleaned up to remove unnecessary clumsiness.

* Update transition.snmprec

* Update transition.json
2019-10-20 23:14:43 +00:00
Tony Murray
1d7347dd62
Validate config schema, add types to all (#10723)
* Vaildate config_definitions.json schema

* finish adding types and other cleanups
2019-10-20 23:08:40 +00:00
sorano
b18839f00b Add sysObjectID for Riello netman 204 firmware 02.17 (#10641)
* Add sysObjectID for Riello netman 204 firmware 02.17

Add sysObjectID for Riello netman 204 firmware 02.17

* Create riello_new.snmprec
2019-10-20 23:07:29 +00:00
joseUPV
e0cff12f69 Better Support of Alcatel Switches (#10672)
* Added model, processor, fan and power supply for Alcatel Omnistack Switches

* Removed Index from description of Fan and power supply

* Merged PR #10655

* Added Temperature Sensor for AOS7+ Alcatel Enterprise Switches

* Added AOS7 mempools

* Added Tests

* Update aos.yaml

* Update alerts levels in state sensors

* Add test data
2019-10-20 22:26:21 +00:00
Tobias Heister
728bc5f790 Improved RARITAN PDU/PDU2 MIB (current, power) and external env. sensors (#10616)
* added support for PDU/PDU2 MIB data (current, power) and added external sensor fpr humidity and temperature on PDU MIB

* added test data of 1 PDU-MIB device and 1 PDU2-MIB device

* Create raritan-pdu.json

* forgot to do save-data on last commit
2019-10-20 21:26:40 +00:00
jozefrebjak
a782efe7fd Include setting nfsen binary path in NfSen docs (#10707)
* Update NFSen.md

* Update NFSen.md

* Update NFSen.md
2019-10-20 15:31:38 +00:00
Garel Leo
7bebd6ba4a api: add hostname search for list_devices function (#10652)
* api: add domain type for list_devices function

api: add domain type query for list_devices

undo librenms-docker specification.

* api: list_devices change domain query by hostname. fix to search pattern in hostname

* Update Devices.md
2019-10-20 15:18:10 +00:00
Vitali Kari
e40a336315 add mempool_perc_warn level (#10722)
* add mempool_perc_warn level

* add test data
2019-10-19 20:38:23 +00:00
Tony Murray
8e1a27eae6
Fix service overview (#10709)
* Fix services device overview widget display

* Add order by
2019-10-19 05:25:30 +00:00
Tony Murray
70bef05c97
Allow different config sources to completely override a setting from the previous (#10719)
* Allow different config sources to completely override a setting from the previous
This is an issue with array settings.  The previous code would merge the two arrays together, possibly leaving artifacts behind.

* Missed one
2019-10-19 05:24:07 +00:00
Tony Murray
1501f43b83
Update Dynamic-Config.md 2019-10-17 14:03:48 -05:00
Tony Murray
f9b704cb29
Add distributed polling config settings (#10711)
Show error on cli when type or validation is not set
2019-10-17 18:32:27 +00:00
Wouter Groenewold
b6f26f6e80 Syntax fix (#10710) 2019-10-17 17:23:47 +00:00
Tony Murray
31dad0aaa7
Add lnms commands to get and set config settings (#10534)
* add lnms commands to get and set config settings
lnms config:get and lnms config:set
Note: you cannot override settings in config.php

* Update to check setting exists and value validation rules.
2019-10-17 17:22:43 +00:00
Tony Murray
6c88436dce
Fix mini graph order (#10708)
* Fix mini graph order

* oops, added twoday
2019-10-17 14:35:09 +00:00
Tony Murray
bc6dda75b7
Fix oxidized (#10706) 2019-10-17 12:05:39 +00:00
Tony Murray
01e07e24b6
Restore base_url base tag (#10705) 2019-10-17 11:38:53 +00:00
theochita
25e8de30c1 Implement Oxidized "config search" as an API (#10648)
* Implement Oxidized config search as API

* Add Oxidized config search DOC.

* Update Devices.md

* change /configsearch/{searchstring} to /config/search/{searchstring}

* Update Devices.md
2019-10-17 02:46:44 +00:00
Tony Murray
439a737de8
Fix ldap groups not being overridden (#10700) 2019-10-17 01:11:05 +00:00
louis-oui
d3d34a7f4d https://github.com/librenms/librenms/issues/10686 (#10687) 2019-10-17 00:33:53 +00:00
joseUPV
10870bd1c8 Corrected Os detection of Nortel Baystack 3510 (#10689) 2019-10-17 00:24:49 +00:00
Justin Hayes
2a8f9ca160 Update unix.inc.php (#10698) 2019-10-17 00:11:04 +00:00
hartred
3c25551a93 Update Slack.php add emoji and username support (#10695)
* Update Slack.php add emoji and username support

* Update

* Update
2019-10-16 23:52:36 +02:00
Tony Murray
699aa8a042
Consolidate configuration settings and implement dynamic webui settings (#9809)
* initial db/defaults dump

* numeric values

* Remove $config['time']

* Use config_definitions.json

* try setting definition as a complete array

* a little more

* fix format

* WIP converting dynamic setting pages

* rewriting the webui

* remove legacy and add translations

* finish email section

* improve navigation
update js a bit

* Import the remaining existing settings

* Update backend still some wip
migration

* fix config loading (db not overriding defaults)

* some cleanup

* more array collapsing

* update settings

* Settings search

* add purge settings to ui, order groups and sections

* collapse more arrays

* Auth definitions WIP

* remove needless slash escapes

* add warning to json

* moving settings from defaults.inc

* remove slow_statistics

* Move rrdtool settings to the poller section

* Use translations more consistently

* removing more settings from defaults.inc.php

* show setting name in tooltip

* allow help text to be shown on mobile

* disable settings that are set in config.php

* Implement undo and reset to default.

* Vue.js functional

* Vue.js WIP

* Implement tabs component

* accordion WIP

* lodash ver update

* two items

* Accordion somewhat working

* hash navigation

* Refine Accordion

* Fix up tab styling a bit

* Cleaner tab selected property
Hide html while loading

* spinner?

* Icon support
property for accordion to active

* WIP

* Tabs/Sections from ajax

* Setting Component skeletons

* Dynamic Component resolution

* Basic functionality

* toggle class

* Refactor components

* translate tabs and accordions

* simple array attempt

* improve readonly tooltip

* array styling

* array value editing

* organize snmp info

* Handle initial tab/section in url

* Use Laravel to parse tab/section, dump old

* Draggable array entries

* v-tooltip, for clickable (and touch) help tooltips
disable draggable

* Navigation WIP

* Navigation WIP

* groups computed

* filter settings

* fix event reference

* vue.js i18n initial

* missing description = just setting name

* en fallback

* tidy up the language support and js generation

* persist value to db

* fix issue with 0

* Delete settings from DB instead of setting them to default

* ldap-groups
fixup style

* Default dashboard selection

* fix array of options instead of object

* allow custom validation for settings

* translate options in SettingSelect

* SNMP v3 WIP

* fix setting arrays

* Split persist out of set

* Hook up events for SNMP v3 Auth
correct Config::persist behaviour with arrays

* dependent settings (primitive for now)
actually update the settings values in the LibrenmsSettings component

* more complex "when" behaviour

* remove un-needed seeder

* add poller_modules.cisco-qfp

* remove en.json (disable warning)

* don't set default for log_dir or log_file, otherwise it won't be processed correctly

* Fix module order
add some missing settings

* more config corrections

* correct graphs
correct loading values set to null (although it should have no difference)
remove project_name_version

* Add nfsen settings.  Docs are very confusing, so might have flubbed something
remove option for array definition of select option as numeric indexes messes it up

* Correct more upstream config differences

* Config cleanup after a bunch of merges.

* Fixes

* add version tags to js/css files
remove old js

* Print out full settings list read-only

* Add http_proxy setting
fix indents in config_definitions.json

* repeaters default is 0 (aka 20)

* cleanups

* rewrite the dynamic config docs

* add language docs

* Don't show snmp v3 auth add/remove if disabled by config.php
2019-10-16 21:22:05 +00:00
Tony Murray
750b19f3e8
Fix issue when non-existent plugin is enabled (#10699) 2019-10-16 21:18:17 +00:00
Tony Murray
99b29ef20c
Remove update=0 in distributed poller docs (#10681)
That is separate from distributed poller and should be set based on user preference.
2019-10-16 16:08:17 +00:00
Tony Murray
1f483c5318 Fixed duplicate ping response causing false down (#10692)
* Fix duplicate ping response showing false down
Log event that duplicate was detected
Escape fping cli parameters
add unit test

* Update FpingTest.php
2019-10-16 09:36:54 +01:00
SourceDoctor
2fe392f330 alphabetic sorting of global settings view (#10678) 2019-10-14 02:22:16 +00:00
Tony Murray
447277fd10
Fix junose test data non-incrementing (#10679) 2019-10-14 01:58:35 +00:00
Tony Murray
63442e8b4a
Refactor tests (#10625)
* Refactor tests
Boot Laravel for all tests.
Config use private static property for storage instead of global

* Backup/restore modules

* disable snmpsim log

* Fixing DBTestCase

* Fix macros loading to the wrong place

* trap and other tests should check if db is available

* don't include snmp.inc.php if mock.snmp.inc.php is already included...

* fix migration

* if we don't reset the db, run migrations at least.

* set vars for migrate too

* Fix style

* ignore issues with undefined indexes in legacy code
2019-10-13 13:40:38 +00:00
Anael Mobilia
4cf584b425 Improve migration informations (#10673)
* Improve migration informations

* Generalization for modified files
2019-10-11 05:56:43 -05:00
Tony Murray
e046ccde2d
Rename RutOS 2xx pinState state sensor to avoid conflict (#10675)
with rutos PinState state sensor
2019-10-11 04:10:50 +00:00
dGs-
80e138fa40 removed the ksort block as it was not working (#10674) 2019-10-11 01:32:25 +00:00
pedjaj
a19a18492e Added support for RedLion N-Tron 714FX6 industrial switch (#10617)
* Add files via upload

add icon for REDLION

* Add files via upload

Add Device REDLION ntron 716FX6

* Add files via upload

* add device redlion ntron 714FX6

* Delete ntron.yaml

* Add nev device RedLion N-Tron 714FX6

* Update ntron.yaml

* additional snmp data redlion ntron714fx6

* Rename ntron714fx6.mib to NTRON714FX6-MIB

* Create ntron.json

* Update os_schema.json
2019-10-10 14:09:45 +02:00
Tony Murray
ef38f099c6
Fix DSM DS916 test snmp data (#10667) 2019-10-10 04:35:39 +00:00
Brian Peters
ae84049108 Update SNMP-Configuration-Examples.md (#10662)
Minor notes.
Firewalld settings for RHEL 7
2019-10-09 00:32:02 +00:00
SourceDoctor
d779d970ed sort app overview RRDs by hostname (#10663) 2019-10-09 00:25:22 +00:00
joseUPV
ca281ec12a Better Model detection of Old 3Com devices (#10660) 2019-10-09 00:11:12 +00:00
Orsiris de Jong
6cca8c6e6f Remove default temp dir already set in LibreNMS/Config.php (#10654) 2019-10-07 21:29:51 +00:00
Jellyfrog
00d05ff078 Optimize docs picture size (#10657) 2019-10-07 21:28:06 +00:00
Jellyfrog
8b329a18a1 Optimize logo sizes (#10656)
by reducing colors
2019-10-07 21:27:23 +00:00
jozefrebjak
f07651a2eb Added Teltonika Rutos-2xx wireless sensors (#10646)
* CodeClimate Fix

* Added Teltonika Wireless Sensors

* Removed HiveOS local changes

* cleanup

* Update Rutos2xx.php

* typo fix

* Blank Line Fix

* Travis FIX

* White Space Fix
2019-10-07 13:16:51 +00:00
Tony Murray
be04388137
Store config data serialized (#10651)
* Store config data serialized
This way we can store null, booleans, and more reliably.

* Use model to get the mutated output.

* fix whitespace and unused function

* use json_encode/decode and casts
migration to transfer

* json_encode JSON_UNESCAPED_SLASHES

* Use JSON_UNESCAPED_SLASHES.  That is only relevant if you are printing into an HTML page.

* pre-encode the seed...

* filter other fields besides config_value
2019-10-06 21:51:22 +00:00