Commit Graph

139 Commits

Author SHA1 Message Date
Ely Deckers
6a3f5ad040 Simplify SMART status retrieval 2022-11-29 23:20:48 +01:00
Ely Deckers
723cb10263 Fix Speedtest methods 2022-11-29 23:20:48 +01:00
Ely Deckers
f47110d1b5 Simplify switch statement in dhcp 2022-11-29 23:20:48 +01:00
Ely Deckers
3b0cd404a4 Define namespace and require everything at top 2022-11-29 23:20:48 +01:00
Ely Deckers
de6d82dafc Simplify Ipsec status retrieval 2022-11-29 23:20:48 +01:00
Ely Deckers
6cad428900 Fix CARP code inconsistency 2022-11-29 23:20:48 +01:00
Ely Deckers
ce28765be5 Simplify and clean miscellaneous methods 2022-11-29 23:20:48 +01:00
Ely Deckers
41ee512e3e Simplify some low hanging fruit 2022-11-29 23:20:48 +01:00
Ely Deckers
aa60579f6e Simplify and clean a few methods 2022-11-29 23:20:48 +01:00
Ely Deckers
8d2f5302b2 Simplify interface_discovery serialization 2022-11-29 23:20:48 +01:00
Ely Deckers
114d511005 Simplify a few json discovery serializations 2022-11-29 23:20:48 +01:00
Ely Deckers
4d23d9320f Re-order discovery methods 2022-11-29 23:20:48 +01:00
Ely Deckers
a20a9d86f2 Simplify json generation for discoveries 2022-11-29 23:20:48 +01:00
Ely Deckers
d882d3a47f Fix a few methods 2022-11-29 23:20:48 +01:00
Ely Deckers
5d22a253f3 Fix a few methods 2022-11-29 23:20:48 +01:00
Ely Deckers
384e3429b5 Simplify command discovery 2022-11-29 23:20:48 +01:00
Ely Deckers
866a8171f2 Hide public method and rename 2022-11-29 23:20:48 +01:00
Ely Deckers
c25675834e Use correct method names and hide private 2022-11-29 23:20:47 +01:00
Ely Deckers
718fcfdf8b Add help command 2022-11-29 23:18:11 +01:00
Ely Deckers
1965594c66 Wrap pfSense symbols in class 2022-11-29 23:18:11 +01:00
Ely Deckers
17be728231 Introduce Command and Discovery classes 2022-11-29 23:18:09 +01:00
Ely Deckers
37d4f1ac0a Simplify Ipsec status 2022-11-29 23:17:19 +01:00
Ely Deckers
bbca2fb11f Simplify service values 2022-11-29 23:17:19 +01:00
Ely Deckers
792990b7f6 Simplify ipsec ph1 2022-11-29 23:17:19 +01:00
Ely Deckers
10a51a990d Simplify OpenVPN client value 2022-11-29 23:17:19 +01:00
Ely Deckers
958e4ca9e2 Simplify OpenVPN server values 2022-11-29 23:17:19 +01:00
Ely Deckers
798ffa8b8b Simplify dhcp 2022-11-29 23:17:19 +01:00
Ely Deckers
1229bf6370 Simplify package update status retrieval 2022-11-29 23:17:19 +01:00
Ely Deckers
cb11d68518 Simplify system value retrieval 2022-11-29 23:17:19 +01:00
Ely Deckers
956323ec0e Simplify SMART status retrieval 2022-11-29 23:17:19 +01:00
Ely Deckers
63b169b483 Simplify code for value mapping 2022-11-29 23:17:19 +01:00
Ely Deckers
5e4a515b3a Simplify discovery 2022-11-29 23:17:19 +01:00
Ely Deckers
c03733370a Move command handlers to top of file 2022-11-29 23:17:19 +01:00
Ely Deckers
9e42d7fea6 Simplify code for entrypoint 2022-11-29 23:17:19 +01:00
Ely Deckers
f81f6778bf fix: ipsec tunnel status invalid on some versions 2022-11-27 14:07:00 +01:00
Lukas Macura
60bbd28bfb Added temperature monitoring 2022-04-22 12:14:34 +02:00
Lukas Macura
dcd5121571 Repaired get_ipsecifnum. Working with pre 2.6 and 2.6 pfsense 2022-04-21 11:39:35 +02:00
Guillaume Hullin
2586bc16e5 Update pfsense_zbx.php
Added certificate monitoring functions
2022-01-21 12:17:32 +01:00
Riccardo
950d21561b
Merge pull request #91 from SchiffelIT/master
fix ipsec_status con-id matching
2021-11-10 14:22:57 +01:00
Riccardo Bicelli
12358a0584 Issues #70, #81, #87 2021-11-09 22:58:18 +01:00
sschiffel
3ad0b109d1 fix ipsec_status con-id matching 2021-11-06 21:32:48 +01:00
Riccardo Bicelli
f2cc3a424a Fixed IPSec Status Conditions 2021-07-18 21:31:34 +02:00
Riccardo Bicelli
907c518a9e More typos 2021-07-13 09:30:08 +02:00
Riccardo Bicelli
55780b70f9 Fixed Typo in speedtest 2021-07-13 09:07:59 +02:00
Riccardo Bicelli
7c28500ad9 Speedtest: created temp file prior to write actual result file. 2021-07-12 12:34:56 +02:00
Riccardo Bicelli
8f15f006f4 Trying to fix Issue #76 2021-07-08 21:54:33 +02:00
Riccardo Bicelli
2e3873a265 Fixed Issue #79 2021-07-08 21:39:18 +02:00
Riccardo Bicelli
bb50993763 Fixed issue #78 2021-07-08 17:00:59 +02:00
Riccardo Bicelli
8e340822e1 Fixed IPsec con_id 2021-07-07 23:04:45 +02:00
Riccardo Bicelli
5546a6c2b9 Fixed Speedtest Logic 2021-07-07 10:20:09 +02:00
Riccardo Bicelli
f1d7ca8e5d Fixed Speedtest Logic 2021-07-07 10:05:25 +02:00
Riccardo Bicelli
5a36f380fd Fixed Speedtest logic 2021-07-07 09:54:57 +02:00
Riccardo Bicelli
2ed9d5791f typos 2021-07-06 23:32:43 +02:00
Riccardo Bicelli
9bd55db4be Improved Speedtest. 2021-07-06 23:03:29 +02:00
Riccardo Bicelli
9adb054faa Fixed IPSEC issues.
I almost blindly merged some PRs which supposed to solve problems, but broke things in IPSEC status reporting.
Fixed value mappings (lower cased).
Fixed conn ID numbering (in 2.4 IPSEC con id are enumerated con1000, con2000... and in 2.5 con100000, con200000)
2021-07-05 22:51:55 +02:00
Riccardo Bicelli
e639c05c5e Typos 2021-07-05 19:31:48 +02:00
Riccardo Bicelli
ebc9ae34fa Preliminary tests of Speedtest 2021-07-05 17:56:27 +02:00
Riccardo Bicelli
d784c1f08a Merge branch 'master' into develop 2021-07-05 14:36:15 +02:00
Riccardo Bicelli
11784220d9 Fixed issues #72 and #76 2021-07-04 21:20:43 +02:00
Riccardo Bicelli
d18056cf8a Fixed value mapper 2021-07-01 22:45:27 +02:00
f87
ba0281f08e Update pfsense_zbx.php
Не выполнялся поиск пользователе на серверах с TLS-Аутентификацией
2021-06-11 10:20:13 +03:00
Dan Edwards
57324cf3a3
Update pfsense_zbx.php
Report correct Phase 1 status on non Carp enabled devices
2021-03-19 10:35:02 +00:00
Riccardo Bicelli
0f279ff310 Added DHCP Failover Monitoring, Renamed CARP section to HA 2021-01-23 16:54:32 +01:00
Riccardo Bicelli
7c9c5e66e5 Added checks in value maps for recent php versions, fixed p2p_tls service detection (Issue #36) 2021-01-20 15:07:57 +01:00
Riccardo Bicelli
3d6af95111 Fixed pfz_valuemap function 2021-01-18 23:12:46 +01:00
Riccardo Bicelli
3268a4445b Fixed gateway Status, Removed IPsec Phase2 Status (reqid mismatch) 2021-01-18 22:31:47 +01:00
Riccardo Bicelli
71aa881412 Added Radvd to list of service stopped on CARP Secondary 2021-01-18 17:29:21 +01:00
Riccardo Bicelli
9aa1b6c0d2 Corrected issue #58 2021-01-18 16:58:38 +01:00
Riccardo Bicelli
af39fd39ed Added IPsec Template, Detecting Package Update 2021-01-18 16:04:27 +01:00
Riccardo Bicelli
a38c08bb1a Corrected issue #49 2020-09-28 13:30:41 +02:00
Riccardo Bicelli
99b054e243 Removed preprocessing on Gateways, added default for numeric values in openvpn_server_uservalue 2020-07-11 14:32:20 +02:00
Lorenzo Perone
c912044d80 rewritten pfz_interface_discovery a bit:
- added (default) option to skip unconfigured interfaces
- added (default) option to skip disabled interfaces
- added interfaces_all case to always return them all (as before)
- added a key IFNAMEJ for use in cases where jsonpath is needed (and dots are disturbing)
- removed manual json encoding and replaced with json_encode()
2020-06-26 19:40:03 +02:00
Riccardo Bicelli
e1a7179b45 Fixed issues on openvpn service detection 2020-05-13 10:39:21 +02:00
Gergely Bakos
59e1a311fb Client status map key correction 2020-04-28 10:24:33 +02:00
Riccardo Bicelli
d45c3276c8 Value MApping Corrections 2020-04-28 09:25:17 +02:00
Riccardo Bicelli
5f8f138e66 Corrected Value Mapping For Tunnel Status in OpenVPN User/Auth 2020-04-28 09:00:29 +02:00
Riccardo Bicelli
d9b8e71f8f Corrected Value Mapping For Tunnel Status in OpenVPN User/Auth 2020-04-28 08:54:56 +02:00
Riccardo Bicelli
59719ee355 Fixed typos in php file 2020-04-28 00:17:48 +02:00
Riccardo Bicelli
a8dbe609c3 Added OpenVPN Client Monitoring 2020-04-28 00:12:32 +02:00
Riccardo Bicelli
000d3c1c5a Last commit of php file with working functions 2020-04-27 23:18:19 +02:00
Riccardo Bicelli
df20e3b1a8 Second test 2020-04-27 23:03:31 +02:00
Riccardo Bicelli
be04e6351d Tests with openvpn server users 2020-04-27 22:44:10 +02:00
Riccardo Bicelli
a11287c9f5 Corrected Syntax Errors 2020-04-26 18:24:37 +02:00
Riccardo Bicelli
5afb5eaca3 Corrected Syntax Errors 2020-04-26 18:01:38 +02:00
Riccardo Bicelli
3b8668ce82 Getting rid of Value mappings in Zabbix 2020-04-26 17:34:40 +02:00
Riccardo Bicelli
a877649b33 Fixed square bracket @line 159 2020-01-24 16:39:58 +01:00
Riccardo Bicelli
40714dc92f Added fix for captive portal 2020-01-24 15:47:23 +01:00
Riccardo Bicelli
3e0a41e2d1 Added testing function 2020-01-24 14:41:14 +01:00
Riccardo Bicelli
860e6dabb1 First Release 2019-12-12 16:51:13 +01:00