21010 Commits

Author SHA1 Message Date
Tony Murray
65d13a742e Fix icmp ping y-axis over 1000ms (#16039) 2024-05-18 18:32:14 -05:00
eskyuu
c1f955e06e Added read permission test to the custom map model (#16030)
* Added read permission test to the custom map model

* Formatting fixes

* Moved permission check logic into SQL to avoid errors accessing undefined properties

* Update custom map permission code to avoid unneeded SQL query
2024-05-16 07:54:45 -05:00
Tony Murray
0c35b7dc4f Device location map zoom out when location N/A (#16034) 2024-05-14 10:11:52 -05:00
Tony Murray
34032723c4 Revert "Fix for AD Lookup in our environment (#16001)" (#16035)
This reverts commit 250c3e32c3.
2024-05-14 09:57:07 -05:00
eskyuu
9677f75480 Do not allow the legend nodes to trigger the node edit modal (#16026)
* Do not allow the legend nodes to trigger the node edit modal

* Added newline to trigger github tests
2024-05-14 08:37:39 -05:00
Tony Murray
0d246a6ffc Custom Maps: geo map and color backgrounds (#16020)
* Custom Maps: geo map and color background
tabs blade component
geo-map blade component and related script enhancements

* Update css/js

* style fixes

* update db_schema.yaml

* fix db_schema hand edit

* ignore phpstan being wrong

* Handle null

* another possible null spot

* Use standard file cache for custom map background images

* Create map->image as jpeg so we can compress it

* whitespace fix

* Fix background cancel button when other type is selected than the saved type

* Save and restore layer

* Map must exist before creating static image

* Don't show set as image button for Google and Bing.
Bing gives an odd error, but Google won't work.
2024-05-13 08:12:59 -05:00
Santiago Z
1e3e60d59b [DOC] Update Customizing-the-Web-UI.md (#16025) 2024-05-08 22:17:05 -05:00
Tony Murray
c2dbfc4381 Always run tests (#16024) 2024-05-08 19:34:52 -05:00
Tony Murray
4b3e6ebf15 snmpscan.py output errors and nodns (#15673)
* snmpscan.py output errors and nodns
Add symbols for nodns (-o) and errors.
-v will include detailed info as always.

* Add E to legend

* fix too long lines

* Fix it the way black wants, apparently.

* try 3

* attempt 4
2024-05-08 09:51:44 -05:00
systeembeheerder
0ac1414905 Update Dispatcher-Service.md (#15705)
* Update Dispatcher-Service.md

Removed the CRON part.

Scheduler is handled with a systemd service now. See https://docs.librenms.org/Installation/Install-LibreNMS/#enable-the-scheduler

* Update Dispatcher-Service.md

remove the "Debian 12 Bookworm is not available".

It was released june 10th 2023

* Update Dispatcher-Service.md

as requested by https://github.com/librenms/librenms/pull/15705#pullrequestreview-2003870339

* Update Dispatcher-Service.md

---------

Co-authored-by: Tony Murray <murraytony@gmail.com>
2024-05-08 07:33:47 -05:00
Shawn Kwang
8027492a29 Mysql PDO options to support SSL/TLS client communication (#15832)
* Fixed mysql connection to include additional options for SSL Cert and Key. This allows for TLS client communication.

* Modified config options for mysql database to make SSL/TLS settings optional.

SSL/TLS CA, CERT, and KEY are optional. If they are not provided the array_filter() will remove them.

MYSQL_ATTR_SSL_VERIFY_SERVER_CERT is outside array_filter() because the function will remove the option if it is falsey; however there are times when that variable must be set to false.

* fix style

---------

Co-authored-by: Tony Murray <murraytony@gmail.com>
2024-05-08 07:08:11 -05:00
Oleksandr Martsyniuk
c641b3fa94 Update MIB for Edge-Core ECS4120-Series (#16023) 2024-05-08 07:07:46 -05:00
Tony Murray
ceb0bf70a8 Revert "[DOC] Install LibreNMS: add Icons (#16017)" (#16021)
This reverts commit d3e5b0da3b.
2024-05-07 23:26:45 -05:00
Tony Murray
cdd7d9a0ba Rrd source does not work with rrdcached (#15974)
Skip file migration, but at least the rrdcreate will succeed now.
2024-05-07 23:17:32 -05:00
Jarod2801
9ee7139f68 Added FibroLAN devices (#15967)
* Added FibroLAN devices

* Added FibroLAN devices including json files

* removed FibroLAN uFalcon-S
2024-05-07 22:55:55 -05:00
eskyuu
d7119fbc30 Linux MegaRAID SAS fixes (#15566)
* Linux MegaRAID SAS fixes
 - Updated disk error threshold from 1 to 0.1 because we need to know when
   it reaches 1, not when it exceeds 1.  It would ideally be set to 0, but
   it needs to evaluate to true in order for the threshold to be set.
 - Fixed the OID for the virtual disk failure check, which also removes the
   duplicate check on the predictive failure OID

* Updated the LSI test output

* Another update to the SNMP results

* Update all thresholds to 0

The warning and error thresholds work correctly when set to 0, so I have updated these values

* Change back to the original sensor OID, with the correct MIB OID and description

* Further re-classification of degraded LSI disk check
2024-05-07 22:54:07 -05:00
Santiago Z
d3e5b0da3b [DOC] Install LibreNMS: add Icons (#16017)
* [DOC] Install LibreNMS: add Icons

* Update mkdocs.yml

* Update Customizing-the-Web-UI.md
2024-05-07 22:45:21 -05:00
ottorei
07afbe8b7a Use null coalescing on Panos.php (#16019) 2024-05-06 19:56:24 -05:00
Peca Nesovanovic
2ff57286f0 [webui] sort ports in VLANs blade (#15960)
* [webui] vlans blade sort

sort ports in VLANs blade

before:
gi1/0/1,gi1/0/10,gi1/0/2,gi1/0/23,gi1/0/24,gi1/0/3,gi1/0/4,gi1/0/5,gi1/0/6,gi1/0/7,gi1/0/8,gi1/0/9,Po1,te1/0/2,te1/0/3,te1/0/4

after:
gi1/0/1,gi1/0/2,gi1/0/3,gi1/0/4,gi1/0/5,gi1/0/6,gi1/0/7,gi1/0/8,gi1/0/9,gi1/0/10,gi1/0/23,gi1/0/24,te1/0/2,te1/0/3,te1/0/4,Po1

Signed-off-by: Peca Nesovanovic <peca.nesovanovic@sattrakt.com>

* sort in controller

* sortby vlan,port

---------

Signed-off-by: Peca Nesovanovic <peca.nesovanovic@sattrakt.com>
2024-05-03 22:37:34 -05:00
whitej46
2efd30fe39 Update WirelessSensor.php (#16016)
I was getting a SQL error that sensors_id was not found.  I changed the reference to sensor_id.
2024-05-03 22:35:07 -05:00
Tony Murray
5b20886732 Map Management: Show Groups (#16005)
* Map Management: Show Groups

* reorganize group selector a bit

* Use uuid to prevent issues with unicode strings and other oddities

* Edit buttons should not be primary

* Reactivity for small screens
2024-05-03 18:30:03 -05:00
sogadm
3313949ea7 Massive changes to the Chinese interface translation. (#16009)
* Chinese translation fixes

Chinese translation fixes

* Update settings.php

Chinese translation fixes

* [Chinese Translation]

Massive changes to the Chinese interface translation.

* [Chinese Translation]

Massive changes to the Chinese interface translation.

* Update validation.php

Fix syntax errors

* Update validation.php

Fix syntax errors

* Chinese

Massive changes to the Chinese interface translation.

* Update auth.php

* Update bgp.php

* Update commands.php

* Update commands.php

* Update components.php

* Update components.php

* Update device.php

* Update exceptions.php

* Update install.php

* Update inventory.php

* Update map.php

* Update modules.php

* Update pagination.php

* Update passwords.php

* Update plugins.php

* Update poller.php

* Update port.php

* Update preferences.php

* Update sensors.php

* Update settings.php

* Update syslog.php

* Update validation.php

* Update widgets.php

* Update settings.php

* Update settings.php

* Update settings.php
2024-05-03 18:19:59 -05:00
Tony Murray
1c5e96f8d4 Mobile menu full height (#16011)
Maybe more ease of use changes coming for mobile down the road, but this is a quick bandaid.
2024-05-03 18:18:50 -05:00
Tony Murray
fe2f8a6c81 Change custom map editor icon (#16004)
Edit icon makes more sense than map icon and makes it visually distinct from maps above it in menu.
2024-05-01 14:15:27 -05:00
sonic45132
250c3e32c3 Fix for AD Lookup in our environment (#16001) 2024-05-01 06:56:47 -05:00
Heath Barnhart
11142d349b SNMP Traps - Ciena AAA (#15998)
* Ciena AAA snmp trap handler

* Removed IP from log message

* Added unit test

* Fixed unit test

* Removing reference from handler
2024-05-01 11:25:46 +02:00
Nicolas
8efa3370f7 powewalker improvements/fixes + test-data (#15999) 2024-05-01 11:23:37 +02:00
Félix Bouynot
58883278cf doc(selinux): set httpd_cache_t type to /opt/librenms/cache (#16000)
This is to avoid the following error when trying to poll: 
```
file_put_contents(/opt/librenms/cache/os_defs.cache): Failed to open stream: Permission denied {"exception":"[object] (ErrorException(code: 0): file_put_contents(/opt/librenms/cache/os_defs.cache): Failed to open stream: Permission denied at /opt/librenms/LibreNMS/Util/OS.php:113)"} 
```
2024-05-01 11:21:55 +02:00
Tony Murray
07655c24af Merge duplicate toBytes functions (#15994)
* Merge duplicate toBytes functions
Replace other duplicate code and add tests

* Allow space between similar to formatSI output

* Style fixes

* Match previous behavior in Docker app
2024-04-30 14:40:08 +02:00
Jarod2801
acd92e822b Add support for ULAF+ (#15997) 2024-04-30 14:38:01 +02:00
Santiago Z
8ae66a3bb8 Update Dockerfile (#15996) 2024-04-30 14:35:29 +02:00
Tony Murray
4530b3e54c Revert "[DOC] Update for mkdocs-material 9.5.19 and icons added to Install-Li…" (#15995)
This reverts commit 20bd5a3163.
2024-04-29 14:24:53 -05:00
Santiago Z
20bd5a3163 [DOC] Update for mkdocs-material 9.5.19 and icons added to Install-LibreNMS.md (#15989)
* Configuration

* Update Install-LibreNMS.md

* Update mkdocs.yml

* Update doc.yml

* test

* Update doc.yml

* Update doc.yml

* Update doc.yml

* Update doc.yml

* Update doc.yml

* Update doc.yml

* Update doc.yml

* Update doc.yml

* Update Dockerfile

* Update Dockerfile

* Update Dockerfile

* test v 9.5.19
2024-04-29 09:34:18 -05:00
sogadm
15aa91d546 Chinese translation fixesChinese translation fixes (#15991)
* Chinese translation fixes

Chinese translation fixes

* Update settings.php

Chinese translation fixes
2024-04-29 09:29:59 -05:00
Santiago Z
f63560bcf1 remove duplicate changelog 24.1.0 (#15987) 2024-04-27 13:48:39 +02:00
Sarabveer Singh
b14a86ecf6 Fix systemd graphs using wrong rrd filename variable (#15988) 2024-04-27 13:47:41 +02:00
Tony Murray
1dc62454fc Show custom maps in device overview (#15985)
* Show custom maps in device overview

* remove extra line return

* Sort by name
2024-04-26 15:10:24 -05:00
jthiltges
3f4bd69718 Correct swapped SET and WHERE parameters in bgp-peers/dell-os10.inc.php (#15983)
When the code was refactored in daa8c757f6, the selectors and updated columns were reversed.
2024-04-26 08:48:47 -05:00
Warren Ashcroft
1aa712e189 Fix graph_type variable (svg / png) (#15972) 2024-04-26 08:33:08 -05:00
hatboxen
443bfdb3b7 Update Welcome-to-Observium-users.md (#15981)
updated due to link rot
2024-04-26 07:48:03 -05:00
ch
acf61ab07b MIKROTIK-MIB: Update to latest revision (#15984)
Update to latest revision dated 202404100000Z
2024-04-26 13:22:27 +02:00
Tony Murray
43e6846cbc Custom Map: Show crosshairs when adding (#15978)
* Custom Map: Show crosshairs when adding
When adding a node or edge, give cursor feedback.
Updates js deps

* Missed package-lock.json
2024-04-25 15:36:16 -05:00
Tony Murray
f78edf4d11 New Map Menu (#15969)
* Map Menu
New top level Map menu.
Ability to group custom maps.
Ajax Select controller improvements

* Fix style
2024-04-25 15:32:33 -05:00
Justin Lentz
51fa1887f9 remove poller_name (#15979) 2024-04-25 15:32:19 -05:00
Tony Murray
ac98abbafb On-demand map menu items (#15971)
Only show map menu items if they have data:
 * Network
 * Device Dependencies
 * Device Group Dependencies
2024-04-25 09:19:21 -05:00
Tony Murray
d48d850c3e Custom Maps: Fix title update removing link (#15976) 2024-04-24 10:36:04 -05:00
Tony Murray
b0c03b29ac Custom Maps: make edit title clickable (#15965) 2024-04-23 09:57:19 +02:00
Tony Murray
9d87c88382 Git ignore custom map images (#15966) 2024-04-23 09:55:15 +02:00
Tony Murray
1c33cb4d2e Update packet_loss docs (#15962) 2024-04-22 23:22:19 -05:00
paulierco
b7f4f14b30 New velocloud devices (#15958)
* aos7 tests

* Revert "aos7 tests"

This reverts commit fc9da4cced.

* Add more VeloCloud devices

* remove
2024-04-20 10:28:45 -05:00