Commit Graph

20781 Commits

Author SHA1 Message Date
Tony Murray
473cbcc508 Handle ad/ldap authorizer search error (#16139)
* Handle ldap authorizer search error

* Update LdapAuthorizationAuthorizer.php

* More ldap failure checks
2024-06-24 19:49:34 -05:00
Tony Murray
6bd55dce25 Port link component easier graphs (#16147)
Allow type variable to pass into graphs of graph row
default 4 graph display so caller doesn't have to specify timeframes if they just what the default
2024-06-24 19:49:08 -05:00
Slashdoom
56f36f094d omit dark media left (#16152) 2024-06-24 19:41:41 -05:00
normand-hue
cc1aaeef2b Add support for more Cisco FTD devices (#16150)
* Add support for Cisco FTD 3130
Add sysObjectID definition for Cisco Secure Firewall 3130

---------

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2024-06-24 23:59:50 +02:00
Justin Lentz
338e0acbe4 Alertmanager Striptag Dynamic Variables (#16141) 2024-06-20 09:37:34 -05:00
Tony Murray
bd55c3a709 Fix port link device missing (#16151) 2024-06-20 08:56:57 -05:00
dependabot[bot]
33c38a5600 Bump tecnickcom/tcpdf from 6.7.4 to 6.7.5 (#16148)
Bumps [tecnickcom/tcpdf](https://github.com/tecnickcom/TCPDF) from 6.7.4 to 6.7.5.
- [Changelog](https://github.com/tecnickcom/TCPDF/blob/main/CHANGELOG.TXT)
- [Commits](https://github.com/tecnickcom/TCPDF/compare/6.7.4...6.7.5)

---
updated-dependencies:
- dependency-name: tecnickcom/tcpdf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-19 10:30:19 -05:00
Peter Childs
e48897c881 clarify okta claim configuration requirement (#16142) 2024-06-19 10:27:10 -05:00
dependabot[bot]
cce0a587f4 Bump ws from 8.17.0 to 8.17.1 (#16143)
Bumps [ws](https://github.com/websockets/ws) from 8.17.0 to 8.17.1.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.17.0...8.17.1)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-19 10:26:29 -05:00
Tony Murray
98fbfca027 Fix graph row lazy loading (#16145) 2024-06-19 09:20:23 -05:00
Tony Murray
a37efd2876 Device Ports settings (#16132)
* Device Ports settings

* Save port settings per user

* style

* Delete user pref if it matches the defaults

* Because we are saving settings now, we must explicitly set to make the links work
2024-06-18 23:58:10 -05:00
Slashdoom
91ea72c766 doc fixes (#16140) 2024-06-18 14:39:31 -05:00
Andy Norwood
6f030b7082 Update styles.css (#16138)
Left align text for dashboard widgets
2024-06-18 07:49:54 -05:00
dasdromedar
8930670ded Update eaton-sc200.yaml (#16133)
Adding Alarm Summary Support, which is useful to find out if there is any undiscovered Alarm.
2024-06-18 10:28:15 +01:00
Tony Murray
592ea1c263 Change port pagination default to 32 (#16131)
* Change port pagination default to 32
that way this includes all ports for most switches.
Most port counts are base 2, so change pagination options to match

* ignore upstream missing closure type

* Fix style again

* more
2024-06-17 09:09:33 -05:00
Tony Murray
097d4a3f94 Fix port neighbors unknown local port (#16128)
Fix issue when somehow the local port is unknown.  Likely this is faulty polling or snmp implementation.
2024-06-17 02:42:15 -05:00
Tony Murray
8c4caab81a Fix port pagination (#16127)
* Fix ports pagination

* Style fix
2024-06-17 02:28:36 -05:00
Tony Murray
67851188f1 Fix incorrect port view reference (#16124) 2024-06-17 01:22:54 -05:00
Tony Murray
a3d4a688a0 Fix submenu whitespace (#16123) 2024-06-16 23:54:14 -05:00
Tony Murray
075ba4c932 Ports UI update (#16115)
* WIP Device Ports porting to Laravel

* WIP port links

* Port Links WIP

* Port Links

* in_array -> isset

* Add request to DeviceTab data

* Add initial Pagination

* Missing select component

* Collapsed and expandable port neighbors
New expandable component

* Port sorting

* Fix port transfer

* Use menu entries to filter ports

* Add translatable strings

* style fixes and cleanup

* update css

* graph views and tidy controller
basic port link view

* cleanup

* port row blade to reuse in legacy port view

* Legacy tab url handling
work properly in subdirectory
remove includes from sub tab directory to prevent oddity

* fallback to detail list when the view doesn't exist

* Use named variable to simplify

* Fix issue from file that was a symlink

* Submenu handle sub items and query string urls

* extract pageLinks to improve readability

* fix typo

* Apply fixes from StyleCI

* phpstan was not happy using the relationship HasMany query

* Don't allow *bps etc to be on a second line

* Improve table on small screens

* Fix sort

---------

Co-authored-by: Tony Murray <murrant@users.noreply.github.com>
2024-06-16 11:29:06 -05:00
Tony Murray
a717e084f0 Bump version to 24.6.0 24.6.0 2024-06-16 11:23:37 -05:00
Tony Murray
5b6125cf6d Changelog for 24.6.0 2024-06-16 11:23:36 -05:00
PipoCanaja
105fb1748e Bug - Sorting FDB table by devices (#16116)
* fix

* Fix the issue

The left join with the device was pulling in a "port" field which then caused Eloquent to think the port relationship was already loaded.

---------

Co-authored-by: Tony Murray <murraytony@gmail.com>
2024-06-14 22:34:55 -05:00
Tony Murray
04a70d2fda Update Dell MIBs (#16120)
* Update Dell MIBs
tidy up some related code a bit too to make it more readable

* handle extra data correctly (discard it)
2024-06-14 22:33:51 -05:00
Tony Murray
449b53d7fc Revert "fixed (#16114)" (#16121)
This reverts commit 4f6dd3af11.
2024-06-14 20:55:39 -05:00
PipoCanaja
4f6dd3af11 fixed (#16114) 2024-06-13 18:02:19 +02:00
PipoCanaja
d48fa27fbd Rename index_string to str_index_as_numeric (#15916)
* rename index_string to index:str2num

* rename to str_index_as_numeric
2024-06-13 10:00:03 -05:00
dependabot[bot]
3ad5bbc830 Bump braces from 3.0.2 to 3.0.3 (#16105)
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-11 02:06:19 +02:00
dependabot[bot]
1ce34a7c8c Bump composer/composer from 2.7.1 to 2.7.7 (#16104)
Bumps [composer/composer](https://github.com/composer/composer) from 2.7.1 to 2.7.7.
- [Release notes](https://github.com/composer/composer/releases)
- [Changelog](https://github.com/composer/composer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/composer/composer/compare/2.7.1...2.7.7)

---
updated-dependencies:
- dependency-name: composer/composer
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-11 01:55:37 +02:00
cjsoftuk
4f183989c7 Add support for new sensors on Firebrick 9000 models. (#15842)
* Add FB9k voltage & temperature monitoring

* Adjust sensor limits for FB2900

* Add FB9k test data.

* Sensor limit tweaks for FB6000
2024-06-09 20:11:03 -05:00
Frederik Kriewitz
273253f9d9 fix bdcom/pbn neighbour discovery (#15935)
* fix bdcom/pbn neighbour discovery

* add BDCOM S2900-24S8C4X test data
2024-06-09 19:51:10 -05:00
Zane C. Bowers-Hadley
572258e0c2 add Suricata 7 support to Suricata (#16044)
* breakout handling of suricata extend v. 1 returns

* initial work for suricata 7.0.0

* add shared file for various Suricata related variables

* update handling for new Suricata stuff

* fix suricata rrd name bits

* update suricata app page a bit

* misc

* add a new v2 suricata graph

* more suricata v2 graphs

* fix app data for suricata

* more graph work

* fix initial graphs

* the page selector for suricata v2

* more cleanup for suricata stuff

* add more graphs

* add suricata_v2_pkt_drop.inc.php

* add suricata_v2_error_delta.inc.php

* add suricata app layer flows graph

* add app layer tx

* start work on bypassed

* add flow bypass stuff

* add suricata error stuff

* add more graphs

* more suricata v2 work

* ...

* add packets overview

* cleanup suricata_packets_overview.inc.php

* more work on the overview graphs

* error delta is now per second

* cleanup suricata_v2_app_layer_error_alloc.inc.php

* add new flow proto stuff

* add suricata_v2_flow_proto

* add new overview graph

* update v2 app layer flows graph

* more v2 graph cleanup

* suricata graph cleanup

* suricata_dec_proto_overview now works

* more graph work for suricata

* more graph work

* add another overview graph

* snmp fix

* add a new overview graph

* add a new over view

* more graph stuff

* more memory graphs

* tidy pages bit

* more work on decoder stuff

* more decoder work

* decoder stuff done

* cleanup suricata_packets_overview.inc.php

* appl layer tx work

* add app flow stuff

* fix suricata_v2_decoder__event__ethernet.inc.php

* fix suricata_v2_decoder__event__ipv4.inc.php

* fix suricata_v2_decoder__event__ipv6.inc.php

* add alloc error stuff

* more error related work

* more error stuff

* start work on internal errors

* add internal error graphs

* parser error stuff done

* more decoder work

* decoder icmpv4

* more decoder work

* ltnull done

* mpls decoder stuff

* nsh decoder work

* decoder ppp done

* more decoder work

* more decoder work

* more vlan work

* vntag decoder stuff done

* descr_len auto set for generic stats

* ipv6 decoder stuff done

* style fix

* style fix

* more style cleanup

* more suricata graph work

* fix require usage

* tweak drop info a bit

* add some checks for for with suricata 7.0.4

* more suricata tweaks

* fix sagan instance handling

* another minor fix

* fix improper munging

* rever something accidentally added to this repo

* add linux_suricata-v2.snmprex

* rename the metrics for instances from instance_ to instances_

* add linux_suricata-v2.json test data

* style fix

* minor munging tweak

* style cleanup

* some app data fixes

* remove a typo from test data

* add deleted_at and make sure discovered is numeric and not a string 1

* derp... json fix

* remove something accidentally added

* fix a small erorr in the test data

* add a missing variable to the test data

* try another tweak for suricata json test stuff

* derp... fix a type in the suricata poller

* revert a test data change

* re-order some the metrics in the test

* some more metric re-ordering

* add a missing status

* remove something that was accidentally added to this branch instead of another

* strcmp cleanup

* style fix
2024-06-09 19:47:15 -05:00
Peca Nesovanovic
b2f23d04ea [vlans] Add VLANs information to Huawei VRP os (#16089)
* [vlans] Add VLANs information to Huawei VRP os

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

* ci

* test data

---------

Signed-off-by: Peca Nesovanovic <peca.nesovanovic@sattrakt.com>
2024-06-09 19:46:45 -05:00
Oleksandr Martsyniuk
7554d2ea15 Fix ECS4120 MIB, resolves #16093 (#16101) 2024-06-09 21:20:21 +02:00
Nicolas Berens
2bbacaaac8 add TI-G102i (.46) and TI-PG1284i (.34) (#16099) 2024-06-09 11:06:02 +02:00
Sorano
7430aeecf5 Update axiscam.yaml (#16098)
Add "Bullet Camera" in discover
2024-06-07 12:58:22 -05:00
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