Commit Graph

19900 Commits

Author SHA1 Message Date
StyleCI Bot
0c095b063f Apply fixes from StyleCI 2023-03-13 20:35:14 +00:00
Stef
0e322ae5d5 Pseudowires refresh (#14882)
* refresh the pseudowires

* linting
2023-03-13 10:19:23 -05:00
Tony Murray
d3f02e6bb7 SnmpQuery, respect snmp.max_oid (#14894)
Previously, the code would query all the oids it received. Now it will split it up into multiple queries if too many are sent.

Prevents some devices snmp service from crashing.
2023-03-13 10:17:34 -05:00
not-known
2a4c50ed19 Jira transport: use template title (#14883)
* Use the title from the Alert Template for the Jira Transport if not empty or else use the default title

* Use the title from the Alert Template for the Jira Transport if not empty or else use the default title

* Fix style

---------

Co-authored-by: Tony Murray <murraytony@gmail.com>
2023-03-13 05:07:29 +02:00
Jellyfrog
e9f8e64506 Re-throw exceptions if we're in CI (#14890)
Else they are not shown during tests
2023-03-10 15:00:03 +01:00
Jellyfrog
f111ac22fe APC: Add support for Battery Recommended Days Remaining (#14653)
* APC: Add support for Battery Recommended Days Remaining

* Extract number from string later during polling
Odd that this is different from the discovery process

* wip

* wip

* Apply fixes from StyleCI

* wip

* wip

* Apply fixes from StyleCI

---------

Co-authored-by: Tony Murray <murraytony@gmail.com>
2023-03-10 14:50:56 +01:00
Marek Wobst
58acfe8f92 Add Cisco FTD Support for security appliances (#14893)
Models: 4110, 4120, 4125 (each with K9)
2023-03-10 14:47:37 +01:00
Tony Murray
42783db59f InfluxDB 2.0 is not currently supported. 2023-03-10 07:45:22 -06:00
mtentilucci
50540cc3e9 Update test data to account for new .svg icon (#14892) 2023-03-10 10:09:29 +01:00
mtentilucci
1e373dedc6 Add Avocent MergePoint Unity KVM Switch Support (#14874)
* Modify Avocent discovery so Avocent MergePoint Unity KVM switches are discovered

* Extract hardware model and version stored in sysDescr OID

* add avocent mpu snmprec

* add json dump test data

* update to not conflict with dell-rcs discovery

* fix styleci findings

* update Avocent.php

* update Avocent.php

* add support for avocent mp unity kvm switches

* add support for avocent mp unity kvm switches

* add support for avocent mp unity kvm switches

* add support for avocent mp unity kvm switches

* add support for avocent mp unity kvm switches

* add support for avocent mp unity kvm switches

* cleanup

* fix os name typo

* Add support for Vertiv Avocent MergePoint Unity

- Remove unnecessary sysdescr_regex in discovery file
- Only show device_bits graph in device header bar
- Use Vertiv icon
- Replace .png Vertiv icon and logo with .svg
- Disable unnecessary discovery and poller modules
- Add more snmpsim test data

* Update avocent-mp.yaml

Only disable poller and discovery modules if they cause problems
2023-03-10 00:09:53 +01:00
Zane C. Bowers-Hadley
cd82c72190 add graph_stat_percentile_disable config item to disable percentile lines/value printing (#14887)
* add the initial config items for graph_stat_percentile_disable

* update generic stats to use graph_stat_percentile_disable

* style fix
2023-03-09 17:24:32 +01:00
Jellyfrog
b2574196ef Update phpstan baseline (#14888) 2023-03-09 17:24:11 +01:00
Peter Childs
d35679d991 add poller_groups (served) to the poller_cluster table (#14886) 2023-03-09 17:20:49 +01:00
Zane C. Bowers-Hadley
6b56e781b1 actually use the stats graph for ntp-server_freq now (#14884) 2023-03-09 13:32:19 +01:00
Zane C. Bowers-Hadley
2a53c49a5c convert NTP freq to use generic_stats (#14834) 2023-03-09 00:23:31 +02:00
electrocret
f0c9e1f275 remove space (#14880) 2023-03-07 14:22:53 +01:00
electrocret
d7a7e0c158 Improve Corero CMS support (#14876)
* MIBs

* Create cms.yaml

* Update cms.yaml

* Update cms.yaml

* Update cms.yaml

* Update cms.yaml

* Update cms.yaml

* Update cms.yaml

* Update cms.yaml

* Update cms.yaml

* Update cms.yaml

* Update cms.yaml

* Update cms.yaml

* Update cms.yaml

* Update cms.yaml

* Update cms.yaml

* Update cms.yaml

* Update cms.yaml

* Update cms.yaml

* Update cms.yaml

* Add files via upload

* Update cms.yaml

* Update cms.yaml

* Update cms.yaml

* Update cms.yaml

* Update cms.yaml

* Add files via upload

* Update cms.snmprec

* Update cms.json

* Update cms.json

* Update cms.json
2023-03-04 19:00:31 +01:00
electrocret
b68aa04311 Add Fortigate Webfilter stats (#14873)
* Update fortigate.yaml

* Update fortigate.yaml

* Fix git-apply

* Create fortigate_webfilter.snmprec

* Update fortigate_webfilter.snmprec

* Create fortigate_webfilter.json
2023-03-03 18:22:58 +01:00
electrocret
4446935901 Update github-apply (#14875) 2023-03-03 18:21:08 +01:00
Luke Wurl
de16bbdc49 Add Cisco FTD 4112 Support (#14872)
Add sysObjectID for FP4112
2023-03-03 14:06:28 +01:00
Zane C. Bowers-Hadley
a0f1dab07b add type checking to generic_stats.inc.php for $vars['to'] and $vars['from'] (#14871)
* make sure the $vars['from'] and $vars['to'] are actually numeric

* style fix
2023-03-02 22:59:31 +01:00
Félix Bouynot
a828bdf26c Add Azure example configuration for SAML authentication (#14870) 2023-03-02 18:52:11 +01:00
Zane C. Bowers-Hadley
19278bf19f update fail2ban to have better stat graphs and and fix generic_stats graph.php (#14818)
* update fail2ban better stat graphs

* style fix

* add rainbow color pallete

* cleanup colors and make it more easily understandable via using the new rainbow colour pallete

* a bit more color tweaking

* green is easier on the eyes

* style fix

* fix hgandling for smaller graphs for some things

* for <= height graphs, use area

* rework the area bit and add a alpha

* style cleanup

* more style cleanup

* mm... colourA does work a lot nicer if the same as colour

* add two more palletes and make the purple the default

* only include 1d once as that as some versions of rrd break if it is twice

* move time_diff to the proper location
2023-03-02 18:51:16 +01:00
Dan Baker
cd7aa5e65d Added PoE controller load and status sensors for Junos devices (#14868) 2023-03-02 11:16:54 +02:00
not-known
dda3176131 Add Fortigate packet loss monitoring for Link-Monitor and SD-WAN; Remove testing of VPN config from the SD-WAN tests as it is unrelated and could break the test (#14828)
Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
2023-03-01 01:10:45 +01:00
Henne Van Och
2140ff21c5 add more docker stats (#14767) 2023-03-01 01:02:01 +01:00
Zane C. Bowers-Hadley
f023d37cfc update various device graphs to to have better stats (#14815)
* update graphs -> systems page

* update availability graph to use the stats graph for 1 day averages

* a bit of cleanup for various graphs

* a few style fixes I missed

* another style fix

* update the pingperf graph as well

* update the poller perf graph as well

* style fix

* move graphs to using generic_stats default for readability
2023-03-01 01:00:13 +01:00
Mark Westerterp
d4556bdda5 Fix graphs for a search query (#14864) 2023-02-28 22:39:38 +01:00
electrocret
c0fd1e15e2 Fix Alertlog messaging (#14861) 2023-02-24 13:10:10 +01:00
GeantRA
2da5d4505b Refactored Juniper SLA to include support for TWAMP and remove ambigu… (#14787) 2023-02-24 13:09:52 +01:00
electrocret
ef1b54b265 Fix interface parse unsets (#14860) 2023-02-24 08:49:36 +01:00
Tony Murray
c91b9b64d7 Bump version to 23.2.0 23.2.0 2023-02-23 16:27:42 -06:00
Tony Murray
3150787736 Changelog for 23.2.0 2023-02-23 16:27:41 -06:00
MarlinMr
7e9e360c9c use docker compose v2 (#14841) 2023-02-21 00:42:42 +01:00
Félix Bouynot
9617e47319 Change socialite settings URI (#14845) 2023-02-21 00:41:45 +01:00
electrocret
a21c6ec91c Use Device displayname on VRF page (#14851)
* Use displayname

* Style

* Style
2023-02-21 00:40:18 +01:00
electrocret
b6df8b0116 Fortigate IPS Intrusions detected stats (#14857)
* Update fortigate.yaml

* Use IPS stats table

* Update fortigate.yaml

* Update fortigate.yaml

* Update fortigate.yaml

* Update fortigate.yaml

* Update fortigate.yaml

* Test data

* Update fortigate_ips.snmprec

* Potential for multiple entries.

Further testing found some firewalls with multiple table entries.

* cleanup display

* Update fortigate.yaml

* Update fortigate.yaml

* Update fortigate.yaml

* Update Testdata
2023-02-21 00:39:20 +01:00
Guilherme Poletto
5dc7f89922 Add support for Vsol v1600d EPON OLT (#14853)
* Add Modified V-sol MIB

* Add Vsolution Discovery OS

* Add Vsolution Discovery OS

* Add os-logo

* Add snmp test data

* Add .json test data

* Add .json actual test data
2023-02-20 12:31:43 +01:00
Mark Westerterp
930d535a59 Fix Okta image in docs (#14848) 2023-02-17 23:20:05 +01:00
Timo Reimann
4b2fb79c1e Fix MS Teams alert transport, correct HTTP header (#14843)
* Fix Msteams.php

Microsoft rejects webhooks without correct Content-Type since beginning of January. This PR fixes the behaviour and makes Teams webhooks working again.

* Update Msteams.php

Fix StyleCI issue
2023-02-14 07:51:16 -06:00
Hans Erasmus
8fb908eb15 Fix possible confusion around php-fpm settings (#14844)
* Fix possible confusion around php-fpm settings

From the discord channel there seemed to be some confusion regarding the socket location setting for php-fpm.

* Update Install-LibreNMS.md

Updated with new suggestions
2023-02-14 07:35:09 -06:00
Félix Bouynot
b0ac39e30a Fix typo in Oauth doc (#14840) 2023-02-10 21:51:42 +01:00
Floris Van der krieken
f2dfe2f928 Fix discovery for apc ats (#14837) 2023-02-09 09:36:10 +01:00
Andy Norwood
3023aa7e0f API: add display query to list_devices function (#14747)
* add display query type

* add display to query examples

* fix typo
2023-02-08 18:36:20 +02:00
Shubham Srivastava
5097d1e315 Add Zenduty Integration info to Transports.md docs (#14826) 2023-02-08 16:25:18 +01:00
Kyle Gordon
ad624b1093 Include Samsung X Series printers (#14831)
Tested against X7600 and X4300. Both of which change from being a generic device to a Samsung printer device. Subsequent poller.php runs result in toner, fuser, impressions counts, etc data being returned.
2023-02-07 23:12:50 +01:00
dependabot[bot]
aa033ec3c5 Bump symfony/http-kernel from 5.4.16 to 5.4.20 (#14824)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-02 14:07:59 +01:00
electrocret
1e5e26492e Use Oxidized API client and add support for groups on config get (#14750)
* Use API client and add support for groups.

* Being Stylish.

* Update incorrect doc
2023-02-01 11:49:29 -06:00
Hans Erasmus
0ddad719b9 Update config docs - dump current config (#14820) 2023-02-01 18:23:49 +01:00
Hans Erasmus
c330f91e01 Fix empty output on validation test (#14822)
* Fix empty output on validation test

* tried to fix indentation issue

* tried to fix indentation issue again

* tried to fix stylci test error

* remove trailing spaces

* Applied styleci diff
2023-02-01 10:52:36 -06:00