Commit Graph

20982 Commits

Author SHA1 Message Date
Tony Murray
1cceafb887 Improve Snmpsim usage to ease testing (#15471)
* Snmpsim use python venv
Patch to enable listening while minimizing output
Update lnms dev:simulate, tests, and ./scripts/save-test-data.php
removed old option to start snmpsim from older scripts, use lnms dev:simulate

* Apply fixes from StyleCI

* various fixes

* Remove patch official package is updated

---------

Co-authored-by: StyleCI Bot <bot@styleci.io>
2024-07-17 16:05:07 -05:00
Tony Murray
10669226fc Fix snmpsim in CI (#16213) 2024-07-17 10:50:19 -05:00
Tozz
22a8a237e8 Add value 0 to HP Physical Drive Status (meaning no disk is inserted) (#16211)
* Add value 0 to HP Physical Drive Status (meaning no disk is inserted)

* Updated test data

* Updated test data

* Update hp.inc.php
2024-07-17 17:42:08 +02:00
Tony Murray
f3227c3727 Bump version to 24.7.0 24.7.0 2024-07-17 01:35:08 -05:00
Tony Murray
e64f5be06f Changelog for 24.7.0 2024-07-17 01:35:07 -05:00
fabriciotm
c071768fe7 Support to Brazilian Portuguese (#16209)
* Added Portuguese - Brasil language

* Update auth.php

* Add files via upload

* Update auth.php

* Update passwords.php

* Update passwords.php

* Update settings.php

* Update settings.php

* Update settings.php

* Update settings.php

* Update settings.php

* Update settings.php

* Update settings.php

* Update pt-BR.json

* Update widgets.php

* Update widgets.php

* Update validation.php
2024-07-17 01:20:35 -05:00
Tozz
9abfa7b0e6 Fix FortiGate Cluster Sync status (#16206)
* Fix FortiGate Cluster Sync status

* Update fortigate.inc.php

* StyleCI

* Tests

* Update fortigate.inc.php

* Add files via upload

* Delete tests/data/fortigate_500d.json

Weird unrelated OSPF test failure

* Re-add fortigate_500d.json

* Fix author/copyright

* Update fortigate.inc.php

---------

Co-authored-by: Tony Murray <murraytony@gmail.com>
2024-07-17 01:19:08 -05:00
Frederik Kriewitz
5e69d89791 bdcom/fs-bdcom: add transceiver threshold support (#16203)
* update BDCOM NMS-IF-MIB

* bdcom/fs-bdcom: add transceiver threshold support
2024-07-15 23:51:34 +02:00
Tony Murray
04101c2c6f SnmpQuery default improvements (#16204)
Always ignore underscores. Vendors constantly break this rule and it doesn't seem to have any side effects to enable -Pu.
translate respect hideMib() option
2024-07-15 08:52:37 -05:00
TridTech
a87ed6dcc5 Add NAC to Arubaos-CX (#16194)
* Create ArubaosCx.php

* Create arubaos-cx_nac.snmprec

* Remove un-needed "use" lines

* Add spaces for formatting

* Add blank default values if information is not present

For table entries that do not have a value, add a fallback to a blank string, following the lead of other OS files

* Changing return types for vlan to match column type

* Delete indents on blank lines to please the formatter

* Create arubaos-cx_nac.json

* Update arubaos-cx_nac.json

* fix authz_status missing value

---------

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2024-07-15 14:04:34 +02:00
Zane C. Bowers-Hadley
8738e978ce extend update for wireguard, correct is_int to is_numeric for polling purposes, and clean up the app page (#16182)
* replace is_int with is_numeric

* update the docs for wireguard for the new extend

* relocate the app data bit

* update the data for the wireguard test

* start reworking the wg app page... details part done

* app page mostly done

* finish the wireguard app page

* style fix

* now sorted

* add additional info to the peer page

* style fixes

* a small fix for the links

* style fix

* make the pubkey column in details link to the peer page

* escape the pubkey
2024-07-14 22:58:41 -05:00
Walkablenormal
99f72823bb InfluxDBv2 allow filter by group and disable debug by default (#16186)
* CHG: Dynamic debug flag and ability to exclude networks.

* Update config_definitions.json

* Update settings.php

* Update documentation.

* FIX: StyleCI Fixes.

* FIX: StyleCI Fixes.

* CHG: Changed excluding by network to by group membership

* Update settings.php

* Update config_definitions.json

* Update documentation.

* FIX: StyleCI Fixes.

* FIX: StyleCI Fixes.

* FIX: Fetch device data from cache.

* Add a check to see if we are trying to exclude by group before fetching groups.

* remove whitespace

---------

Co-authored-by: Tony Murray <murraytony@gmail.com>
2024-07-14 18:17:02 -05:00
Tony Murray
ac8a69fa3b Fix null in sensors discovery (#16201) 2024-07-14 17:30:43 -05:00
Tozz
b0c7fe8c8d Revert "Fix Fortinet HA-status polling state translations (#14921)" (#16202)
This reverts commit 531009983c.
2024-07-14 17:30:30 -05:00
Tony Murray
863eee86d9 Radwin MIB update (#16200) 2024-07-14 15:17:44 -05:00
Tony Murray
e7dec574ce Change entPhysical table column defaults (#16199)
* Change entPhysical table column defaults

* Update db_schema.yaml

* Restore unrelated db_schema change
2024-07-14 11:17:10 -05:00
Zane C. Bowers-Hadley
bc82473f8a add missing graphs for NFS app page (#16197) 2024-07-13 22:21:11 +02:00
PipoCanaja
56b5eff952 Maps - Keep edge black when link is 0 bps (#16192)
* Black when link is 0bps

* style
2024-07-11 10:02:11 -05:00
Frederik Kriewitz
d1fd57a64a BDCOM: add transceiver monitoring (#16160) 2024-07-10 09:32:13 -05:00
Tony Murray
711a0f9af9 Add entity physical test data (#16183)
* Add entity physical test data

* Fix voss_8608 accidental character

* Non-ascii character... unsure about this one.

* Fix bad types on test data.

* Fix bad types on test data.

* Updated test data since snmprec is repaired a bit

* More fixes

* Fixup more bad data

* Extra null byte removed

* Add missing info

* Fix bad data
2024-07-10 04:04:26 -05:00
Blair H
991424e543 Fix up the Siteboss571 discovery yaml to split pdnOutputCurrentValue and pdnMainCurrentValue indexes (#16181)
* Update siteboss571.yaml - Tidy up descriptions and fix current sensors

Fix issue with current sensors 1.1 and 200.1 - these were being overwritten with the per-module sensors due to overlapping IDs. insert extra index definition for each type. this is a breaking change that will cause new RRD files to be created for the current sensors with the new index names.

* Update siteboss571_siteboss571.snmprec

update test data

* Update siteboss571_siteboss571.json

* Revert "Update siteboss571_siteboss571.snmprec"

This reverts commit b767dbc91b.

* Revert "Update siteboss571_siteboss571.json"

This reverts commit a144078ed8.

* Create siteboss571_siteboss571-2.snmprec

* Remove Siteboss571 PHP detection, add new json test output

* Update siteboss571_siteboss571.json with new discovery

---------

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2024-07-09 23:02:40 +02:00
Tony Murray
1baf8f4a1f lnms snmp:translate always show textual and numeric translations (#16187)
* lnms snmp:translate always show textual and numeric translations
accept os name as device spec for translate
values output tidy up for translate and one result

* ingore phpstan
2024-07-09 12:04:18 -05:00
Nicolas Berens
e083775e1d Add Hardware and frmware detection for moxa P510 (#16185)
* fix version and hardware oid for moxa p510
* update test
* Fix moxa-etherdevice_edsp510a8poe.json

---------

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2024-07-08 14:17:43 +02:00
Frederik Kriewitz
5e3cfd879d nut-ups: adjust Line Nominal limits (#16180) 2024-07-07 12:57:20 +02:00
Tony Murray
60fa0d8479 Changelog cleanup (#16154)
* Changelog cleanup
Split out previous years and try to exclude from search index

* Update test exception
2024-07-05 09:02:11 -05:00
Tony Murray
f5db13170f BGP integer fields fix (#16173)
Set 0 in integer fields with missing data
2024-07-05 13:43:12 +02:00
Frederik Kriewitz
273226bb5f Add support for Fiberstore branded BDCOM switches (#16162)
* Add support for Fiberstore branded BDCOM switches

* Move mibs into sub-dirrectory

---------

Co-authored-by: Tony Murray <murraytony@gmail.com>
2024-07-04 15:22:37 -05:00
f7naz
85268d0db6 SnmpTrap Handler for Cisco IOS LDP Session UP and DOWN (#16107)
* SnmpTrap Handler for Cisco IOS LDP Session UP and DOWN

* Indentation correction

* Indentation correction 2

* Indentation correction 3

* MIB correction in snmptraps.php

* Added test file and mib

* Added test file and mib - v2

* Added test file and mib - v3

* Added test file and mib - v4

* Added test file and mib - v5

* Added test file and mib - v6

* Added test file and mib - v7

* Added test file and mib - v8

* Added test file and mib - v9

* Added test file and mib - v10

* Added test file and mib - v11

* Added test file and mib - v12

* Added test file and mib - v13

* Added test file and mib - v14

* Added test file and mib - v15

* Added test file and mib - v16

* Added test file and mib - v17

* Added test file and mib - v18

* Added test file and mib - v19

* Added test file and mib - v20

* Added test file and mib - v21

* Added test file and mib - v22

* Added test file and mib - v23

* Added test file and mib - v24

* Add ifAlias in logs messages and change type to interface for message

* Add ifAlias in logs messages and change type to interface for message

* Add ifAlias in logs messages and change type to interface for message

* Add ifAlias in logs messages and change type to interface for message

* Add ifAlias in logs messages and change type to interface for message

* Add ifAlias in logs messages and change type to interface for message
2024-07-04 15:16:12 -05:00
Zane C. Bowers-Hadley
1b5f5cee37 PHP-FPM app update to handle multiple pools (#16122)
* checkpoint work for now

* polling should be good now

* re-work php-fpm some more

* re-work the php-fpm app page

* add php-fpm_v1_combined.inc.php

* add more graphs

* more work

* add last request cpu

* fix stats for pools

* more graph work

* update the docs for php-fpm

* more graph work

* more graph stuff

* graph stuff now done

* some style fixes

* another style fix

* remove a unneeded use line

* add new tests

* add some missing items to the test

* json fix

* remove start time and add data
2024-07-04 15:03:45 -05:00
Peca Nesovanovic
ba8d7338a3 [webui] Ports: correct sorting order when using ifName (#16170)
Signed-off-by: Peca Nesovanovic <peca.nesovanovic@sattrakt.com>
2024-07-04 14:34:13 -05:00
Mark Westerterp
07fba0436d Add more Synology health info (#16178) 2024-07-04 14:33:34 -05:00
Tony Murray
fd3e786987 Fix incorrect get_class call (#16179) 2024-07-04 14:30:32 -05:00
Frederik Kriewitz
05277cd6bd Add support for Fiberstore branded Centec switches (#16175) 2024-07-04 14:27:40 -05:00
Tony Murray
3aedfb4f3b Fix some testing issues (#16174)
* Fix some testing issues
index doesn't exist in ModuleTestHelper
Cache issue in NetSnmpQuery (specifically affects testing)

* Apply fixes from StyleCI

---------

Co-authored-by: Tony Murray <murrant@users.noreply.github.com>
2024-07-02 09:21:39 -05:00
Tony Murray
0cee13c831 Fix php issue in cisco ntp code (#16172)
index does not exist error
2024-07-02 09:21:19 -05:00
Tony Murray
cca35fcb61 Update some misc (#16171) 2024-07-02 09:21:04 -05:00
dennypage
8dc9bcfeb1 Allow for AXIS Panoramic cameras such as the P4707 (#16166) 2024-07-02 09:20:51 -05:00
VoipTelCH
c55bffd712 Fixed wrong column and parameter used when deleting a location via API (#16109) 2024-07-02 02:50:56 +03:00
Zane C. Bowers-Hadley
0a184d180a add some alert template items for CAPEv2 (#16077)
* add CAPE reported = 0 && completed = 0 , nothing is processing

* add CAPE metric generation is failing for some reason and add delay for the last one

* add CAPE Criticals > 0

* add CAPE Errors > 0

* drop of the rules and convert the other to builder

* finalize rules for cape
2024-06-30 19:37:27 -05:00
Zane C. Bowers-Hadley
75d4da325a add generic and improved NFS support with initial support for both FreeBSD and Linux (#15906)
* add nfs-shared.inc.php

* add nfs poller

* polling now works

* add nfs.inc.php page

* mount options works now

* format cleanup

* add some missing items to the stats

* commit work from last night so I can swap over to ldap

* add gauge support

* save the OS type for it

* more work on NFS stuff

* more nfs work

* display cleanup some

* more nfs work

* update docs for NFS

* add nfs_server_rpc

* style fix

* add snmprec file

* more test stuff

* data cleanup

* style cleanup

* more style fix

* another style fix

* add deleted_at

* add client_rpc_info_calls

* more test tweaks

* more tweaks

* set two items as gauges that should be gauges

* convert a few more things from counters to gauges

* a few more tweaks for NFSv4
2024-06-30 19:36:58 -05:00
Wheel
1129fa1d64 New OS broadworks / broadsoft (#16078)
* New OS broadworks / broadsoft

* Remove unused and cleanup commented lines

* Update and rename BW-BroadworksMediaServer.mib to BW-BroadworksMediaServer

* Update and rename BW-BroadworksApplicationServer.mib to BW-BroadworksApplicationServer

* Update and rename BW-BroadworksNetworkServer.mib to BW-BroadworksNetworkServer

* Update and rename BroadworksMaintenance.mib to BroadworksMaintenance

---------

Co-authored-by: Tony Murray <murraytony@gmail.com>
2024-06-30 19:33:35 -05:00
Tony Murray
20d98cf073 Revert "Update edgeswitch.yaml to add new UBNT OID (#16168)" (#16169)
This reverts commit 24aebb8518.
2024-06-29 12:07:49 -05:00
Kenny_PDY
24aebb8518 Update edgeswitch.yaml to add new UBNT OID (#16168)
* Update edgeswitch.yaml

change type: from network to network_switch per
https://community.librenms.org/t/help-with-definitions-yaml-files/16239

add new OID for UBNT device per
https://community.librenms.org/t/edgeswitch-os-discovery-fix/18831

* Update edgeswitch.yaml

* Update edgeswitch.yaml

* Update edgeswitch.yaml

---------

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2024-06-29 12:06:02 -05:00
Frederik Kriewitz
39a1a6e30b add support for snmpsim-lextudio (#16161) 2024-06-29 11:29:41 -05:00
Tony Murray
5ab2f685b4 Fix device ports VRF display (#16146)
impossible to display before
2024-06-28 08:45:50 -05:00
Tony Murray
108727c500 Handle missing device when linking (#16164)
* Handle missing device when linking
Sometimes a device is gone, but data still points to it. Prevent error when that happens (even though it should not)

* Handle more gracefully

* Remove original work around

* Allow unsaved devices, we just need device_id really
2024-06-28 08:48:11 +02:00
Tony Murray
afba58cb29 Fix for lnms snmp:translate (#16159)
Wasn't handling things correctly
Disable numeric if the oid is already numeric and add ALL mibs
2024-06-27 13:04:06 -05:00
Tony Murray
6474e1e0b8 Convert list_arp API to Eloquent (#16111) 2024-06-25 11:04:55 -05:00
Justin Lentz
8ac1e9a408 Fortigate append-index doc (#16153)
* Create Fortigate.md

* Update mkdocs.yml

* Update Fortigate.md

* Update mkdocs.yml

---------

Co-authored-by: Tony Murray <murraytony@gmail.com>
2024-06-25 09:02:16 -05:00
schnobbc
73e6376de1 ArubaOS - Addtional support to poll Active VPN sessions (#16137)
* This commit changes two files in the LibreNMS repo, to enable polling of the ArubaOS OID that reports active vpn sessions.

The first file is the arubaos.yaml discovery file to enable polling of the following OID WLSX-USER-MIB::wlsxNumOfUsersVPN(OID: .1.3.6.1.4.1.14823.2.2.1.4.1.4.2.0).

The second file  arubacontroller_vpnsessions.inc.php is a graphing file to allow the use of this sensor on a dashboard.

* Update arubacontroller_vpnsessions.inc.php

Added newline at end of file to follow style guide

* Update arubaos.yaml

Added newline at end of file to follow style guide

* keep {{ $index }} in the num_oid and index

* Update arubacontroller_vpnsessions.inc.php

fix to match the rrdfilename change

* Added test data

* Added test data

* Removed extra file

* added variant vmc json test data

* revert arubaos.json

---------

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2024-06-25 10:15:28 +02:00