Commit Graph

20248 Commits

Author SHA1 Message Date
Tony Murray
c1258320f8 Availability module fixes (#15369)
* Refactor poller to allow modules to run even if the device is down
Include core in config (but not webui) to avoid silly shenanigans
Inject datastore into polling

* Needed to split datastore interface

* Cleanup some data_udpate() references

* Apply fixes from StyleCI

* Fix legacy poller :D

* Output to the correct stream

* Fix lint issues

* Apply fixes from StyleCI

* Fix discovery not including core and submodule handling

* Use whereRaw

---------

Co-authored-by: StyleCI Bot <bot@styleci.io>
2023-10-04 10:32:59 -05:00
Tony Murray
4211b1c46f Remove unused functions (#15371)
* Remove unused functions
inline other legacy functions

* Apply fixes from StyleCI

---------

Co-authored-by: StyleCI Bot <bot@styleci.io>
2023-10-04 10:17:34 -05:00
Tony Murray
3366ecad39 Moxa EDS improve discovery (#15375)
Consolidate walks so less need to be performed.
This should help a lot since each device model has its own MIB.
2023-10-04 10:17:18 -05:00
Tim de Boer
15fd452b8a Added extra ASN-range comments, added Priv eBGP on host details, changed color to light-blue instead of red (#15372) 2023-10-04 10:07:14 -05:00
Tim de Boer
27be56ecf1 Fixes check_dns against localhost when a search-domain is configured (#15373) 2023-10-04 09:15:54 -05:00
barryodonovan
529b721b03 Specify radius attributes for auth roles (#15374)
* Specify radius attributes for auth roles

* Clarify that any role can be defined
2023-10-04 09:11:04 -05:00
Tony Murray
c6d815999f Rearrange AD auth settings (#15363)
so it makes more sense, add missing settings
2023-10-04 02:08:56 -05:00
Noah Roufus
d472c5cbff Added support for Cambium cnMatrix switches (#15351)
* Added support for Cambium cnMatrix switches

* Fixed styling issues

* Fixed styling issues

* Fixed duplicate, incorrectly labeled LLDP-EXT-DOT3-MIB and LLDP-EXT-DOT1-MIB

* Corrected MIB with the same name but with different OIDs configured: LLDP-EXT-MED/-CAMBIUM/-MIB

* Removed my added duplicate MIBs

* Removed unused MIBs
2023-10-04 01:50:41 -05:00
SourceDoctor
65daa10b1b sort services by type and name (#15367) 2023-10-04 01:40:53 -05:00
Justin Lentz
470dcbe9bf Update aviat-wtm.json (#15368) 2023-10-03 16:47:45 -05:00
dependabot[bot]
aebe9ba93d Bump composer/composer from 2.5.8 to 2.6.4 (#15364)
Bumps [composer/composer](https://github.com/composer/composer) from 2.5.8 to 2.6.4.
- [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.5.8...2.6.4)

---
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>
2023-10-03 10:05:43 +02:00
Tony Murray
087053ae91 Add Fortinet logo (#15359)
* Add Fortinet logo

* better viewbox
2023-09-29 00:08:14 +02:00
Tony Murray
f4ab1ab64d Update aviat logos to SVG (#15360) 2023-09-29 00:07:55 +02:00
Tony Murray
efb763d8c5 Vertically center device icons (#15361) 2023-09-29 00:07:23 +02:00
Tony Murray
6f329a7595 Fix alerting find owner contacts on old SQL server versions (#15355)
* Fix alerting find owner contacts on old SQL server versions
Older SQL server versions had a bug where they didn't accept parenthesis around the first query of a union statement.
It was difficult to remove these parenthesis, so use whereHas instead.

* Fix style
2023-09-28 09:49:29 -05:00
Noah Roufus
ca5b75a200 Added support for Cambium cnWave60 gear (#15358) 2023-09-27 18:07:08 -05:00
Tony Murray
803e7c0004 Fix Linemessagingapi class name (#15356) 2023-09-27 13:49:12 -05:00
Tim de Boer
36cc6c3237 Fixing Private eBGP visualization, corrected 16bit ASN private range, added 32bit ASN range (#15357)
* Updated Install-LibreNMS.md

Default PHP version of Debian 11 (following this documentation) is 8.2 currently, instead of 8.1

* Fixed Markdown/Parse mode for Telegram

* Fixing Private eBGP visualization, corrected 16bit ASN private range, added 32bit ASN range

* Removed quotes
2023-09-27 13:48:27 -05:00
brointhemix
1feabc04f5 Add unzip to all install docs dependencies (#15354)
* Update Install-LibreNMS.md

Composer complains that neither unzip nor 7z is installed so it would unzip using PHP which may or may not corrupt the results file. This has always worked fine for me but I guess it might be a better idea to use the "real" unzipper.

```
librenms@librenms1:~$ ./scripts/composer_wrapper.php install --no-dev
Could not scan for classes inside "vendor/dapphp/radius" which does not appear to be a file nor a folder
> LibreNMS\ComposerHelper::preInstall
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Package operations: 118 installs, 0 updates, 0 removals
As there is no 'unzip' nor '7z' command installed zip files are being unpacked using the PHP zip extension.
This may cause invalid reports of corrupted archives. Besides, any UNIX permissions (e.g. executable) defined in the archives will be lost.
Installing 'unzip' or '7z' (21.01+) may remediate them.
```

* Update Install-LibreNMS.md

Sorted 'unzip' package alphabetically in Debian, Ubuntu and CentOS installation steps.
2023-09-27 13:11:26 -05:00
Tony Murray
723c51be32 Calix logo update (#15348) 2023-09-27 07:18:20 -05:00
Tim de Boer
c1008c44b8 Fix BGP peer IP missing in Routing page (#15352)
* Updated Install-LibreNMS.md

Default PHP version of Debian 11 (following this documentation) is 8.2 currently, instead of 8.1

* Fixed Markdown/Parse mode for Telegram

* Changed peer_iden to peer_addr in routing/bgp.inc.php
2023-09-27 07:14:13 -05:00
I-FGSD
e89f97057a Update Windows.php (#15350)
I added Server 2022 and Windows 10/11 22H2 (and a few other popular but older windows builds that people might still have in use).

I also propose changing the naming of windows machines to better reflect the release and version of windows. This naming is derived from this page: https://en.wikipedia.org/wiki/List_of_Microsoft_Windows_versions

For example, for Windows Server it was previously set to something like 'Windows Server 2019 1809 (NT 6.3)' which is incorrect as MS stopped using NT 6.3 since Windows 10 version 1507. Now it'll display as 'Windows Server 2019 (1809)'. The kernel/version is in parentheses and isn't also in the main part of the name as it's redundant/duplicated information.
2023-09-26 20:54:57 -05:00
Tim
2ee837eb90 Fix incorrect pages offset on app ntp page (#15349)
* Update app_ntp.inc.php

Fixes ISSUE 15344
- Corrects start point in table when showing NTP APP
- Corrects blank page when showing ALL NTP entries

* Update app_ntp.inc.php

Use row count for page start not a hard coded 10
2023-09-26 20:47:45 -05:00
Tony Murray
c8041b6699 FDB Tables improve performance (#15333)
* FDB Tables improve performance
Reduce unnecessary sql queries, by using a relationship
Cache vendor oui lookups

* Oui already "clean"

* Fix typo
2023-09-25 19:49:22 -05:00
Zane C. Bowers-Hadley
9b159f8646 note the line that needs uncommented for osupdate if being used as a agent (#15099) 2023-09-25 18:47:23 -05:00
Cyril LAVIER
f9ef5fe3fe Add model for Christie Digital projectors (#15088) 2023-09-25 18:39:20 -05:00
PipoCanaja
584768549a Improve "count" graphs for F5OS (#15335)
* fix rrd_type: COUNTER and change index to force new graphs

* tests

* remove number in index
2023-09-25 18:28:40 -05:00
Noah Roufus
57e1d3ff48 Calix AXOS Sensor Changes (#15343)
* Sync'd up MIB changes

* Added new ONT sensors: admin/oper state, rx/tx levels
2023-09-25 15:30:30 -05:00
Tony Murray
3e5230013a Stable release update clarification (#15326) 2023-09-24 15:20:26 -05:00
PipoCanaja
91fed0b118 Refactor discovery-protocols (#15324)
Refactor discovery-protocols

Update zynos.yaml
Update discovery-protocols.inc.php
Allow unordered for LLDP-MIB discovery in Zyxel switches
2023-09-24 15:20:10 -05:00
PipoCanaja
6ba103db68 Device NAC page to Laravel Blade (#15329) 2023-09-24 15:19:25 -05:00
ch
292a37523c app: bird2 set timeformat protocols (#15292)
By default "iso show ms" is used. Which is not compatible
with the timeformat parsing used. Add a note to the doc
specifying it is important to set the timeformat used
in the timeformat protocol output.
2023-09-24 15:11:08 -05:00
SourceDoctor
5c9f3c80e5 show device group on device overview (#15338)
* show device group on device overview

* .

* better styling on device group display
2023-09-24 11:32:01 -05:00
SourceDoctor
6e592f99c1 Scale disk spezific SMART Graph from 0 (#15339) 2023-09-24 18:12:11 +02:00
SourceDoctor
c0a233700c show never polled information (#15341) 2023-09-24 18:10:11 +02:00
SourceDoctor
88eee297c4 show Temperature Graphs on Smart App Overview (#15342) 2023-09-24 18:09:25 +02:00
James
3e3d15c297 Adding Active Power in Watts to APCs (#15337)
* Adding oid upsAdvOutputActivePower

Adding oid upsAdvOutputActivePower under the power section as this value is in watts.

* Create apc_smx750.json

Adding test JSON data for APC changes

* Create apc_smx750.snmprec

Adding snmpsim test data for APC changes

* Update apc_smx750.json

* Update apc_smx750.snmprec

* Update apc_smx750.json
2023-09-23 16:35:40 -05:00
Wheel
52bc8dc7de Device stulz WIB8000 (#15271)
* Device stulz WIB8000

* Fix multiplier oid is in bar + 1 decimal

* Fixed multiplier

* More stulz sensors
2023-09-20 06:41:31 -05:00
Tony Murray
bfc82a5383 Bump version to 23.9.1 23.9.1 2023-09-18 20:59:06 -05:00
Tony Murray
35406b4b32 Fix some issues with admin self settings (#15332)
Don't require old password when not settings password
Show old password field for user's own user
2023-09-18 14:35:12 -05:00
Tony Murray
1bf68f73c4 Docs security secure session cookie (#15328)
* Fix unescaped output in ipv6 search page

* Add SESSION_SECURE_COOKIE to the security recommendations page
2023-09-18 11:11:44 -05:00
Tony Murray
274a89bcb4 Fix eventlog debug code left in (#15331) 2023-09-18 09:14:52 -05:00
Tony Murray
8fd8d9b06a Fix unescaped output in ipv6 search page (#15327) 2023-09-15 16:05:08 -05:00
Tony Murray
ba67d886c8 Fix bug in sysContacts email collection (#15325)
Also, include trace in log when an error occurs
23.9.0
2023-09-15 08:05:55 -05:00
Tony Murray
4b98bd7607 Bump version to 23.9.0 2023-09-15 07:29:15 -05:00
Tony Murray
a6102f754f Changelog for 23.9.0 2023-09-15 07:29:14 -05:00
MrMoCoDev
7bbe0a22fd FIX TP-Link JetStream 3.0.0 Build 20180511 Rel.36491(s) T1500-28PCT 3.0 (#15318) 2023-09-14 10:33:23 -05:00
Tony Murray
41cffd3bfd Fix login page HTML (#15321)
got split incorrectly at some point
2023-09-14 09:27:32 -05:00
Tony Murray
b5f12ee03f ADAuthorizer auth skip count entry (#15322)
fixes #15304
2023-09-14 09:27:16 -05:00
Tony Murray
52e264a417 Allow port search API to search ifAlias again (#15320)
Was accidentally omitted when fixing a security issue with the API.
fixes #15316
2023-09-14 08:45:20 -05:00