From d937f5463c08da1255414f31a4ce41493d593735 Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Tue, 26 Nov 2024 15:05:56 +0800 Subject: [PATCH] add a link to monitoring agent to the create infrastructure monitor page --- .../Infrastructure/CreateMonitor/index.jsx | 26 ++++++++++++++----- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/Client/src/Pages/Infrastructure/CreateMonitor/index.jsx b/Client/src/Pages/Infrastructure/CreateMonitor/index.jsx index bbcb7b05d..abbd2e6f6 100644 --- a/Client/src/Pages/Infrastructure/CreateMonitor/index.jsx +++ b/Client/src/Pages/Infrastructure/CreateMonitor/index.jsx @@ -10,7 +10,8 @@ import { import { useNavigate } from "react-router-dom"; import { useTheme } from "@emotion/react"; import { createToast } from "../../../Utils/toastUtils"; -import { logger } from "../../../Utils/Logger"; +import Link from "../../../Components/Link"; + import { ConfigBox } from "../../Monitors/styled"; import Field from "../../../Components/Inputs/Field"; import Select from "../../../Components/Inputs/Select"; @@ -233,11 +234,21 @@ const CreateInfrastructureMonitor = () => { - General settings - - Here you can select the URL of the host, together with the friendly name and - authorization secret to connect to the server agent. - + + General settings + + Here you can select the URL of the host, together with the friendly name + and authorization secret to connect to the server agent. + + + The server you are monitoring must be running the{" "} + + + { Customize alerts - Send a notification to user(s) when thresholds exceed a specified percentage. + Send a notification to user(s) when thresholds exceed a specified + percentage.