Commit Graph

2056 Commits

Author SHA1 Message Date
Tony Murray
03d3660dfa
Fix Cisco entity-sensor (#16351)
* Fix Cisco entity-sensor
make mw_to_dbm and uw_to_dbm handle negative numbers

* fixes and update test data
2024-09-03 09:02:02 -05:00
Tony Murray
d8097b0c21
awplus sensor fixes (#16348)
* awplus sensor fixes

* Update test data
2024-09-02 22:26:02 -05:00
Tony Murray
64c0d6ff7f
Ignore entity-sensor invalid values (#16347) 2024-09-02 21:44:29 -05:00
Tony Murray
b096ff86fc
OcNOS Add AS7712-32X port mapping (#16332)
Fix walking ifName multiple times
Add EdgeCore test data
2024-09-02 11:43:34 -05:00
Jellyfrog
58ccccce29
use the already installed chromedriver (#16341) 2024-09-02 09:36:41 -05:00
Tony Murray
3e3d09bb26
OcNOS Inventory support (#16320)
* IP Infusion OcNOS inventory

* Hide strings that say item is missing
Handle more sfp ethernet types

* Add Edgecore models AS5912 & AS7316 port mapping

* Test data

* Apply fixes from StyleCI

---------

Co-authored-by: Tony Murray <murrant@users.noreply.github.com>
2024-08-27 07:06:47 -05:00
Zane C. Bowers-Hadley
7b98721e32
Poudriere support (#16229)
* add the poller

* save text status stuff

* add initial app page stuff

* add history table and start work on graphs

* checkpoint

* re-work the poudriere graph bits a bit more

* fix the poller and start work on the graphs

* polling fix

* more work on the poudriere stuff

* poke stuff with php-cs-fix

* add some more graphs

* more style fixes

* another style fix

* add more graphs

* add Poudriere docs

* add tests data

* some minor tests fixes

* a test tweak

* more test tweaks

* some more test tweaks

* tweak .data.build_info data .data.build_info to make the app data test saner

* derp... missed a item

* add app data
2024-08-21 01:27:26 -05:00
Tony Murray
9d35fbc6a7
Entity Physical discovery: Rewrite to modern style (#16289)
* Initial entity-physical code

* Split out Entity-MIB trait

* Cisco Cellular inventory

* Fix bad test data

* alfo80hd - we now include all entPhysical entries

* Correct aos7 test data

* Add entPhysicalClass as last resort for label in ui

* aos add previously filtered data

* Fixup arista-eos data

* Update ariast_eos data

* Arris, clean garbage in Rev fields

* Aruba Instant custom inventory ported

* ArubaOS CX add vendor type mib

* aviat-wtm test data refresh

* axos add shelf fix data fields a bit

* ciena-rls

* ciena-sds

* Skip cimc for now... no test data

* Cisco updates

* Comware data update

* Update dnos

* Clean Edgeos garbage, make code from Arris shareable

* Relaxed ifIndex match, some devices cheat and send back static strings instead of formatted OIDs

* Regex refinement and updated edgeos with new clean data

* Update edgeswitch data

* Update eltex-mes21xx data

* eltex-mes23xx

* Guess at eltex-mes24xx since there is no test data

* Update eurostor, fix firmware version

* Apply fixes from StyleCI

* fixes

* Update fortigate data

* Update fortiweb, ftd, and fusion

* Update linux LSI

* Fix hexToAscii null removal with different seperator handling

* icotera add final snmprec data to avoid snmpsim bug

* Update IOS data

* Update mrv-od

* Add junos translation

* Generic data updates n-r

* ruijie workaround snmpsim bug

* Port saf-cfm

* Recode Schleifenbauer, and fix entPhysicalIndex values

* SmartAX fixes

* sm-os and tait-infra93

* timos inventory was not right, fix it up

* ubiquoss-pon

* VRP, has custom data collection on top of normal
adapt port ifIndex lookup to handle it

* VRP exceeded the string length specified in ENTITY-MIB...

* data updates

* Final data update and code cleanup

* Apply fixes from StyleCI

* Lint fixes

* Add missing SnmpResponse->pluck() code

* Update db_schema.yaml

* Fix bad test data

* Another instant-on update

* oops

* Remove some unused code

# Conflicts:
#	includes/html/pages/device/overview.inc.php

---------

Co-authored-by: Tony Murray <murrant@users.noreply.github.com>
2024-08-21 01:12:09 -05:00
Ervin S.
38e453fe71
device - Adding support to Infortrend DS3016 (#16070)
* Adding support to Infortrend DS3016
* Adding snmprec for Infortrend DS3016
* Delete tests/snmpsim/DS_3016.snmprec
* change of the infortrend logo
* add the infortrend logo
* Delete tests/snmpsim/infortrend_test.snmprec
* again another logo replacment
* update yaml file to display sensor state
* Delete includes/definitions/discovery/infortrend_orig
* typo missed the . at start of oid
* change logo based on req. from PipoCanaja
* on req of PipoCanaja to fix the structure of the folder
* replacing the logo as req. from PipoCanaja
* Fix infortrend.yaml
* Remove mibs/IFT-SNMP-MIB
* Create infortrend_infortrend.json
* Update infortrend_infortrend.json

---------

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2024-08-15 11:06:13 +02:00
PipoCanaja
b62a4bacd4
bug - Fix CISCO-BGP4-MIB logic (#16260)
* Fix CISCO-BGP4-MIB logic

* style

* tests

* tests suite
2024-08-06 21:19:50 -05:00
PipoCanaja
d1ee543b6b
bug - Fixing 'cisco-pw' cpwVcMplsPeerLdpID (#16268)
* fix for cpwVcMplsPeerLdpID in IP form

* tests
2024-08-03 12:57:33 -05:00
Tony Murray
c572448ca0
Update PHP dependencies (#16263)
* Update PHP dependencies:

php-http/discovery (1.19.2 => 1.19.4)
symfony/finder (v6.4.8 => v6.4.10)
symfony/polyfill-mbstring (v1.29.0 => v1.30.0)
symfony/var-dumper (v6.4.4 => v6.4.10)
maximebf/debugbar (v1.20.2 => v1.22.3)
symfony/polyfill-php80 (v1.29.0 => v1.30.0)
symfony/polyfill-ctype (v1.29.0 => v1.30.0)
phpoption/phpoption (1.9.2 => 1.9.3)
graham-campbell/result-type (v1.1.2 => v1.1.3)
vlucas/phpdotenv (v5.6.0 => v5.6.1)
symfony/css-selector (v6.4.3 => v6.4.8)
symfony/polyfill-uuid (v1.29.0 => v1.30.0)
symfony/uid (v6.4.3 => v6.4.8)
symfony/routing (v6.4.3 => v6.4.10)
symfony/polyfill-php72 (v1.29.0 => v1.30.0)
symfony/polyfill-intl-normalizer (v1.29.0 => v1.30.0)
symfony/polyfill-intl-idn (v1.29.0 => v1.30.0)
symfony/mime (v6.4.3 => v6.4.9)
symfony/event-dispatcher (v6.4.3 => v6.4.8)
symfony/mailer (v6.4.4 => v6.4.9)
symfony/polyfill-php83 (v1.29.0 => v1.30.0)
symfony/http-foundation (v6.4.4 => v6.4.10)
symfony/error-handler (v6.4.4 => v6.4.10)
symfony/http-kernel (v6.4.4 => v6.4.10)
symfony/polyfill-intl-grapheme (v1.29.0 => v1.30.0)
symfony/string (v6.4.8 => v6.4.10)
symfony/console (v6.4.8 => v6.4.10)
brick/math (0.11.0 => 0.12.1)
ramsey/uuid (4.7.5 => 4.7.6)
symfony/translation (v6.4.4 => v6.4.10)
nesbot/carbon (2.72.3 => 2.72.5)
monolog/monolog (3.5.0 => 3.7.0)
league/flysystem (3.24.0 => 3.28.0)
league/flysystem-local (3.23.1 => 3.28.0)
dflydev/dot-access-data (v3.0.2 => v3.0.3)
league/commonmark (2.4.2 => 2.5.1)
laravel/framework (v10.46.0 => v10.48.18)
laravel/prompts (v0.1.16 => v0.1.24)
barryvdh/laravel-debugbar (v3.10.5 => v3.13.5)
phpstan/phpdoc-parser (1.26.0 => 1.29.1)
nikic/php-parser (v5.0.1 => v5.1.0)
doctrine/event-manager (2.0.0 => 2.0.1)
doctrine/dbal (3.8.2 => 3.8.6)
composer/pcre (3.1.4 => 3.2.0)
composer/class-map-generator (1.3.3 => 1.3.4)
symfony/polyfill-php81 (v1.29.0 => v1.30.0)
symfony/polyfill-php73 (v1.29.0 => v1.30.0)
symfony/filesystem (v6.4.8 => v6.4.9)
seld/jsonlint (1.10.2 => 1.11.0)
justinrainbow/json-schema (v5.2.13 => 5.3.0)
composer/semver (3.4.0 => 3.4.2)
composer/ca-bundle (1.5.0 => 1.5.1)
fico7489/laravel-pivot (3.0.11 => 3.0.12)
firebase/php-jwt (v6.10.1)
symfony/stopwatch (v6.4.3 => v6.4.8)
symfony/options-resolver (v6.4.0 => v6.4.8)
sebastian/diff (4.0.5 => 4.0.6)
react/event-loop (v1.5.0)
evenement/evenement (v3.0.2)
react/stream (v1.4.0)
react/cache (v1.2.0)
react/dns (v1.13.0)
react/socket (v1.16.0)
react/child-process (v0.6.5)
fidry/cpu-core-counter (1.1.0)
clue/ndjson-react (v1.3.0)
friendsofphp/php-cs-fixer (v3.51.0 => v3.61.1)
guzzlehttp/promises (2.0.2 => 2.0.3)
psr/http-factory (1.0.2 => 1.1.0)
php-http/message (1.16.0 => 1.16.1)
php-http/promise (1.3.0 => 1.3.1)
influxdata/influxdb-client-php (3.4.0 => 3.6.0)
guzzlehttp/psr7 (2.6.2 => 2.7.0)
guzzlehttp/guzzle (7.8.1 => 7.9.2)
phpstan/phpstan (1.10.59 => 1.11.9)
larastan/larastan (v2.9.2 => v2.9.8)
symfony/http-client (v6.4.4 => v6.4.10)
spomky-labs/pki-framework (1.1.1 => 1.2.1)
paragonie/sodium_compat (v1.20.0 => v2.0.1)
paragonie/constant_time_encoding (v2.6.3 => v3.0.0)
web-token/jwt-library (3.3.1 => 3.4.6)
web-token/jwt-util-ecc (3.3.0 => 3.4.6)
web-token/jwt-signature-algorithm-ecdsa (3.3.0 => 3.4.6)
web-token/jwt-signature (3.3.0 => 3.4.6)
web-token/jwt-key-mgmt (3.3.0 => 3.4.6)
psy/psysh (v0.12.0 => v0.12.4)
laravel/ui (v4.4.0 => v4.5.2)
librenms/laravel-vue-i18n-generator (dev-master c662202 => dev-master 8c8bb89)
mews/purifier (3.4.1 => 3.4.2)
mockery/mockery (1.6.7 => 1.6.12)
nunomaduro/laravel-console-summary (v1.10.0 => v1.11.1)
phpseclib/phpseclib (3.0.36 => 3.0.39)
php-amqplib/php-amqplib (v3.6.1 => v3.7.0)
php-parallel-lint/php-parallel-lint (v1.3.2 => v1.4.0)
phpstan/phpstan-deprecation-rules (1.1.4 => 1.2.0)
sebastian/resource-operations (3.0.3 => 3.0.4)
sebastian/global-state (5.0.6 => 5.0.7)
sebastian/exporter (4.0.5 => 4.0.6)
sebastian/cli-parser (1.0.1 => 1.0.2)
theseer/tokenizer (1.2.2 => 1.2.3)
phpunit/php-code-coverage (9.2.30 => 9.2.31)
phar-io/manifest (2.0.3 => 2.0.4)
myclabs/deep-copy (1.11.1 => 1.12.0)
phpunit/phpunit (9.6.17 => 9.6.20)
laravel/socialite (v5.12.1 => v5.15.1)
socialiteproviders/manager (v4.5.1 => v4.6.0)
spatie/error-solutions (1.1.1)
spatie/backtrace (1.5.3 => 1.6.2)
spatie/flare-client-php (1.4.4 => 1.8.0)
spatie/ignition (1.12.0 => 1.15.0)
spatie/laravel-ignition (2.4.2 => 2.8.0)
symfony/yaml (v6.4.3 => v6.4.8)

* Update dusk version to fix bug

* Update base DuskTestCase to match upstream

* Minor phpstan type changes

* add more types
2024-08-02 22:23:31 -05:00
Cody Harris
d67df039e3
device - Added Baicells Atom OD04 CPE support (#14838)
This adds a MIB from the Baicells website, lightly modified
(s/BAICELLS-MIB/BAICELLS-CPE-MIB), and yaml files for LibreNMS. Currently OS
detection works, but sensors are reporting '0'.

I can easily get the data with snmpget, so I know that part is working. The
issue I'm seeing looks like the {{ $index }} substitution in my sensor yaml
isn't being filled out. Here's some example output from poller.php that backs
this up:

```
.1.3.6.1.4.1.53058.2.2.7.: Unknown Object Identifier ()
.1.3.6.1.4.1.53058.2.2.8.: Unknown Object Identifier ()
.1.3.6.1.4.1.53058.2.2.12.: Unknown Object Identifier ()
.1.3.6.1.4.1.53058.2.2.13.: Unknown Object Identifier ()
```

* adjustments to baicells od04

* undo modification to mib

* add original unmodified mib, tweak yaml, add time conversion function

* added baicells od04 snmprec

* skip invalid values

* Rename baicells-od04.snmprec.txt to baicells-od04.snmprec

* Update and rename BaiCE-BM-2.5.23_SNMP_MIB-CAT4.txt to BAICELLS-MIB

* Update baicells-od04.yaml

* Create BaicellsOd04.php

* move userfunc into OS

* style

* squash php casting warning

* missing static

* style

* fix {{ $index }}

* Create baicells-od04.json

---------

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2024-08-02 19:18:17 +02:00
Jellyfrog
624099cf9f
Add support for GUDE Expert Sensor Box (#16257) 2024-08-01 22:34:28 +02:00
PipoCanaja
4777247327
Cleanup - Ensure percentage is calculated out of positive values only (#16250)
* Percentage and positivity

* fix bug victims hpe-ilo
2024-07-31 09:37:07 -05:00
Tony Murray
b41d1b7ffb
Fix Port Channels take 2 (#16246)
* Resubmit of #16227

* Add missing new files
2024-07-26 08:45:34 -05:00
Jellyfrog
e45dd59f77
Revert "Fix Port Channel (#16227)" (#16245)
This reverts commit 0d201c44c9.
2024-07-26 15:26:04 +02:00
Tony Murray
0d201c44c9
Fix Port Channel (#16227)
* Fix expandable sizing

* Temp fix: port_id_{low,high} is actually ifIndex

* new PortsStack discovery module, store actual port_ids

* Show 4 rows of ports by default

* Add test data

* Fix up the single port view too

* Apply fixes from StyleCI

* Update db_schema.yaml

* Update base migration because sqlite cannot add primary keys

* Fix phpstan failures

---------

Co-authored-by: Tony Murray <murrant@users.noreply.github.com>
2024-07-25 23:39:36 -05:00
Frederik Kriewitz
23965cee49
Add support for memory, power status and transceiver monitoring to Fiberstore S3900 series switches (#16225) 2024-07-19 19:39:39 +02:00
Tozz
090611f6c1
Add support for FortiNet FortiExtender (#16219)
* Add support for FortiExtender - Wireless Sensors

* Add support for FortiExtender - Discovery YAML

* Add support for FortiExtender - YAML Sensors

* FortiExtender 201E SNMPsim

* FortiExtender 201E - Test Data

* FortiExtender MIB

* StyleCI

* Fix StyleCI

* Better now?

* Whoops

* Update fortiextender_201e.json

* Update fortiextender_201e.json

* Add files via upload

* Delete mibs/fortinet/FORTINET-FORTIEXTENDER-MIB.mib
2024-07-18 22:47:40 +02:00
Nicolas Berens
512403a255
Tripplite console server (#16156)
* exclude triplite console servers

* add definition for tripplite console servers

* add test files

* renamed to lowercase

* add testdata

* add testdata

* disable poller and discery modules that do not apply to this device

* lo will always report empty values, so lets ignore it

* removed disabled poller modules
2024-07-17 18:15:03 -05:00
PipoCanaja
97a13f6fe8
discovery - LLDPv2 support extension, and discovery-protocols tests (#16113)
* LLDPv2

* style

* styleAgain

* LLDPv2Tests

* discovery_module_tests

* VRP links tests

* tests

* AOS

* DLINK

* CISCOSB

* AOS

* AOS7

* ARUBA

* ZYNOS

* DLINK

* fix orderby

* edgecos

* boss

* edgeswitch

* voss

* eltex-mes23xx

* fs-switch

* ciena-sds

* cisco

* procurve

* tests/data/moxa-etherdevice

* junos

* mypoweros

* fixTestsArubaOS_orderby

* tests/data/bti800.json

* tests/data/scalance_xc206-2sfp.json

* ciena-sds

* aruba-cx

* orderby remote_port as well

* vrp

* force test rerun
2024-07-17 16:07:57 -05:00
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
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
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
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
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
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
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
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
Mark Westerterp
07fba0436d
Add more Synology health info (#16178) 2024-07-04 14:33:34 -05:00
Frederik Kriewitz
05277cd6bd
Add support for Fiberstore branded Centec switches (#16175) 2024-07-04 14:27:40 -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
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
Nicolas Berens
137bd231f9
Update axis detection (#16130)
* add PTZ and Dome Cameras

* remove default temperature limits

* set temperature limit per device type

* fix linting

* add test data

* set original limits as default and use integers instead of strings
2024-06-24 19:50:05 -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
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