Commit Graph

5611 Commits

Author SHA1 Message Date
Jellyfrog
86220eed9e
Add more types to settings page (#11918)
* Add a executable type to settings page

This allow us to validate the value is a valid executable

* Add a directory type to settings page

This allow us to validate the value is a valid directory

* fixes
2020-07-21 20:51:23 -05:00
NotARobotDude
912247f2f0
Change text from black to white availability-map (#11946)
Before :
https://pasteboard.co/JiqHdlA.jpg

After : 
https://pasteboard.co/JiqIsoT.jpg
2020-07-20 00:54:10 +02:00
Hans Erasmus
a5bb437216
Added basic EndRun support (#11932)
* Added basic EndRun support

* Fixed spaces as indicated by Travis

* Changes applied as per request and suggestions

Incorporated @murrant's suggestions.

* Update Endrun.php

* Update endrun.json

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-07-14 11:22:40 -05:00
twelch24
5d2fe2e8c5
Black legend text in dark theme (#11933)
using the dark theme the legend text is the same color as background on the latency page. Change to black.
2020-07-14 17:31:09 +02:00
Jellyfrog
32f72bc1ab
Fix SQL injections in ajax_table.php (#11920)
* Fix SQL injections via searchPhrase parameter

* Fix SQL injections via address parameter

* Fix sort injection

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-07-10 09:17:09 -05:00
Tony Murray
560fd71ef6
CORS settings in webui (#11912)
* Change CORS implementation
allows for upstream integration of Laravel 7

* migrate config

* skip implementing patterns for now

* Expose settings to the webui

* Make db settings apply
2020-07-08 07:36:51 -05:00
cwispy
8e30541c95
Add support for Aten PE8216 PDU (#11887)
* Add support for Aten PE8216 PDU

* Add support for Aten PE8216 PDU

* Add support for Aten PE8216 PDU

* Revert "Add support for Aten PE8216 PDU"

This reverts commit 5d2f195f28.

* Revert "Add support for Aten PE8216 PDU"

This reverts commit ebfd659775.

* Fixed integer issue with skip_values

* More integer changes

* Add json file

* Fix yaml file

* Setting modules like that reduces user control

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-07-05 00:20:12 -05:00
Munzy
8a851eda9f
Auth AD URL (#11884)
* Missing auth_ad_url

WIP

* add auth_ad_filter

* Pluralize

* Remove Translation, and add translations generation.
2020-07-01 13:23:35 -05:00
Tony Murray
b9f80d32bd
Fix unauthenticated graphs (#11879)
broken with security fix
2020-06-30 09:25:01 -05:00
Jellyfrog
659325d5d0 Prevent unauthorized access to device graphs
Users could access info for the wrong device by piggyback on port permissions
2020-06-30 13:35:45 +02:00
Tony Murray
d75cc5235d
Settings geocode lookup (#11875)
* Add setting to enable geocoding to ui

* rename settings

* rename settings

* capitalization

* Open streetmaps does not support geocoding
2020-06-29 21:03:03 +02:00
Tony Murray
e3d75a8a09 Copy button, consistency 2020-06-27 07:47:08 -05:00
Tony Murray
b9bd2b3d08 Remove old install file 2020-06-27 07:47:08 -05:00
Tony Murray
a3a8a6ae67 port to Bootstrap4 for flexbox 2020-06-27 07:47:08 -05:00
Tony Murray
d943df40db user create + db migrate 2020-06-27 07:47:07 -05:00
Tony Murray
ad2da9fcdb Install to Laravel WIP 2020-06-27 07:47:07 -05:00
Negatifff
bd45ae0b65
fix last th min-width (#11860) 2020-06-25 21:20:43 +02:00
Geoffrey Ferk
30656481d9 New OS: DHCPatriot (dhcpatriot) 2020-06-22 13:17:15 -05:00
Joost van Voorst van Beest
ad60d0cc87 Added Jacarta Logo. Small fixes. 2020-06-15 14:23:22 +02:00
Joost van Voorst van Beest
ef2ae7ddb8 Added initial simple support for Jacarta InterSeptor environmental monitoring device. 2020-06-15 14:02:28 +02:00
Hans Erasmus
f8e8dfe3a5
Gigamon GigaVUE basic support (#11824)
* Gigamon GigaVUE basic support

* delete os/gigavue.inc.php it is not used

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-06-14 21:05:54 +02:00
Jellyfrog
a9e2ee2fb4
Replace martinlindhe/laravel-vue-i18n-generator since its no longer (#11815)
maintained
2020-06-13 12:39:48 +02:00
Tony Murray
300645388f
Dispatcher Service settings (#11760)
* Poller settings WIP

* Poller settings WIP2

* working on SettingMultiple

* setting multiple working

* settings sent with all required info

* fix translation

* Fix keys

* fix groups setting

* Apply settings to service
fixes and validations for setting

* don't error when no poller_cluster entry exists

* hid tab when no poller cluster entries

* Authorization

* make prod

* daily maintenance toggle should be advanced

* Update schema def
2020-06-08 08:27:03 -05:00
Josh Baird
aa4f6ff989
Add OS support for Aviat WTM (#11654)
* Add support for Aviat WTM

* Remove sleeps

* Rename MIBs

* Remove old MIBs

* Fix mystery tabs

* 4 spaces, not 2

* Bybebye, whitespace

* Moar whitespace

* Update AviatWtm.php

* Update aviat-wtm.yaml

* Delete aviat-wtm.inc.php

* Update aviat-wtm.snmprec

* Update aviat-wtm.json

* Update AviatWtm.php

* Update aviat-wtm.json

* Update AviatWtm.php

* Update aviat-wtm.json

* Update AviatWtm.php

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-05-31 16:19:07 -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
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
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
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
Facundo Caselles
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
TheGreatDoc
fd89854012
Fix smokeping config definition (#11651)
* Fix config definition for smokeping

* Fix config definition for smokeping

* Updated mix-manifest
2020-05-21 10:16:24 -05:00
TheGreatDoc
370c7f5662
Added link to smokeping interface + smokeping options to global settings (#11610)
Co-authored-by: Daniel Baeza <d.baeza@tvt-datos.es>
2020-05-20 08:25:27 -05:00
Tony Murray
d5a52ca4eb
Fix various issues with loading os definitions (#11640)
* Ping only device doesn't display
if os was set to something, ping os wasn't loaded and we try to get overview graphs from it.

* Fix snmp_disable device page load error
When other os is set.

* Revamp os setting loading
the only safe way to access is Config::getOsSetting()

* Remove getOsSetting fallback behavior
Most instances don't use it and it can have unexpected results Config::getOsSetting('blah', 'group') == 'librenms'

* refactor and remove unneeded load_os/loadOs calls now since getOsSetting automatically loads it.

* restore unix overview graphs, they are different
small cleanups

* fix
2020-05-19 14:35:32 -05:00
Ryan Walters
077e6788bf
Fixed realtime graph http get spam (#11616) 2020-05-15 08:31:43 -05:00
Alexander Moisseev
25330646f6
New OS: QTECH (#11556)
* New OS: QTECH

https://www.qtech.ru/en/catalog/

* QTECH: Add hardware, version and serial support

* QTECH: Fix platform and software version detection

* QTECH: Add test for QSW-3450
2020-05-06 23:34:02 +02:00
Tony Murray
5ac05e9221
Fix new bill search input (#11524)
* Work around select2 in a modal

* Update select2
2020-05-01 21:49:36 -05:00
Tony Murray
055abcf443
Device page dropdown hero button, Performance -> Latency (#11328)
* Throw some shit together, rough outline.

* Reorganize tabs, use tab controllers

* Implement performance (into the latency tab)

* Update resources/views/device/header.blade.php

Co-Authored-By: Jellyfrog <Jellyfrog@users.noreply.github.com>

* Add more tabs

* All controllers created

* Implement routes

* Implement smokeping

* routing and auth

* fix smokeping check

* Implement device dropdown menu

* Update deviceUrl to new style

* Use Gates

* Fix style

* use more appropriate gates

* add show-config gate
remove Laravel helper

* Only show vlan tab if VLANs exist for the device :D

* Fix rancid file check will return false

* revert over-zealous file name changes

* don't need to request the location parameter, just cast to string to avoid bugs when not found

* Move latency tab (ping/performance) to the position of performance instead of ping.

Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
2020-04-29 07:25:13 -05:00
Adam Bishop
83dd1f0a16
Detection, sensors and zpool/dataset usage for FreeNAS, TrueNAS (#11474)
It's also possible to do zpool IO from the MIB, but diskIO on
LibreNMS makes a lot of assumptions about it coming from the UCD
MIB.

This changeset adds detection for FreeNAS and TrueNAS - despite
having their own enterprise number, the snmpd uses the FreeBSD
one.

The naming is a bit all over the place, because this reflects
reality - IXSystems produce FreeNAS and TrueNAS, the product lines
have merged to eliminate FreeNAS, but TrueNAS still calls itself
FreeNAS everywhere except the GUI.
2020-04-27 17:23:44 +02:00
Adam Bishop
3690ca4928
Add OS detection for Greenbone appliances (#11464)
* Add OS detection for Greenbone appliances

They don't expose anything fancy over SNMP, but this makes them
display interface names correctly. Under the hood they're unix-y.

Greenbone logo is from the AGPLv3 gsa, which is GPL compatible:
https://github.com/greenbone/gsa/blob/master/gsa/public/img/greenbone.svg

The mib is included for completeness, but it doesn't expose any
graphable values.

* Fix the vendor's logo
2020-04-26 13:11:49 +02:00
SourceDoctor
cc2894c0df
Widget Eventlog Sensors Link and Mouseover functionality (#11380)
* Global Settings - Alert Default Settings

* Revert "Global Settings - Alert Default Settings"

This reverts commit a1af62b146.

* Widget Eventlog - Sensors link and overlib Image

* travis fix

* handling via AppServiceProvider

* collect function

* Travis ...

* static list of Sensor Types

* adding all sensor graph_types

* remove collect

* correct getTypes - remove change to lower case

* class sensor_descr switch

* class sensor_descr switch - revert

* Use standard sensor type names

* move types to attribute list

* going back to changes from 9eee7fad58

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-04-19 12:57:49 -05:00
Jozef Rebjak
bb9ebb4e45
Added support for Peplink Pepwave & FusionHub (#11432)
* Added support for Peplink Pepwave & FusionHub

* Travis fixes

* Another Travis fixes

* Travis fixed

* Travis fixes

* Update peplink.svg

* Resolved reviews

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-04-19 10:28:21 -05:00
SourceDoctor
3474b4493d
Global search MAC Address (#11434)
* Global Settings - Alert Default Settings

* Revert "Global Settings - Alert Default Settings"

This reverts commit a1af62b146.

* global search - mac address

* remove unnecessary command
2020-04-19 00:33:17 -05:00
Mikkel Mondrup Kristensen
212c9aad95
Add support for Advantech switches (#11415)
* Add Advantech logo.

Taken from https://commons.wikimedia.org/wiki/File:Advantech_logo.svg
with minor edits (removed width and height).

* Add Advantech MIB files.

* Add Advantech definitions.

* Add suppor for version and hardware polling.

* Add advantech snmp recording.

* Add sensors for SFP ports

Each SFP will have temperature, voltage, tx bias, Tx/Rx power.
Also update snmp recording to include new data.

* Rename ADVANTECH-EKI-PRONEER-MIB_1_01.mib to ADVANTECH-EKI-PRONEER-MIB

* Rename advantech-common-mib.mib to ADVANTECH-COMMON-MIB

* Update advantech.yaml

* Update advantech.svg

* Create advantech.json

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2020-04-14 11:05:22 +02:00
Tony Murray
4958aaf1a6
Update Meraki logos (#11406)
Had an issue with the SVG...
2020-04-10 18:05:27 +02:00
PipoCanaja
3fb46710a6
Added support for RIEDO data concentrator (#11237)
* Riedo E3Meter DataConcentrator

* Riedo E3Meter DataConcentrator Image

* logos

* name

* Freq + Power

* Power

* Tests + standalone riedo mib

* tests
2020-04-10 13:24:49 +02:00
PipoCanaja
07d4da21ca
Add support for Ascom IPBS (#11308)
* ascom support

* tests

* typo

* Correct missing 'mpls' in misc/os_schema.json

* remove mpls for now

* tests

* Update ascom.svg

* Don't disable already disabled modules

As I usually state, not much gain in disabling these here.   Would be better to optimize the modules if you think they take too long on devices that don't have support.

* refactor polling code

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-04-10 13:21:25 +02:00
Tony Murray
961beb0e8b
Fix Panos icon (#11404)
viewbox instead of width/height
2020-04-09 23:09:35 +02:00
dneto82
01350a29ab
Update on OS only logo. (#11399)
* Update on OS only logo.

Update for Palo Alto 2020 OS only logo.

* Update panos.svg

Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
2020-04-09 11:33:02 +02:00
dneto82
1bd86c4e58
Updated panos.svg (#11398)
* Updated panos.svg

Update for Palo Alto Networks 2020 Logo.

* Update panos.svg

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-04-09 10:49:56 +02:00
Tony Murray
204a79418c
Fix global search by IP (#11395) 2020-04-08 22:46:15 -05:00