Commit Graph

20957 Commits

Author SHA1 Message Date
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
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 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