This commit is contained in:
cantoblanco
2023-03-09 00:46:59 +00:00
parent fbd8edd613
commit ecdaaf44ac
161 changed files with 257 additions and 257 deletions
+4 -4
View File
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="/assets/style.0b9f658b.css">
<link rel="modulepreload" href="/assets/chunks/AlgoliaSearchBox.98396bc7.js">
<link rel="modulepreload" href="/assets/app.3817bf4e.js">
<link rel="modulepreload" href="/assets/en_US_guide_agent.md.a2a51d03.lean.js">
<link rel="modulepreload" href="/assets/en_US_guide_agent.md.c7f0dfcb.lean.js">
<meta name="twitter:title" content="Install Agent using one-click script | Nezha Monitoring">
<meta property="og:title" content="Install Agent using one-click script | Nezha Monitoring">
@@ -80,7 +80,7 @@ EOF</span>
</code></pre></div><ul><li><p>Add execute permission</p><div class="language-shell"><pre><code><span class="token function">chmod</span> +x /etc/init.d/nezha-agent
</code></pre></div></li><li><p>Run Nezha-Agent</p><div class="language-shell"><pre><code>rc-service nezha-agent-hy start
</code></pre></div></li><li><p>Set self-start after boot</p><div class="language-shell"><pre><code>rc-update <span class="token function">add</span> nezha-agent
</code></pre></div></li></ul><h3 id="installing-agent-on-windows" tabindex="-1">Installing Agent on Windows <a class="header-anchor" href="#installing-agent-on-windows" aria-hidden="true">#</a></h3><ul><li>Please refer to the community article: <a href="https://nyko.me/2020/12/13/nezha-windows-client.html" target="_blank" rel="noopener noreferrer">哪吒探针 - Windows 客户端安装</a>(Chinese)<br><br></li></ul><h3 id="installing-agent-on-synology-dsm" tabindex="-1">Installing Agent on Synology DSM <a class="header-anchor" href="#installing-agent-on-synology-dsm" aria-hidden="true">#</a></h3><ul><li><p>Please refer to the community article: <a href="https://wl.gta5pdx.cn/archives/546/" target="_blank" rel="noopener noreferrer">哪吒探针——群晖客户端(被控端)安装教程</a>(Chinese)</p></li><li><p>Using Systemd <em>Only available on DSM7</em>:</p><div class="language-sh"><pre><code># Path of the agent binary file.
</code></pre></div></li></ul><h3 id="installing-agent-on-windows" tabindex="-1">Installing Agent on Windows <a class="header-anchor" href="#installing-agent-on-windows" aria-hidden="true">#</a></h3><ul><li>Please refer to the community article:<br><a href="https://nyko.me/2020/12/13/nezha-windows-client.html" target="_blank" rel="noopener noreferrer">哪吒探针 - Windows 客户端安装</a> (Chinese)<br><br></li></ul><h3 id="installing-agent-on-synology-dsm" tabindex="-1">Installing Agent on Synology DSM <a class="header-anchor" href="#installing-agent-on-synology-dsm" aria-hidden="true">#</a></h3><ul><li><p>Please refer to the community article:<br><a href="https://blog.mitsea.com/3929551d08bd4bb0a8baa453e2d92b0c/" target="_blank" rel="noopener noreferrer">群晖 DSM 7.x 安装 哪吒监控 Agent</a> (Chinese)<br><a href="https://wl.gta5pdx.cn/archives/546/" target="_blank" rel="noopener noreferrer">哪吒探针——群晖客户端(被控端)安装教程</a> (Chinese)</p></li><li><p>Using Systemd <em>Only available on DSM7</em>:</p><div class="language-sh"><pre><code># Path of the agent binary file.
EXEC=&quot;/PATH/TO/nezha-agent&quot;
# Path of the agent&#39;s log.
LOG=&quot;${EXEC}.log&quot;
@@ -112,7 +112,7 @@ systemctl daemon-reload
systemctl start nezha
# Enable auto-start
systemctl enable nezha
</code></pre></div><p>‼️DO IT WHEN YOU HAVE MODIFIED THE ENVS‼️</p><p>‼️DO IT WHEN YOU HAVE MODIFIED THE ENVS‼️</p><p>‼️DO IT WHEN YOU HAVE MODIFIED THE ENVS‼️</p><p>Using <code>root</code> to execute command above, that&#39;s all.</p></li></ul><br><h3 id="installing-agent-on-macos" tabindex="-1">Installing Agent on MacOS <a class="header-anchor" href="#installing-agent-on-macos" aria-hidden="true">#</a></h3><p><em><strong>This section is adapted from <a href="https://blog.mitsea.com/e796f93db38d49e4b18df234c6ee75f5" target="_blank" rel="noopener noreferrer">Mitsea Blog</a>, with permission from the original author</strong></em><br><br></p><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>If you are prompted with &quot;macOS cannot verify this app&quot; during installation, please go to system settings to allow the app to run.</p></div><ul><li>First add a server in the admin panel</li><li>Go to the <a href="https://github.com/naiba/nezha/releases" target="_blank" rel="noopener noreferrer">Release</a> page to download the Agent binary and choose whether to download the darwin amd64 or arm64 Agent depending on the CPU architecture<br> For example, download the amd64 version for Intel CPU and the arm64 version for Apple Silicon. After downloading, extract the Agent binary file, e.g. to the Download folder</li><li>Create a new file named <code>nezha_agent.plist</code> and save it, edit the contents of the file:</li></ul><div class="language-xml"><pre><code><span class="token prolog">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;</span>
</code></pre></div><p>‼️DO IT WHEN YOU HAVE MODIFIED THE ENVS‼️</p><p>Using <code>root</code> to execute command above, that&#39;s all.</p></li></ul><br><h3 id="installing-agent-on-macos" tabindex="-1">Installing Agent on MacOS <a class="header-anchor" href="#installing-agent-on-macos" aria-hidden="true">#</a></h3><p><em><strong>This section is adapted from <a href="https://blog.mitsea.com/e796f93db38d49e4b18df234c6ee75f5" target="_blank" rel="noopener noreferrer">Mitsea Blog</a>, with permission from the original author</strong></em><br><br></p><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>If you are prompted with &quot;macOS cannot verify this app&quot; during installation, please go to system settings to allow the app to run.</p></div><ul><li>First add a server in the admin panel</li><li>Go to the <a href="https://github.com/naiba/nezha/releases" target="_blank" rel="noopener noreferrer">Release</a> page to download the Agent binary and choose whether to download the darwin amd64 or arm64 Agent depending on the CPU architecture<br> For example, download the amd64 version for Intel CPU and the arm64 version for Apple Silicon. After downloading, extract the Agent binary file, e.g. to the Download folder</li><li>Create a new file named <code>nezha_agent.plist</code> and save it, edit the contents of the file:</li></ul><div class="language-xml"><pre><code><span class="token prolog">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;</span>
<span class="token doctype"><span class="token punctuation">&lt;!</span><span class="token doctype-tag">DOCTYPE</span> <span class="token name">plist</span> <span class="token name">PUBLIC</span> <span class="token string">&quot;-//Apple//DTD PLIST 1.0//EN&quot;</span> <span class="token string">&quot;http://www.apple.com/DTDs/PropertyList-1.0.dtd&quot;</span><span class="token punctuation">&gt;</span></span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>plist</span> <span class="token attr-name">version</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">&quot;</span>1.0<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>dict</span><span class="token punctuation">&gt;</span></span>
@@ -161,7 +161,7 @@ systemctl enable nezha
start
<span class="token punctuation">}</span>
</code></pre></div><ul><li>Give it permission to execute: <code>chmod +x /etc/init.d/nezha-service</code></li><li>Start the service <code>/etc/init.d/nezha-service enable &amp;&amp; /etc/init.d/nezha-service start</code><br><br></li></ul><h2 id="faq" tabindex="-1">FAQ <a class="header-anchor" href="#faq" aria-hidden="true">#</a></h2><h3 id="is-there-a-docker-image-for-agent" tabindex="-1">Is there a Docker image for Agent? <a class="header-anchor" href="#is-there-a-docker-image-for-agent" aria-hidden="true">#</a></h3><p><strong>There is currently no Docker image for Agent.</strong><br> The Agent is designed to be the opposite of the Dashboard, in that the Dashboard is designed to work without affecting the server as much as possible, while the Agent needs to execute monitoring services and run commands in the server.<br> Putting the Agent in a container does continue to execute monitoring services, but features such as WebShell do not work, so we do not provide Docker image of the Agent.</p></div></div><footer class="page-footer" data-v-7eddb2c4 data-v-07c132fc><div class="edit" data-v-07c132fc><div class="edit-link" data-v-07c132fc data-v-1ed99556><a class="link" href="https://github.com/nezhahq/nezhahq.github.io/edit/main/docs/en_US/guide/agent.md" target="_blank" rel="noopener noreferrer" data-v-1ed99556>Edit this page on GitHub <svg class="icon outbound icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-1ed99556><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div></div><div class="updated" data-v-07c132fc><p class="last-updated" data-v-07c132fc data-v-abce3432><span class="prefix" data-v-abce3432>Last Updated:</span><span class="datetime" data-v-abce3432></span></p></div></footer><div class="next-and-prev-link" data-v-7eddb2c4 data-v-38ede35f><div class="container" data-v-38ede35f><div class="prev" data-v-38ede35f><a class="link" href="/en_US/guide/dashboard" data-v-38ede35f><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon icon-prev" data-v-38ede35f><path d="M19,11H7.4l5.3-5.3c0.4-0.4,0.4-1,0-1.4s-1-0.4-1.4,0l-7,7c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.2-0.1,0.5,0,0.8c0.1,0.1,0.1,0.2,0.2,0.3l7,7c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3c0.4-0.4,0.4-1,0-1.4L7.4,13H19c0.6,0,1-0.4,1-1S19.6,11,19,11z"></path></svg><span class="text" data-v-38ede35f>Install Dashboard</span></a></div><div class="next" data-v-38ede35f><a class="link" href="/en_US/guide/servers" data-v-38ede35f><span class="text" data-v-38ede35f>Servers</span><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon icon-next" data-v-38ede35f><path d="M19.9,12.4c0.1-0.2,0.1-0.5,0-0.8c-0.1-0.1-0.1-0.2-0.2-0.3l-7-7c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l5.3,5.3H5c-0.6,0-1,0.4-1,1s0.4,1,1,1h11.6l-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"></path></svg></a></div></div></div><!--[--><!--]--></div></main></div><!----><!--]--></div>
<script>__VP_HASH_MAP__ = JSON.parse("{\"case_case1.md\":\"016eed9d\",\"case_case2.md\":\"f67c1fe3\",\"case_case3.md\":\"bf638fdf\",\"case_case4.md\":\"3245ae29\",\"case_index.md\":\"ebb90ea0\",\"developer_index.md\":\"4d04d79c\",\"developer_l10n.md\":\"617b1a97\",\"developer_theme.md\":\"918b2e4e\",\"en_us_case_case1.md\":\"43e8a143\",\"en_us_case_case2.md\":\"a4b37606\",\"en_us_case_case3.md\":\"3b3d42a3\",\"en_us_case_case4.md\":\"38491e58\",\"en_us_case_index.md\":\"84f385b0\",\"en_us_developer_index.md\":\"f75e3f42\",\"en_us_developer_l10n.md\":\"3849e268\",\"en_us_developer_theme.md\":\"705c4cc6\",\"en_us_guide_agent.md\":\"a2a51d03\",\"en_us_guide_agentq.md\":\"2308e834\",\"en_us_guide_api.md\":\"c054bd2d\",\"en_us_guide_dashboard.md\":\"0806c57c\",\"en_us_guide_dashboardq.md\":\"e23f6f14\",\"en_us_guide_loginq.md\":\"d842b1d4\",\"en_us_guide_notifications.md\":\"fa81e634\",\"en_us_guide_q2.md\":\"702af635\",\"en_us_guide_q3.md\":\"4d3452c2\",\"en_us_guide_q4.md\":\"c42ec441\",\"en_us_guide_q5.md\":\"006e7c54\",\"en_us_guide_q6.md\":\"990dce4b\",\"en_us_guide_q7.md\":\"8e05e7f1\",\"en_us_guide_servers.md\":\"7a0c2f6a\",\"en_us_guide_services.md\":\"40302e30\",\"en_us_guide_settings.md\":\"99903d54\",\"en_us_guide_tasks.md\":\"160e34bf\",\"en_us_index.md\":\"e33f0352\",\"guide_agent.md\":\"229ecc9f\",\"guide_agentq.md\":\"1cea3a0f\",\"guide_api.md\":\"69992701\",\"guide_dashboard.md\":\"c0747146\",\"guide_dashboardq.md\":\"34553ae1\",\"guide_loginq.md\":\"4b8b521e\",\"guide_notifications.md\":\"fc51b373\",\"guide_q1.md\":\"8e74953b\",\"guide_q2.md\":\"c422d7f6\",\"guide_q3.md\":\"e35c5efe\",\"guide_q4.md\":\"d64613b1\",\"guide_q5.md\":\"367cf326\",\"guide_q6.md\":\"f0affa28\",\"guide_q7.md\":\"7173b6c9\",\"guide_servers.md\":\"e4abb554\",\"guide_services.md\":\"10023c9c\",\"guide_settings.md\":\"beb84c68\",\"guide_tasks.md\":\"f3e95746\",\"index.md\":\"f1c29ac9\"}")</script>
<script>__VP_HASH_MAP__ = JSON.parse("{\"case_case1.md\":\"1794f559\",\"case_case2.md\":\"ed013d2e\",\"case_case3.md\":\"a1206002\",\"case_case4.md\":\"946a8c9a\",\"case_index.md\":\"e65643e3\",\"developer_index.md\":\"f6a97ef7\",\"developer_l10n.md\":\"65dd08ac\",\"developer_theme.md\":\"c9c3df07\",\"en_us_case_case1.md\":\"faf145b6\",\"en_us_case_case2.md\":\"bbcc6810\",\"en_us_case_case3.md\":\"0edf847c\",\"en_us_case_case4.md\":\"f16c8236\",\"en_us_case_index.md\":\"fce78758\",\"en_us_developer_index.md\":\"c7b29d43\",\"en_us_developer_l10n.md\":\"84585412\",\"en_us_developer_theme.md\":\"7ec56509\",\"en_us_guide_agent.md\":\"c7f0dfcb\",\"en_us_guide_agentq.md\":\"be2f4ffa\",\"en_us_guide_api.md\":\"849e2b30\",\"en_us_guide_dashboard.md\":\"eedbd6ec\",\"en_us_guide_dashboardq.md\":\"e5ede841\",\"en_us_guide_loginq.md\":\"abbb5310\",\"en_us_guide_notifications.md\":\"2a64411b\",\"en_us_guide_q2.md\":\"f2fa159e\",\"en_us_guide_q3.md\":\"b4ace544\",\"en_us_guide_q4.md\":\"e7252bf3\",\"en_us_guide_q5.md\":\"e19b333e\",\"en_us_guide_q6.md\":\"61e6cc58\",\"en_us_guide_q7.md\":\"13e8eff6\",\"en_us_guide_servers.md\":\"e4b4b014\",\"en_us_guide_services.md\":\"18710eae\",\"en_us_guide_settings.md\":\"65eb2543\",\"en_us_guide_tasks.md\":\"6c70788f\",\"en_us_index.md\":\"dafee8bb\",\"guide_agent.md\":\"8e4f34ce\",\"guide_agentq.md\":\"912547e6\",\"guide_api.md\":\"2a8f1045\",\"guide_dashboard.md\":\"e0aec813\",\"guide_dashboardq.md\":\"697f62b1\",\"guide_loginq.md\":\"16e88cb1\",\"guide_notifications.md\":\"0b16a431\",\"guide_q1.md\":\"ee6f6c23\",\"guide_q2.md\":\"e13638d2\",\"guide_q3.md\":\"b8527d76\",\"guide_q4.md\":\"e70e12a9\",\"guide_q5.md\":\"9512544d\",\"guide_q6.md\":\"a6cc86ae\",\"guide_q7.md\":\"ec382cdc\",\"guide_servers.md\":\"cbaa3ee8\",\"guide_services.md\":\"43d6b1e3\",\"guide_settings.md\":\"24463975\",\"guide_tasks.md\":\"40f424f7\",\"index.md\":\"1a4b7aec\"}")</script>
<script type="module" async src="/assets/app.3817bf4e.js"></script>
</body>
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="/assets/style.0b9f658b.css">
<link rel="modulepreload" href="/assets/chunks/AlgoliaSearchBox.98396bc7.js">
<link rel="modulepreload" href="/assets/app.3817bf4e.js">
<link rel="modulepreload" href="/assets/en_US_guide_api.md.c054bd2d.lean.js">
<link rel="modulepreload" href="/assets/en_US_guide_api.md.849e2b30.lean.js">
<meta name="twitter:title" content="Create Token | Nezha Monitoring">
<meta property="og:title" content="Create Token | Nezha Monitoring">
@@ -127,7 +127,7 @@ Authorization: Token
]
}
</code></pre></div></div></div><footer class="page-footer" data-v-7eddb2c4 data-v-07c132fc><div class="edit" data-v-07c132fc><div class="edit-link" data-v-07c132fc data-v-1ed99556><a class="link" href="https://github.com/nezhahq/nezhahq.github.io/edit/main/docs/en_US/guide/api.md" target="_blank" rel="noopener noreferrer" data-v-1ed99556>Edit this page on GitHub <svg class="icon outbound icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-1ed99556><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div></div><div class="updated" data-v-07c132fc><p class="last-updated" data-v-07c132fc data-v-abce3432><span class="prefix" data-v-abce3432>Last Updated:</span><span class="datetime" data-v-abce3432></span></p></div></footer><div class="next-and-prev-link" data-v-7eddb2c4 data-v-38ede35f><div class="container" data-v-38ede35f><div class="prev" data-v-38ede35f><a class="link" href="/en_US/guide/settings" data-v-38ede35f><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon icon-prev" data-v-38ede35f><path d="M19,11H7.4l5.3-5.3c0.4-0.4,0.4-1,0-1.4s-1-0.4-1.4,0l-7,7c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.2-0.1,0.5,0,0.8c0.1,0.1,0.1,0.2,0.2,0.3l7,7c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3c0.4-0.4,0.4-1,0-1.4L7.4,13H19c0.6,0,1-0.4,1-1S19.6,11,19,11z"></path></svg><span class="text" data-v-38ede35f>Settings</span></a></div><div class="next" data-v-38ede35f><a class="link" href="/en_US/guide/q2" data-v-38ede35f><span class="text" data-v-38ede35f>Agent cannot start/on-line. Steps to review logs and troubleshoot</span><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon icon-next" data-v-38ede35f><path d="M19.9,12.4c0.1-0.2,0.1-0.5,0-0.8c-0.1-0.1-0.1-0.2-0.2-0.3l-7-7c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l5.3,5.3H5c-0.6,0-1,0.4-1,1s0.4,1,1,1h11.6l-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"></path></svg></a></div></div></div><!--[--><!--]--></div></main></div><!----><!--]--></div>
<script>__VP_HASH_MAP__ = JSON.parse("{\"case_case1.md\":\"016eed9d\",\"case_case2.md\":\"f67c1fe3\",\"case_case3.md\":\"bf638fdf\",\"case_case4.md\":\"3245ae29\",\"case_index.md\":\"ebb90ea0\",\"developer_index.md\":\"4d04d79c\",\"developer_l10n.md\":\"617b1a97\",\"developer_theme.md\":\"918b2e4e\",\"en_us_case_case1.md\":\"43e8a143\",\"en_us_case_case2.md\":\"a4b37606\",\"en_us_case_case3.md\":\"3b3d42a3\",\"en_us_case_case4.md\":\"38491e58\",\"en_us_case_index.md\":\"84f385b0\",\"en_us_developer_index.md\":\"f75e3f42\",\"en_us_developer_l10n.md\":\"3849e268\",\"en_us_developer_theme.md\":\"705c4cc6\",\"en_us_guide_agent.md\":\"a2a51d03\",\"en_us_guide_agentq.md\":\"2308e834\",\"en_us_guide_api.md\":\"c054bd2d\",\"en_us_guide_dashboard.md\":\"0806c57c\",\"en_us_guide_dashboardq.md\":\"e23f6f14\",\"en_us_guide_loginq.md\":\"d842b1d4\",\"en_us_guide_notifications.md\":\"fa81e634\",\"en_us_guide_q2.md\":\"702af635\",\"en_us_guide_q3.md\":\"4d3452c2\",\"en_us_guide_q4.md\":\"c42ec441\",\"en_us_guide_q5.md\":\"006e7c54\",\"en_us_guide_q6.md\":\"990dce4b\",\"en_us_guide_q7.md\":\"8e05e7f1\",\"en_us_guide_servers.md\":\"7a0c2f6a\",\"en_us_guide_services.md\":\"40302e30\",\"en_us_guide_settings.md\":\"99903d54\",\"en_us_guide_tasks.md\":\"160e34bf\",\"en_us_index.md\":\"e33f0352\",\"guide_agent.md\":\"229ecc9f\",\"guide_agentq.md\":\"1cea3a0f\",\"guide_api.md\":\"69992701\",\"guide_dashboard.md\":\"c0747146\",\"guide_dashboardq.md\":\"34553ae1\",\"guide_loginq.md\":\"4b8b521e\",\"guide_notifications.md\":\"fc51b373\",\"guide_q1.md\":\"8e74953b\",\"guide_q2.md\":\"c422d7f6\",\"guide_q3.md\":\"e35c5efe\",\"guide_q4.md\":\"d64613b1\",\"guide_q5.md\":\"367cf326\",\"guide_q6.md\":\"f0affa28\",\"guide_q7.md\":\"7173b6c9\",\"guide_servers.md\":\"e4abb554\",\"guide_services.md\":\"10023c9c\",\"guide_settings.md\":\"beb84c68\",\"guide_tasks.md\":\"f3e95746\",\"index.md\":\"f1c29ac9\"}")</script>
<script>__VP_HASH_MAP__ = JSON.parse("{\"case_case1.md\":\"1794f559\",\"case_case2.md\":\"ed013d2e\",\"case_case3.md\":\"a1206002\",\"case_case4.md\":\"946a8c9a\",\"case_index.md\":\"e65643e3\",\"developer_index.md\":\"f6a97ef7\",\"developer_l10n.md\":\"65dd08ac\",\"developer_theme.md\":\"c9c3df07\",\"en_us_case_case1.md\":\"faf145b6\",\"en_us_case_case2.md\":\"bbcc6810\",\"en_us_case_case3.md\":\"0edf847c\",\"en_us_case_case4.md\":\"f16c8236\",\"en_us_case_index.md\":\"fce78758\",\"en_us_developer_index.md\":\"c7b29d43\",\"en_us_developer_l10n.md\":\"84585412\",\"en_us_developer_theme.md\":\"7ec56509\",\"en_us_guide_agent.md\":\"c7f0dfcb\",\"en_us_guide_agentq.md\":\"be2f4ffa\",\"en_us_guide_api.md\":\"849e2b30\",\"en_us_guide_dashboard.md\":\"eedbd6ec\",\"en_us_guide_dashboardq.md\":\"e5ede841\",\"en_us_guide_loginq.md\":\"abbb5310\",\"en_us_guide_notifications.md\":\"2a64411b\",\"en_us_guide_q2.md\":\"f2fa159e\",\"en_us_guide_q3.md\":\"b4ace544\",\"en_us_guide_q4.md\":\"e7252bf3\",\"en_us_guide_q5.md\":\"e19b333e\",\"en_us_guide_q6.md\":\"61e6cc58\",\"en_us_guide_q7.md\":\"13e8eff6\",\"en_us_guide_servers.md\":\"e4b4b014\",\"en_us_guide_services.md\":\"18710eae\",\"en_us_guide_settings.md\":\"65eb2543\",\"en_us_guide_tasks.md\":\"6c70788f\",\"en_us_index.md\":\"dafee8bb\",\"guide_agent.md\":\"8e4f34ce\",\"guide_agentq.md\":\"912547e6\",\"guide_api.md\":\"2a8f1045\",\"guide_dashboard.md\":\"e0aec813\",\"guide_dashboardq.md\":\"697f62b1\",\"guide_loginq.md\":\"16e88cb1\",\"guide_notifications.md\":\"0b16a431\",\"guide_q1.md\":\"ee6f6c23\",\"guide_q2.md\":\"e13638d2\",\"guide_q3.md\":\"b8527d76\",\"guide_q4.md\":\"e70e12a9\",\"guide_q5.md\":\"9512544d\",\"guide_q6.md\":\"a6cc86ae\",\"guide_q7.md\":\"ec382cdc\",\"guide_servers.md\":\"cbaa3ee8\",\"guide_services.md\":\"43d6b1e3\",\"guide_settings.md\":\"24463975\",\"guide_tasks.md\":\"40f424f7\",\"index.md\":\"1a4b7aec\"}")</script>
<script type="module" async src="/assets/app.3817bf4e.js"></script>
</body>
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="/assets/style.0b9f658b.css">
<link rel="modulepreload" href="/assets/chunks/AlgoliaSearchBox.98396bc7.js">
<link rel="modulepreload" href="/assets/app.3817bf4e.js">
<link rel="modulepreload" href="/assets/en_US_guide_dashboardq.md.e23f6f14.lean.js">
<link rel="modulepreload" href="/assets/en_US_guide_dashboardq.md.e5ede841.lean.js">
<meta name="twitter:title" content="Why the IP displayed in the admin panel and the actual IP of the Agent are not the same? | Nezha Monitoring">
<meta property="og:title" content="Why the IP displayed in the admin panel and the actual IP of the Agent are not the same? | Nezha Monitoring">
@@ -27,7 +27,7 @@ systemctl status <span class="token function">docker</span>
<span class="token directive"><span class="token keyword">access_log</span> /dev/null</span><span class="token punctuation">;</span>
<span class="token punctuation">}</span>
</code></pre></div><ol start="3"><li>Save the configuration and clear the cache in the browser, NginX, and CDN, then refresh the page and it should return to normal.</li></ol></div></div><footer class="page-footer" data-v-7eddb2c4 data-v-07c132fc><div class="edit" data-v-07c132fc><div class="edit-link" data-v-07c132fc data-v-1ed99556><a class="link" href="https://github.com/nezhahq/nezhahq.github.io/edit/main/docs/en_US/guide/dashboardq.md" target="_blank" rel="noopener noreferrer" data-v-1ed99556>Edit this page on GitHub <svg class="icon outbound icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-1ed99556><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div></div><div class="updated" data-v-07c132fc><p class="last-updated" data-v-07c132fc data-v-abce3432><span class="prefix" data-v-abce3432>Last Updated:</span><span class="datetime" data-v-abce3432></span></p></div></footer><div class="next-and-prev-link" data-v-7eddb2c4 data-v-38ede35f><div class="container" data-v-38ede35f><div class="prev" data-v-38ede35f><a class="link" href="/en_US/guide/q7" data-v-38ede35f><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon icon-prev" data-v-38ede35f><path d="M19,11H7.4l5.3-5.3c0.4-0.4,0.4-1,0-1.4s-1-0.4-1.4,0l-7,7c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.2-0.1,0.5,0,0.8c0.1,0.1,0.1,0.2,0.2,0.3l7,7c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3c0.4-0.4,0.4-1,0-1.4L7.4,13H19c0.6,0,1-0.4,1-1S19.6,11,19,11z"></path></svg><span class="text" data-v-38ede35f>Steps to customize Agent monitoring items</span></a></div><div class="next" data-v-38ede35f><a class="link" href="/en_US/guide/agentq" data-v-38ede35f><span class="text" data-v-38ede35f>Agent</span><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon icon-next" data-v-38ede35f><path d="M19.9,12.4c0.1-0.2,0.1-0.5,0-0.8c-0.1-0.1-0.1-0.2-0.2-0.3l-7-7c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l5.3,5.3H5c-0.6,0-1,0.4-1,1s0.4,1,1,1h11.6l-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"></path></svg></a></div></div></div><!--[--><!--]--></div></main></div><!----><!--]--></div>
<script>__VP_HASH_MAP__ = JSON.parse("{\"case_case1.md\":\"016eed9d\",\"case_case2.md\":\"f67c1fe3\",\"case_case3.md\":\"bf638fdf\",\"case_case4.md\":\"3245ae29\",\"case_index.md\":\"ebb90ea0\",\"developer_index.md\":\"4d04d79c\",\"developer_l10n.md\":\"617b1a97\",\"developer_theme.md\":\"918b2e4e\",\"en_us_case_case1.md\":\"43e8a143\",\"en_us_case_case2.md\":\"a4b37606\",\"en_us_case_case3.md\":\"3b3d42a3\",\"en_us_case_case4.md\":\"38491e58\",\"en_us_case_index.md\":\"84f385b0\",\"en_us_developer_index.md\":\"f75e3f42\",\"en_us_developer_l10n.md\":\"3849e268\",\"en_us_developer_theme.md\":\"705c4cc6\",\"en_us_guide_agent.md\":\"a2a51d03\",\"en_us_guide_agentq.md\":\"2308e834\",\"en_us_guide_api.md\":\"c054bd2d\",\"en_us_guide_dashboard.md\":\"0806c57c\",\"en_us_guide_dashboardq.md\":\"e23f6f14\",\"en_us_guide_loginq.md\":\"d842b1d4\",\"en_us_guide_notifications.md\":\"fa81e634\",\"en_us_guide_q2.md\":\"702af635\",\"en_us_guide_q3.md\":\"4d3452c2\",\"en_us_guide_q4.md\":\"c42ec441\",\"en_us_guide_q5.md\":\"006e7c54\",\"en_us_guide_q6.md\":\"990dce4b\",\"en_us_guide_q7.md\":\"8e05e7f1\",\"en_us_guide_servers.md\":\"7a0c2f6a\",\"en_us_guide_services.md\":\"40302e30\",\"en_us_guide_settings.md\":\"99903d54\",\"en_us_guide_tasks.md\":\"160e34bf\",\"en_us_index.md\":\"e33f0352\",\"guide_agent.md\":\"229ecc9f\",\"guide_agentq.md\":\"1cea3a0f\",\"guide_api.md\":\"69992701\",\"guide_dashboard.md\":\"c0747146\",\"guide_dashboardq.md\":\"34553ae1\",\"guide_loginq.md\":\"4b8b521e\",\"guide_notifications.md\":\"fc51b373\",\"guide_q1.md\":\"8e74953b\",\"guide_q2.md\":\"c422d7f6\",\"guide_q3.md\":\"e35c5efe\",\"guide_q4.md\":\"d64613b1\",\"guide_q5.md\":\"367cf326\",\"guide_q6.md\":\"f0affa28\",\"guide_q7.md\":\"7173b6c9\",\"guide_servers.md\":\"e4abb554\",\"guide_services.md\":\"10023c9c\",\"guide_settings.md\":\"beb84c68\",\"guide_tasks.md\":\"f3e95746\",\"index.md\":\"f1c29ac9\"}")</script>
<script>__VP_HASH_MAP__ = JSON.parse("{\"case_case1.md\":\"1794f559\",\"case_case2.md\":\"ed013d2e\",\"case_case3.md\":\"a1206002\",\"case_case4.md\":\"946a8c9a\",\"case_index.md\":\"e65643e3\",\"developer_index.md\":\"f6a97ef7\",\"developer_l10n.md\":\"65dd08ac\",\"developer_theme.md\":\"c9c3df07\",\"en_us_case_case1.md\":\"faf145b6\",\"en_us_case_case2.md\":\"bbcc6810\",\"en_us_case_case3.md\":\"0edf847c\",\"en_us_case_case4.md\":\"f16c8236\",\"en_us_case_index.md\":\"fce78758\",\"en_us_developer_index.md\":\"c7b29d43\",\"en_us_developer_l10n.md\":\"84585412\",\"en_us_developer_theme.md\":\"7ec56509\",\"en_us_guide_agent.md\":\"c7f0dfcb\",\"en_us_guide_agentq.md\":\"be2f4ffa\",\"en_us_guide_api.md\":\"849e2b30\",\"en_us_guide_dashboard.md\":\"eedbd6ec\",\"en_us_guide_dashboardq.md\":\"e5ede841\",\"en_us_guide_loginq.md\":\"abbb5310\",\"en_us_guide_notifications.md\":\"2a64411b\",\"en_us_guide_q2.md\":\"f2fa159e\",\"en_us_guide_q3.md\":\"b4ace544\",\"en_us_guide_q4.md\":\"e7252bf3\",\"en_us_guide_q5.md\":\"e19b333e\",\"en_us_guide_q6.md\":\"61e6cc58\",\"en_us_guide_q7.md\":\"13e8eff6\",\"en_us_guide_servers.md\":\"e4b4b014\",\"en_us_guide_services.md\":\"18710eae\",\"en_us_guide_settings.md\":\"65eb2543\",\"en_us_guide_tasks.md\":\"6c70788f\",\"en_us_index.md\":\"dafee8bb\",\"guide_agent.md\":\"8e4f34ce\",\"guide_agentq.md\":\"912547e6\",\"guide_api.md\":\"2a8f1045\",\"guide_dashboard.md\":\"e0aec813\",\"guide_dashboardq.md\":\"697f62b1\",\"guide_loginq.md\":\"16e88cb1\",\"guide_notifications.md\":\"0b16a431\",\"guide_q1.md\":\"ee6f6c23\",\"guide_q2.md\":\"e13638d2\",\"guide_q3.md\":\"b8527d76\",\"guide_q4.md\":\"e70e12a9\",\"guide_q5.md\":\"9512544d\",\"guide_q6.md\":\"a6cc86ae\",\"guide_q7.md\":\"ec382cdc\",\"guide_servers.md\":\"cbaa3ee8\",\"guide_services.md\":\"43d6b1e3\",\"guide_settings.md\":\"24463975\",\"guide_tasks.md\":\"40f424f7\",\"index.md\":\"1a4b7aec\"}")</script>
<script type="module" async src="/assets/app.3817bf4e.js"></script>
</body>
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+2 -2
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="/assets/style.0b9f658b.css">
<link rel="modulepreload" href="/assets/chunks/AlgoliaSearchBox.98396bc7.js">
<link rel="modulepreload" href="/assets/app.3817bf4e.js">
<link rel="modulepreload" href="/assets/en_US_guide_q3.md.4d3452c2.lean.js">
<link rel="modulepreload" href="/assets/en_US_guide_q3.md.b4ace544.lean.js">
<meta name="twitter:title" content="Reverse Proxy gRPC Port (support Cloudflare CDN) | Nezha Monitoring">
<meta property="og:title" content="Reverse Proxy gRPC Port (support Cloudflare CDN) | Nezha Monitoring">
@@ -45,7 +45,7 @@
}
}
</code></pre></div><p>Dashboard Configuration</p><ul><li>First login to the Dashboard and enter the admin panel, go to the settings page, fill in the <code>CDN Bypassed Domain/IP</code> with the domain name you configured in Nginx or Caddy, for example <code>data.example.com</code>, and save it.</li><li>Then open the <code>/opt/nezha/dashboard/data/config.yaml</code> file in the panel server and change <code>proxygrpcport</code> to the port that Nginx or Caddy is listening on, such as <code>443</code> as set in the previous step. Since we have SSL/TLS enabled in Nginx or Caddy, we need to set <code>tls</code> to <code>true</code>, restart the panel when you are done.</li></ul><p>Agent Configuration</p><ul><li>Log in to the admin panel, copy the one-click install command, and run the one-click install command on the corresponding server to reinstall the agent.</li></ul><p>Enable Cloudflare CDN (optional)</p><p>According to Cloudflare gRPC requirements: gRPC services must listen on port 443 and must support TLS and HTTP/2. So if you need to enable CDN, you must use port 443 when configuring Nginx or Caddy reverse proxy gRPC and configure the certificate (Caddy will automatically apply and configure the certificate).</p><ul><li>Log in to Cloudflare and select the domain you are using. Go to the <code>Network</code> page and turn on the <code>gRPC</code> switch, then go to the <code>DNS</code> page, find the resolution record of the domain with gRPC configuration, and turn on the orange cloud icon to enable CDN.</li></ul></div></div><footer class="page-footer" data-v-7eddb2c4 data-v-07c132fc><div class="edit" data-v-07c132fc><div class="edit-link" data-v-07c132fc data-v-1ed99556><a class="link" href="https://github.com/nezhahq/nezhahq.github.io/edit/main/docs/en_US/guide/q3.md" target="_blank" rel="noopener noreferrer" data-v-1ed99556>Edit this page on GitHub <svg class="icon outbound icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-1ed99556><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div></div><div class="updated" data-v-07c132fc><p class="last-updated" data-v-07c132fc data-v-abce3432><span class="prefix" data-v-abce3432>Last Updated:</span><span class="datetime" data-v-abce3432></span></p></div></footer><div class="next-and-prev-link" data-v-7eddb2c4 data-v-38ede35f><div class="container" data-v-38ede35f><div class="prev" data-v-38ede35f><a class="link" href="/en_US/guide/q2" data-v-38ede35f><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon icon-prev" data-v-38ede35f><path d="M19,11H7.4l5.3-5.3c0.4-0.4,0.4-1,0-1.4s-1-0.4-1.4,0l-7,7c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.2-0.1,0.5,0,0.8c0.1,0.1,0.1,0.2,0.2,0.3l7,7c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3c0.4-0.4,0.4-1,0-1.4L7.4,13H19c0.6,0,1-0.4,1-1S19.6,11,19,11z"></path></svg><span class="text" data-v-38ede35f>Agent cannot start/on-line. Steps to review logs and troubleshoot</span></a></div><div class="next" data-v-38ede35f><a class="link" href="/en_US/guide/q4" data-v-38ede35f><span class="text" data-v-38ede35f>Real-time channel disconnection/online terminal connection failure</span><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon icon-next" data-v-38ede35f><path d="M19.9,12.4c0.1-0.2,0.1-0.5,0-0.8c-0.1-0.1-0.1-0.2-0.2-0.3l-7-7c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l5.3,5.3H5c-0.6,0-1,0.4-1,1s0.4,1,1,1h11.6l-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"></path></svg></a></div></div></div><!--[--><!--]--></div></main></div><!----><!--]--></div>
<script>__VP_HASH_MAP__ = JSON.parse("{\"case_case1.md\":\"016eed9d\",\"case_case2.md\":\"f67c1fe3\",\"case_case3.md\":\"bf638fdf\",\"case_case4.md\":\"3245ae29\",\"case_index.md\":\"ebb90ea0\",\"developer_index.md\":\"4d04d79c\",\"developer_l10n.md\":\"617b1a97\",\"developer_theme.md\":\"918b2e4e\",\"en_us_case_case1.md\":\"43e8a143\",\"en_us_case_case2.md\":\"a4b37606\",\"en_us_case_case3.md\":\"3b3d42a3\",\"en_us_case_case4.md\":\"38491e58\",\"en_us_case_index.md\":\"84f385b0\",\"en_us_developer_index.md\":\"f75e3f42\",\"en_us_developer_l10n.md\":\"3849e268\",\"en_us_developer_theme.md\":\"705c4cc6\",\"en_us_guide_agent.md\":\"a2a51d03\",\"en_us_guide_agentq.md\":\"2308e834\",\"en_us_guide_api.md\":\"c054bd2d\",\"en_us_guide_dashboard.md\":\"0806c57c\",\"en_us_guide_dashboardq.md\":\"e23f6f14\",\"en_us_guide_loginq.md\":\"d842b1d4\",\"en_us_guide_notifications.md\":\"fa81e634\",\"en_us_guide_q2.md\":\"702af635\",\"en_us_guide_q3.md\":\"4d3452c2\",\"en_us_guide_q4.md\":\"c42ec441\",\"en_us_guide_q5.md\":\"006e7c54\",\"en_us_guide_q6.md\":\"990dce4b\",\"en_us_guide_q7.md\":\"8e05e7f1\",\"en_us_guide_servers.md\":\"7a0c2f6a\",\"en_us_guide_services.md\":\"40302e30\",\"en_us_guide_settings.md\":\"99903d54\",\"en_us_guide_tasks.md\":\"160e34bf\",\"en_us_index.md\":\"e33f0352\",\"guide_agent.md\":\"229ecc9f\",\"guide_agentq.md\":\"1cea3a0f\",\"guide_api.md\":\"69992701\",\"guide_dashboard.md\":\"c0747146\",\"guide_dashboardq.md\":\"34553ae1\",\"guide_loginq.md\":\"4b8b521e\",\"guide_notifications.md\":\"fc51b373\",\"guide_q1.md\":\"8e74953b\",\"guide_q2.md\":\"c422d7f6\",\"guide_q3.md\":\"e35c5efe\",\"guide_q4.md\":\"d64613b1\",\"guide_q5.md\":\"367cf326\",\"guide_q6.md\":\"f0affa28\",\"guide_q7.md\":\"7173b6c9\",\"guide_servers.md\":\"e4abb554\",\"guide_services.md\":\"10023c9c\",\"guide_settings.md\":\"beb84c68\",\"guide_tasks.md\":\"f3e95746\",\"index.md\":\"f1c29ac9\"}")</script>
<script>__VP_HASH_MAP__ = JSON.parse("{\"case_case1.md\":\"1794f559\",\"case_case2.md\":\"ed013d2e\",\"case_case3.md\":\"a1206002\",\"case_case4.md\":\"946a8c9a\",\"case_index.md\":\"e65643e3\",\"developer_index.md\":\"f6a97ef7\",\"developer_l10n.md\":\"65dd08ac\",\"developer_theme.md\":\"c9c3df07\",\"en_us_case_case1.md\":\"faf145b6\",\"en_us_case_case2.md\":\"bbcc6810\",\"en_us_case_case3.md\":\"0edf847c\",\"en_us_case_case4.md\":\"f16c8236\",\"en_us_case_index.md\":\"fce78758\",\"en_us_developer_index.md\":\"c7b29d43\",\"en_us_developer_l10n.md\":\"84585412\",\"en_us_developer_theme.md\":\"7ec56509\",\"en_us_guide_agent.md\":\"c7f0dfcb\",\"en_us_guide_agentq.md\":\"be2f4ffa\",\"en_us_guide_api.md\":\"849e2b30\",\"en_us_guide_dashboard.md\":\"eedbd6ec\",\"en_us_guide_dashboardq.md\":\"e5ede841\",\"en_us_guide_loginq.md\":\"abbb5310\",\"en_us_guide_notifications.md\":\"2a64411b\",\"en_us_guide_q2.md\":\"f2fa159e\",\"en_us_guide_q3.md\":\"b4ace544\",\"en_us_guide_q4.md\":\"e7252bf3\",\"en_us_guide_q5.md\":\"e19b333e\",\"en_us_guide_q6.md\":\"61e6cc58\",\"en_us_guide_q7.md\":\"13e8eff6\",\"en_us_guide_servers.md\":\"e4b4b014\",\"en_us_guide_services.md\":\"18710eae\",\"en_us_guide_settings.md\":\"65eb2543\",\"en_us_guide_tasks.md\":\"6c70788f\",\"en_us_index.md\":\"dafee8bb\",\"guide_agent.md\":\"8e4f34ce\",\"guide_agentq.md\":\"912547e6\",\"guide_api.md\":\"2a8f1045\",\"guide_dashboard.md\":\"e0aec813\",\"guide_dashboardq.md\":\"697f62b1\",\"guide_loginq.md\":\"16e88cb1\",\"guide_notifications.md\":\"0b16a431\",\"guide_q1.md\":\"ee6f6c23\",\"guide_q2.md\":\"e13638d2\",\"guide_q3.md\":\"b8527d76\",\"guide_q4.md\":\"e70e12a9\",\"guide_q5.md\":\"9512544d\",\"guide_q6.md\":\"a6cc86ae\",\"guide_q7.md\":\"ec382cdc\",\"guide_servers.md\":\"cbaa3ee8\",\"guide_services.md\":\"43d6b1e3\",\"guide_settings.md\":\"24463975\",\"guide_tasks.md\":\"40f424f7\",\"index.md\":\"1a4b7aec\"}")</script>
<script type="module" async src="/assets/app.3817bf4e.js"></script>
</body>
+2 -2
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="/assets/style.0b9f658b.css">
<link rel="modulepreload" href="/assets/chunks/AlgoliaSearchBox.98396bc7.js">
<link rel="modulepreload" href="/assets/app.3817bf4e.js">
<link rel="modulepreload" href="/assets/en_US_guide_settings.md.99903d54.lean.js">
<link rel="modulepreload" href="/assets/en_US_guide_settings.md.65eb2543.lean.js">
<meta name="twitter:title" content="Site Title | Nezha Monitoring">
<meta property="og:title" content="Site Title | Nezha Monitoring">
@@ -62,7 +62,7 @@ avatar<span class="token punctuation">.</span>style<span class="token punctuatio
<span class="token punctuation">}</span>
</span></span><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>style</span><span class="token punctuation">&gt;</span></span>
</code></pre></div><h2 id="access-password" tabindex="-1">Access Password <a class="header-anchor" href="#access-password" aria-hidden="true">#</a></h2><p>If you don&#39;t want to show your homepage directly, you can set a access password here<br> After setting the password, you need to enter the password to access the homepage<br><br></p><h2 id="cdn-bypassed-domain-ip" tabindex="-1">CDN Bypassed Domain/IP <a class="header-anchor" href="#cdn-bypassed-domain-ip" aria-hidden="true">#</a></h2><p>This setting is a prerequisite for using the one-click script to install the Agent, see <a href="/en_US/guide/agent.html#preparation">here</a> for details <br></p><h2 id="ip-change-alert" tabindex="-1">IP Change Alert <a class="header-anchor" href="#ip-change-alert" aria-hidden="true">#</a></h2><p>If you want to be notified when a server&#39;s ip changes, you can set it up here</p><h4 id="coverage" tabindex="-1">Coverage <a class="header-anchor" href="#coverage" aria-hidden="true">#</a></h4><p>Select a rule here to determine which servers need to be monitored, and you can choose according to your needs</p><h4 id="specific-servers" tabindex="-1">Specific Servers <a class="header-anchor" href="#specific-servers" aria-hidden="true">#</a></h4><p>In conjunction with the coverage settings, set the exclusions for the selected rule here</p><h4 id="send-notification-to-specific-notification-group" tabindex="-1">Send Notification To Specific Notification Group <a class="header-anchor" href="#send-notification-to-specific-notification-group" aria-hidden="true">#</a></h4><p>Select the notification method, please set the notification method in the &quot;Notifications&quot; page<br><br></p><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p><strong>When the settings are completed, the notification takes effect when <code>enabled</code> is activated</strong></p></div><br><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>IP Change Alert does not show ip by default, if you don&#39;t want to hide it, you can activate &quot;Do NOT desensitize Server IP In Notification Messages&quot;</p></div></div></div><footer class="page-footer" data-v-7eddb2c4 data-v-07c132fc><div class="edit" data-v-07c132fc><div class="edit-link" data-v-07c132fc data-v-1ed99556><a class="link" href="https://github.com/nezhahq/nezhahq.github.io/edit/main/docs/en_US/guide/settings.md" target="_blank" rel="noopener noreferrer" data-v-1ed99556>Edit this page on GitHub <svg class="icon outbound icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-1ed99556><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div></div><div class="updated" data-v-07c132fc><p class="last-updated" data-v-07c132fc data-v-abce3432><span class="prefix" data-v-abce3432>Last Updated:</span><span class="datetime" data-v-abce3432></span></p></div></footer><div class="next-and-prev-link" data-v-7eddb2c4 data-v-38ede35f><div class="container" data-v-38ede35f><div class="prev" data-v-38ede35f><a class="link" href="/en_US/guide/notifications" data-v-38ede35f><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon icon-prev" data-v-38ede35f><path d="M19,11H7.4l5.3-5.3c0.4-0.4,0.4-1,0-1.4s-1-0.4-1.4,0l-7,7c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.2-0.1,0.5,0,0.8c0.1,0.1,0.1,0.2,0.2,0.3l7,7c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3c0.4-0.4,0.4-1,0-1.4L7.4,13H19c0.6,0,1-0.4,1-1S19.6,11,19,11z"></path></svg><span class="text" data-v-38ede35f>Notifications</span></a></div><div class="next" data-v-38ede35f><a class="link" href="/en_US/guide/api" data-v-38ede35f><span class="text" data-v-38ede35f>API</span><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon icon-next" data-v-38ede35f><path d="M19.9,12.4c0.1-0.2,0.1-0.5,0-0.8c-0.1-0.1-0.1-0.2-0.2-0.3l-7-7c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l5.3,5.3H5c-0.6,0-1,0.4-1,1s0.4,1,1,1h11.6l-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"></path></svg></a></div></div></div><!--[--><!--]--></div></main></div><!----><!--]--></div>
<script>__VP_HASH_MAP__ = JSON.parse("{\"case_case1.md\":\"016eed9d\",\"case_case2.md\":\"f67c1fe3\",\"case_case3.md\":\"bf638fdf\",\"case_case4.md\":\"3245ae29\",\"case_index.md\":\"ebb90ea0\",\"developer_index.md\":\"4d04d79c\",\"developer_l10n.md\":\"617b1a97\",\"developer_theme.md\":\"918b2e4e\",\"en_us_case_case1.md\":\"43e8a143\",\"en_us_case_case2.md\":\"a4b37606\",\"en_us_case_case3.md\":\"3b3d42a3\",\"en_us_case_case4.md\":\"38491e58\",\"en_us_case_index.md\":\"84f385b0\",\"en_us_developer_index.md\":\"f75e3f42\",\"en_us_developer_l10n.md\":\"3849e268\",\"en_us_developer_theme.md\":\"705c4cc6\",\"en_us_guide_agent.md\":\"a2a51d03\",\"en_us_guide_agentq.md\":\"2308e834\",\"en_us_guide_api.md\":\"c054bd2d\",\"en_us_guide_dashboard.md\":\"0806c57c\",\"en_us_guide_dashboardq.md\":\"e23f6f14\",\"en_us_guide_loginq.md\":\"d842b1d4\",\"en_us_guide_notifications.md\":\"fa81e634\",\"en_us_guide_q2.md\":\"702af635\",\"en_us_guide_q3.md\":\"4d3452c2\",\"en_us_guide_q4.md\":\"c42ec441\",\"en_us_guide_q5.md\":\"006e7c54\",\"en_us_guide_q6.md\":\"990dce4b\",\"en_us_guide_q7.md\":\"8e05e7f1\",\"en_us_guide_servers.md\":\"7a0c2f6a\",\"en_us_guide_services.md\":\"40302e30\",\"en_us_guide_settings.md\":\"99903d54\",\"en_us_guide_tasks.md\":\"160e34bf\",\"en_us_index.md\":\"e33f0352\",\"guide_agent.md\":\"229ecc9f\",\"guide_agentq.md\":\"1cea3a0f\",\"guide_api.md\":\"69992701\",\"guide_dashboard.md\":\"c0747146\",\"guide_dashboardq.md\":\"34553ae1\",\"guide_loginq.md\":\"4b8b521e\",\"guide_notifications.md\":\"fc51b373\",\"guide_q1.md\":\"8e74953b\",\"guide_q2.md\":\"c422d7f6\",\"guide_q3.md\":\"e35c5efe\",\"guide_q4.md\":\"d64613b1\",\"guide_q5.md\":\"367cf326\",\"guide_q6.md\":\"f0affa28\",\"guide_q7.md\":\"7173b6c9\",\"guide_servers.md\":\"e4abb554\",\"guide_services.md\":\"10023c9c\",\"guide_settings.md\":\"beb84c68\",\"guide_tasks.md\":\"f3e95746\",\"index.md\":\"f1c29ac9\"}")</script>
<script>__VP_HASH_MAP__ = JSON.parse("{\"case_case1.md\":\"1794f559\",\"case_case2.md\":\"ed013d2e\",\"case_case3.md\":\"a1206002\",\"case_case4.md\":\"946a8c9a\",\"case_index.md\":\"e65643e3\",\"developer_index.md\":\"f6a97ef7\",\"developer_l10n.md\":\"65dd08ac\",\"developer_theme.md\":\"c9c3df07\",\"en_us_case_case1.md\":\"faf145b6\",\"en_us_case_case2.md\":\"bbcc6810\",\"en_us_case_case3.md\":\"0edf847c\",\"en_us_case_case4.md\":\"f16c8236\",\"en_us_case_index.md\":\"fce78758\",\"en_us_developer_index.md\":\"c7b29d43\",\"en_us_developer_l10n.md\":\"84585412\",\"en_us_developer_theme.md\":\"7ec56509\",\"en_us_guide_agent.md\":\"c7f0dfcb\",\"en_us_guide_agentq.md\":\"be2f4ffa\",\"en_us_guide_api.md\":\"849e2b30\",\"en_us_guide_dashboard.md\":\"eedbd6ec\",\"en_us_guide_dashboardq.md\":\"e5ede841\",\"en_us_guide_loginq.md\":\"abbb5310\",\"en_us_guide_notifications.md\":\"2a64411b\",\"en_us_guide_q2.md\":\"f2fa159e\",\"en_us_guide_q3.md\":\"b4ace544\",\"en_us_guide_q4.md\":\"e7252bf3\",\"en_us_guide_q5.md\":\"e19b333e\",\"en_us_guide_q6.md\":\"61e6cc58\",\"en_us_guide_q7.md\":\"13e8eff6\",\"en_us_guide_servers.md\":\"e4b4b014\",\"en_us_guide_services.md\":\"18710eae\",\"en_us_guide_settings.md\":\"65eb2543\",\"en_us_guide_tasks.md\":\"6c70788f\",\"en_us_index.md\":\"dafee8bb\",\"guide_agent.md\":\"8e4f34ce\",\"guide_agentq.md\":\"912547e6\",\"guide_api.md\":\"2a8f1045\",\"guide_dashboard.md\":\"e0aec813\",\"guide_dashboardq.md\":\"697f62b1\",\"guide_loginq.md\":\"16e88cb1\",\"guide_notifications.md\":\"0b16a431\",\"guide_q1.md\":\"ee6f6c23\",\"guide_q2.md\":\"e13638d2\",\"guide_q3.md\":\"b8527d76\",\"guide_q4.md\":\"e70e12a9\",\"guide_q5.md\":\"9512544d\",\"guide_q6.md\":\"a6cc86ae\",\"guide_q7.md\":\"ec382cdc\",\"guide_servers.md\":\"cbaa3ee8\",\"guide_services.md\":\"43d6b1e3\",\"guide_settings.md\":\"24463975\",\"guide_tasks.md\":\"40f424f7\",\"index.md\":\"1a4b7aec\"}")</script>
<script type="module" async src="/assets/app.3817bf4e.js"></script>
</body>
File diff suppressed because one or more lines are too long