From 72c7547efce6051edc9a6c14083cf56a5368836a Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Thu, 13 Oct 2022 11:17:22 +0000 Subject: monitoring: T4312: Ability to set IP address in the URL Use common "url.xml" which allow URL as domain name or IP entrie --- interface-definitions/include/url.xml.i | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 interface-definitions/include/url.xml.i (limited to 'interface-definitions/include/url.xml.i') diff --git a/interface-definitions/include/url.xml.i b/interface-definitions/include/url.xml.i new file mode 100644 index 000000000..caa6f67bd --- /dev/null +++ b/interface-definitions/include/url.xml.i @@ -0,0 +1,15 @@ + + + + Remote URL + + url + Remote URL + + + ^https?:\/\/?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*(\:[0-9]+)*(\/.*)? + + Incorrect URL format + + + -- cgit v1.2.3