Commit Graph

20745 Commits

Author SHA1 Message Date
Wheel
cd5aa63c0d Cisco Catalyst 1300 recognition (#16080)
* Bare essential for Catalyst 1300 recognition

* Rename to a more generic os name
2024-06-07 07:49:16 -05:00
Zane C. Bowers-Hadley
f99f92d911 fix display of graphs on the multi-server app page for Mojo CAPE Submit (#16094)
* rename the mojo cape submit graphs, changing - to _

* update graph names on the app page for it
2024-06-06 19:53:23 -05:00
Tony Murray
51c670f109 Fix typo in device edit page. (#16096) 2024-06-06 08:33:50 -05:00
Tony Murray
7ac1b3303f ESRI ArcGIS geo map support (#16059) 2024-06-05 08:16:33 -05:00
Tony Murray
fa16c025ba Fix popup toast messages (Remove Flasher) (#16090)
* Remove flasher
Just use a bit of custom code to interface with toastr js
This is able to retain our custom theme and work properly

* Fix style issues

* Missed reference rename

* Remove test code :)

* Fix a missed rename

* Fix one more missed reference

* Fix typo
2024-06-05 08:07:42 -05:00
Zane C. Bowers-Hadley
7879b450ff note the suffix/prefix stuff for ldap (#16091) 2024-06-04 23:15:08 -05:00
Tony Murray
0cdb58fab9 Don't run poller validations when there are no devices (#16088)
* Don't run poller validations when there are no devices

* Missing import
2024-06-04 21:55:24 +02:00
Peca Nesovanovic
390baa73fb add initial support for socomec-ups (#16018)
* [wip] add initial support for socomec-ups

based on: https://community.librenms.org/t/add-socomec-ups-with-netvision-snmp-card/24139

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

* ci

* drop cache/precache

* drop MIB definition

---------

Signed-off-by: Peca Nesovanovic <peca.nesovanovic@sattrakt.com>
2024-06-04 11:24:30 +02:00
Cougar
d888ab4649 Fix Ruckus Unleashed product ID (#16067) 2024-06-04 11:20:57 +02:00
Zane C. Bowers-Hadley
fb7bc5dd5a two minor fixes for sagan (#16082)
* two minor fixes for sagan

* more tweaks

* change how instance handling is done
2024-06-04 11:08:20 +02:00
Tony Murray
05f29ae76c Edit Current Map menu entry (#16084) 2024-06-04 11:07:50 +02:00
Zane C. Bowers-Hadley
370a91a4d3 remove mention of not using cron and really that tends to break more than it works... use /bin/cat to get the cache (#16086) 2024-06-04 11:06:28 +02:00
Zane C. Bowers-Hadley
d0ca744c8a handle $app_data['disks'] not being set for SMART app page display (#16087)
* handle $app_data['disks'] not being set for SMART app page display

* style fix
2024-06-04 11:05:30 +02:00
Tony Murray
8bf40c5eef Fix fping bulk (#16085)
* Fix Fping bulk
When an ICMP unreachable message was returned (stderr), the output processing would save it as if it were a partial line, breaking parsing.
Only save a line if it is the last line of the output (not ending in a new line)

* Add test case

* safer logic
2024-06-03 21:29:29 -05:00
Gonza
b8e20bf615 Fix for issue #15841 && #15495 (#16083)
* Centering of <thead> in device summary table

I add the property "text-align: center;" to class ".gridster *"

* Adding lines in app.css

I add these two lines to the style sheet:

.select2-dropdown:is(.tw-dark *) {background-color: #2E3338;}

.select2-results__group:is(.tw-dark *) {border: 1px solid #1f2225;}
2024-06-02 11:18:52 -05:00
Tony Murray
cf422b834c Fix duplicate maps in relationship (#16081)
When a device is added to a map multiple times, it caused the map to show multiple times in the device overview.
2024-05-30 23:32:22 -05:00
Nicolas
c777d5429e Fix duplication of processor entries & limit length of type (#16075)
* Fix duplication of processor entries & limit length of type

* delete duplicate processor entry

* added maxLength to processor type

* shorter processor type

* forgot to regen test data
2024-05-29 14:42:05 -05:00
whitej46
eed83061e6 Add nfsen_base to config_definitions.json (#16065)
* Update config_definitions.json

Added nfsen_base so that nfsen stats feature works.  I had to add as an array as it was the way I was able to make it work, even though another type may make more sense from a user interface perspective.  I put it in order 10 as there seemed to be a gap there, but one could argue that it should be higher and other nfsen items renumbered.

* Update config_definitions.json

Fixed typo

* Update config_definitions.json

* Update settings.php

Added Default NFSen Base Directory

* Update settings.php

---------

Co-authored-by: Tony Murray <murraytony@gmail.com>
2024-05-29 08:06:09 -05:00
Tony Murray
d92004f4a8 Fix error in riverbed (#16066)
variable is overwritten
2024-05-26 18:50:17 -05:00
Ashwath Venkataraman
c7708922ab Create Alertops.php (#16050)
* Create Alertops.php

This is a request to add this Transport publicly, so alerts can be sent to AlertOps' webhook endpoint - AlertOps is an alerting/notification tool.

* Update Alertops.php

* Update Alertops.php
2024-05-22 22:03:51 -05:00
Ashwath Venkataraman
c89023bd55 Update Transports.md (#16058)
Added documentation to configure transport for AlertOps
2024-05-22 21:59:01 -05:00
Justin Lentz
a466b83438 remove enable_ports_poe (#16056) 2024-05-22 21:36:16 -05:00
Tony Murray
f0966f4d23 Widget hot refresh & worldmap cleanup (#16053)
* Iterate in javascript and separate processing

* Widget refresh/destroy events

* Remove old dom and unbind events

* fix whitespace

* Fix up bootgrid tables, they inserted a div before the first div breaking event propagation
switch to regular js function to scope variables instead of jquery

* Handle settings the same way as the normal widget

* Use standard init_map and add layer control

* May need L.Control.Locate now

* Set maxZoom for marker cluster

* Try setMaxZoom

* worldmap size 100 and resize on refresh/widget resize

* Add resize event (and throttle it a bit)

* Further worldmap cleanup

* Move most javascript to common js, will cause js errors until page is reloaded, but better in the long run
2024-05-22 21:23:39 -05:00
Justin Lentz
df6a42f2a3 Remove device_perf_purge (#16057) 2024-05-22 12:18:42 -05:00
Ron
79184e8345 SIGNL4 Alert Transport (#16037)
* SIGNL4 Alert Transport

SIGNL4 alert transport added.

* Update Transports.md

* Update Signl4.php
2024-05-22 10:16:35 -05:00
Tony Murray
7c4f04ab9d Manage Maps limit width (#16055) 2024-05-22 10:04:05 -05:00
cadirol
6d8eee9bf2 Update hatteras.yaml (#16054)
Wrong Text content
2024-05-22 08:09:05 -05:00
Tony Murray
54ec98cafb API: return error when no ports found (#16043)
When looking up device ports (get_port_graphs), return an error when no ports are found.

fixes #15964
2024-05-21 22:05:44 -05:00
Santiago Z
d4b7dbedab Align the buttons (Edit and Delete) to the right in Map Management (#16052) 2024-05-21 22:05:02 -05:00
Zane C. Bowers-Hadley
3491f3d704 fix path related issues for ss and systemd applications (#16045)
* fix path related issues for ss and systemd

* ensure / is before include

* re-order use order
2024-05-21 07:33:02 -05:00
Tony Murray
2a42bf714f Bump version to 24.5.0 24.5.0 2024-05-19 22:53:54 -05:00
Tony Murray
b322610216 Changelog for 24.5.0 2024-05-19 22:53:53 -05:00
Tony Murray
6c6bdf26d0 Fix downtime in corner cases (#16040)
If somehow device outage wasn't recorded, fall back to last_polled (or now)
This should not happen in normal operation

fixes #15634
2024-05-19 09:46:16 -05:00
Tony Murray
8fdf990dd5 Fix issue loading session preferences (#16041)
during initial login

fixes #15866
2024-05-19 09:45:36 -05:00
Pikamander2
742b0154c1 Fix incorrect number of seconds in a day (#16042) 2024-05-19 09:45:11 -05:00
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