From e94878ba05f019aa92ff5bbe4ada305275cedfba Mon Sep 17 00:00:00 2001 From: Frank Brendel Date: Thu, 8 Mar 2018 10:24:06 +0100 Subject: [PATCH] sysutils/monit: allow parameter in path options (#587) --- sysutils/monit/Makefile | 2 +- .../src/opnsense/mvc/app/models/OPNsense/Monit/Monit.xml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sysutils/monit/Makefile b/sysutils/monit/Makefile index a2b702303..eeaba0075 100644 --- a/sysutils/monit/Makefile +++ b/sysutils/monit/Makefile @@ -1,5 +1,5 @@ PLUGIN_NAME= monit -PLUGIN_VERSION= 1.5 +PLUGIN_VERSION= 1.6 PLUGIN_COMMENT= Proactive system monitoring PLUGIN_MAINTAINER= frank.brendel@eurolog.com PLUGIN_DEPENDS= monit diff --git a/sysutils/monit/src/opnsense/mvc/app/models/OPNsense/Monit/Monit.xml b/sysutils/monit/src/opnsense/mvc/app/models/OPNsense/Monit/Monit.xml index 8d49bee60..2d4c08e35 100644 --- a/sysutils/monit/src/opnsense/mvc/app/models/OPNsense/Monit/Monit.xml +++ b/sysutils/monit/src/opnsense/mvc/app/models/OPNsense/Monit/Monit.xml @@ -1,6 +1,6 @@ //OPNsense/monit - 1.0.2 + 1.0.3 Monit settings @@ -198,7 +198,7 @@ N - /^(\/[^\/ ]*)+\/?$/ + /^(\/[^\/ ]*)+\/?.*$/ Should be a valid absolute file or folder path.
@@ -261,7 +261,7 @@ N - /^(\/[^\/ ]*)+?$/ + /^(\/[^\/ ]*)+\/?.*$/ Should be a valid absolute file path.