nezhahq.github.io/assets/en_US_guide_services.md.d66a75a1.js

2 lines
3.6 KiB
JavaScript

import{_ as e,c as t,o,a as i}from"./app.b8b795d4.js";const m='{"title":"How to use","description":"","frontmatter":{},"headers":[{"level":2,"title":"How to use","slug":"how-to-use"},{"level":2,"title":"Management Monitor","slug":"management-monitor"}],"relativePath":"en_US/guide/services.md","lastUpdated":1655171319000}',n={},r=i('<p><strong>Service area is a function setting area for setting up Agents to monitor external websites or servers</strong><br><strong>The monitoring results can be viewed on the &quot;Services&quot; page in the home page</strong><br></p><h2 id="how-to-use" tabindex="-1">How to use <a class="header-anchor" href="#how-to-use" aria-hidden="true">#</a></h2><p>To add a new monitor, you can go to the &quot;Services&quot; page in the administration panel and click &quot;Add Service Monitor&quot;.</p><p>To add a service monitor, you need to complete the following settings:</p><ul><li><p><code>Name</code> - Customize a name</p></li><li><p><code>Type</code> - Select a monitoring type. Nezha currently supports three monitoring types: &quot;HTTP-GET&quot;, &quot;ICMP-Ping&quot; and &quot;TCP-Ping&quot;.</p></li><li><p><code>Target</code> - Depending on the type you choose, the target is set in different ways</p></li></ul><blockquote><ul><li><code>HTTP-GET</code>: Selecting this type, you should enter a URL as the target, the URL should be added with <code>http://</code> or <code>https://</code> <strong>If your target URL is <code>https://</code>, it will also monitor the SSL certificate of that URL and trigger a notification when the SSL certificate expires or changes.</strong><br> For example: <a href="https://example.com" target="_blank" rel="noopener noreferrer">https://example.com</a></li></ul></blockquote><blockquote><ul><li><code>ICMP-Ping</code>: When selecting this type, you should enter a domain name or IP without a port number<br> For example: 1.1.1.1 or <a href="http://example.com" target="_blank" rel="noopener noreferrer">example.com</a></li></ul></blockquote><blockquote><ul><li><code>TCP-Ping</code>: When selecting this type, you should enter a domain name or IP and include the port number<br> For example: 1.1.1.1:80 or <a href="http://example.com:22" target="_blank" rel="noopener noreferrer">example.com:22</a></li></ul></blockquote><ul><li><p><code>Interval</code>\uFF1A Sets the time interval in seconds between each time Agent sends requests to the target</p></li><li><p><code>Coverage</code>\uFF1A Select a rule to determine which Agents to use to send requests to the target</p></li><li><p><code>Specific Servers</code>\uFF1A Use with coverage to select the Agent to be excluded from the rule</p></li><li><p><code>Notification Group</code>\uFF1A Select the notification method you have set up on the &quot;Notification&quot; page. <a href="/en_US/guide/notifications.html#flexible-notification-methods">Click here</a> for more information</p></li><li><p><code>Enable Failure Notification</code>\uFF1A Select whether to receive target failure notifications as needed, default is inactive</p></li></ul><p>After setting, click &quot;Add&quot; and you are done.<br> Wait for a moment to go to the &quot;Services&quot; page on the home page to view the monitoring results<br><br></p><h2 id="management-monitor" tabindex="-1">Management Monitor <a class="header-anchor" href="#management-monitor" aria-hidden="true">#</a></h2><p>To manage existing service monitoring, you can go to the &quot;Services&quot; page in the administration panel<br> Select a monitoring configuration and click the icon on the right to edit or delete it</p>',12),a=[r];function c(l,s,d,u,h,p){return o(),t("div",null,a)}var f=e(n,[["render",c]]);export{m as __pageData,f as default};