mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
sysutils/monit: allow parameter in path options (#587)
This commit is contained in:
committed by
Franco Fichtner
parent
500dcfda0a
commit
e94878ba05
@@ -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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<model>
|
||||
<mount>//OPNsense/monit</mount>
|
||||
<version>1.0.2</version>
|
||||
<version>1.0.3</version>
|
||||
<description>Monit settings</description>
|
||||
<items>
|
||||
<general>
|
||||
@@ -198,7 +198,7 @@
|
||||
</match>
|
||||
<path type="TextField">
|
||||
<Required>N</Required>
|
||||
<mask>/^(\/[^\/ ]*)+\/?$/</mask>
|
||||
<mask>/^(\/[^\/ ]*)+\/?.*$/</mask>
|
||||
<ValidationMessage>Should be a valid absolute file or folder path.</ValidationMessage>
|
||||
</path>
|
||||
<address type="TextField">
|
||||
@@ -261,7 +261,7 @@
|
||||
</action>
|
||||
<path type="TextField">
|
||||
<Required>N</Required>
|
||||
<mask>/^(\/[^\/ ]*)+?$/</mask>
|
||||
<mask>/^(\/[^\/ ]*)+\/?.*$/</mask>
|
||||
<ValidationMessage>Should be a valid absolute file path.</ValidationMessage>
|
||||
</path>
|
||||
</test>
|
||||
|
||||
Reference in New Issue
Block a user