From 83377dc328cbf15e785129cafc214553bb4cd80a Mon Sep 17 00:00:00 2001 From: dysf888 Date: Fri, 21 Apr 2023 11:30:39 +0000 Subject: [PATCH] deploy: 97713c7a5da5453daf51d14df9185893fc85b003 --- ....bb4a428c.js => case_case1.md.ab041901.js} | 2 +- ...lean.js => case_case1.md.ab041901.lean.js} | 2 +- ....3cf56c4d.js => case_case2.md.aa65704d.js} | 2 +- ...lean.js => case_case2.md.aa65704d.lean.js} | 2 +- ....70c0a6a5.js => case_case3.md.00ed2a5b.js} | 2 +- ...lean.js => case_case3.md.00ed2a5b.lean.js} | 2 +- ....445f551c.js => case_case4.md.7efb90b0.js} | 2 +- ...lean.js => case_case4.md.7efb90b0.lean.js} | 2 +- assets/case_case5.md.ed51855f.js | 39 ++++++++++++ assets/case_case5.md.ed51855f.lean.js | 1 + ....185a0524.js => case_index.md.0e468c21.js} | 2 +- ...lean.js => case_index.md.0e468c21.lean.js} | 2 +- ...a0ec.js => developer_index.md.426207c3.js} | 2 +- ...js => developer_index.md.426207c3.lean.js} | 2 +- ...ef267.js => developer_l10n.md.7a254502.js} | 2 +- ....js => developer_l10n.md.7a254502.lean.js} | 2 +- ...c218.js => developer_theme.md.7a2d8b90.js} | 2 +- ...js => developer_theme.md.7a2d8b90.lean.js} | 2 +- ...f4f.js => en_US_case_case1.md.9dedef12.js} | 2 +- ...s => en_US_case_case1.md.9dedef12.lean.js} | 2 +- ...3c1.js => en_US_case_case2.md.b14e2e3b.js} | 2 +- ...s => en_US_case_case2.md.b14e2e3b.lean.js} | 2 +- ...d51.js => en_US_case_case3.md.5d780c14.js} | 2 +- ...s => en_US_case_case3.md.5d780c14.lean.js} | 2 +- ...fc1.js => en_US_case_case4.md.85517e0c.js} | 2 +- ...s => en_US_case_case4.md.85517e0c.lean.js} | 2 +- ...dac.js => en_US_case_index.md.6a8e5490.js} | 2 +- ...s => en_US_case_index.md.6a8e5490.lean.js} | 2 +- ...s => en_US_developer_index.md.9d8fad63.js} | 2 +- ...en_US_developer_index.md.9d8fad63.lean.js} | 2 +- ...js => en_US_developer_l10n.md.6cb3d58b.js} | 2 +- ... en_US_developer_l10n.md.6cb3d58b.lean.js} | 2 +- ...s => en_US_developer_theme.md.33df1832.js} | 2 +- ...en_US_developer_theme.md.33df1832.lean.js} | 2 +- ...e4.js => en_US_guide_agent.md.58fef874.js} | 2 +- ... => en_US_guide_agent.md.58fef874.lean.js} | 2 +- ...7.js => en_US_guide_agentq.md.6fd0ad3a.js} | 2 +- ...=> en_US_guide_agentq.md.6fd0ad3a.lean.js} | 2 +- ...6408.js => en_US_guide_api.md.1a609500.js} | 2 +- ...js => en_US_guide_api.md.1a609500.lean.js} | 2 +- ...s => en_US_guide_dashboard.md.e3929380.js} | 2 +- ...en_US_guide_dashboard.md.e3929380.lean.js} | 2 +- ... => en_US_guide_dashboardq.md.69fe58cd.js} | 2 +- ...n_US_guide_dashboardq.md.69fe58cd.lean.js} | 2 +- ...c.js => en_US_guide_loginq.md.cb7b70de.js} | 2 +- ...=> en_US_guide_loginq.md.cb7b70de.lean.js} | 2 +- ... en_US_guide_notifications.md.b1cfb902.js} | 2 +- ...S_guide_notifications.md.b1cfb902.lean.js} | 2 +- ...041b4.js => en_US_guide_q2.md.1fede52d.js} | 2 +- ....js => en_US_guide_q2.md.1fede52d.lean.js} | 2 +- ...69935.js => en_US_guide_q3.md.9c599d6b.js} | 2 +- ....js => en_US_guide_q3.md.9c599d6b.lean.js} | 2 +- ...c55af.js => en_US_guide_q4.md.74c83acc.js} | 2 +- ....js => en_US_guide_q4.md.74c83acc.lean.js} | 2 +- ...1f642.js => en_US_guide_q5.md.023197e3.js} | 2 +- ....js => en_US_guide_q5.md.023197e3.lean.js} | 2 +- ...8fa5d.js => en_US_guide_q6.md.e76b06c2.js} | 2 +- ....js => en_US_guide_q6.md.e76b06c2.lean.js} | 2 +- ...73917.js => en_US_guide_q7.md.fbaf7d36.js} | 2 +- ....js => en_US_guide_q7.md.fbaf7d36.lean.js} | 2 +- ....js => en_US_guide_servers.md.907abee0.js} | 2 +- ...> en_US_guide_servers.md.907abee0.lean.js} | 2 +- ...js => en_US_guide_services.md.9aead7e8.js} | 2 +- ... en_US_guide_services.md.9aead7e8.lean.js} | 2 +- ...js => en_US_guide_settings.md.2c039877.js} | 2 +- ... en_US_guide_settings.md.2c039877.lean.js} | 2 +- ...e1.js => en_US_guide_tasks.md.7db037a5.js} | 2 +- ... => en_US_guide_tasks.md.7db037a5.lean.js} | 2 +- ...9a861ce5.js => en_US_index.md.11305dae.js} | 2 +- ...ean.js => en_US_index.md.11305dae.lean.js} | 2 +- ...d0f22c88.js => guide_agent.md.59488614.js} | 2 +- ...ean.js => guide_agent.md.59488614.lean.js} | 2 +- ...101fd10.js => guide_agentq.md.a75bbe9c.js} | 2 +- ...an.js => guide_agentq.md.a75bbe9c.lean.js} | 2 +- ...d.92319056.js => guide_api.md.13d6fa7e.js} | 2 +- ....lean.js => guide_api.md.13d6fa7e.lean.js} | 2 +- ...080c.js => guide_dashboard.md.81760078.js} | 2 +- ...js => guide_dashboard.md.81760078.lean.js} | 2 +- ...fcd.js => guide_dashboardq.md.7139c1fb.js} | 2 +- ...s => guide_dashboardq.md.7139c1fb.lean.js} | 2 +- ...646f83a.js => guide_loginq.md.f3f9f895.js} | 2 +- ...an.js => guide_loginq.md.f3f9f895.lean.js} | 2 +- ....js => guide_notifications.md.401936ef.js} | 2 +- ...> guide_notifications.md.401936ef.lean.js} | 2 +- ...md.3cb73fa3.js => guide_q1.md.cfb89f63.js} | 2 +- ...3.lean.js => guide_q1.md.cfb89f63.lean.js} | 2 +- ...md.fa638989.js => guide_q2.md.1e5d3a9b.js} | 2 +- ...9.lean.js => guide_q2.md.1e5d3a9b.lean.js} | 2 +- ...md.439c5b36.js => guide_q3.md.2beb91cb.js} | 2 +- ...6.lean.js => guide_q3.md.2beb91cb.lean.js} | 2 +- ...md.f572abef.js => guide_q4.md.200041ae.js} | 2 +- ...f.lean.js => guide_q4.md.200041ae.lean.js} | 2 +- ...md.502c4153.js => guide_q5.md.4e736eea.js} | 2 +- ...3.lean.js => guide_q5.md.4e736eea.lean.js} | 2 +- ...md.feb76c40.js => guide_q6.md.b699a0ae.js} | 2 +- ...0.lean.js => guide_q6.md.b699a0ae.lean.js} | 2 +- ...md.8ffd6348.js => guide_q7.md.764a1f90.js} | 2 +- ...8.lean.js => guide_q7.md.764a1f90.lean.js} | 2 +- ...8eb869.js => guide_servers.md.935137e3.js} | 2 +- ...n.js => guide_servers.md.935137e3.lean.js} | 2 +- ...28e6a.js => guide_services.md.7b6688ec.js} | 2 +- ....js => guide_services.md.7b6688ec.lean.js} | 2 +- ...421e8.js => guide_settings.md.9d745df6.js} | 2 +- ....js => guide_settings.md.9d745df6.lean.js} | 2 +- ...80852d65.js => guide_tasks.md.4870a789.js} | 2 +- ...ean.js => guide_tasks.md.4870a789.lean.js} | 2 +- ...ex.md.60a32a4a.js => index.md.12d2b26b.js} | 2 +- ...2a4a.lean.js => index.md.12d2b26b.lean.js} | 2 +- case/case1.html | 4 +- case/case2.html | 4 +- case/case3.html | 4 +- case/case4.html | 4 +- case/case5.html | 60 +++++++++++++++++++ case/index.html | 4 +- developer/index.html | 4 +- developer/l10n.html | 4 +- developer/theme.html | 4 +- en_US/case/case1.html | 4 +- en_US/case/case2.html | 4 +- en_US/case/case3.html | 4 +- en_US/case/case4.html | 4 +- en_US/case/index.html | 4 +- en_US/developer/index.html | 4 +- en_US/developer/l10n.html | 4 +- en_US/developer/theme.html | 4 +- en_US/guide/agent.html | 4 +- en_US/guide/agentq.html | 4 +- en_US/guide/api.html | 4 +- en_US/guide/dashboard.html | 4 +- en_US/guide/dashboardq.html | 4 +- en_US/guide/loginq.html | 4 +- en_US/guide/notifications.html | 4 +- en_US/guide/q2.html | 4 +- en_US/guide/q3.html | 4 +- en_US/guide/q4.html | 4 +- en_US/guide/q5.html | 4 +- en_US/guide/q6.html | 4 +- en_US/guide/q7.html | 4 +- en_US/guide/servers.html | 4 +- en_US/guide/services.html | 4 +- en_US/guide/settings.html | 4 +- en_US/guide/tasks.html | 4 +- en_US/index.html | 4 +- guide/agent.html | 4 +- guide/agentq.html | 4 +- guide/api.html | 4 +- guide/dashboard.html | 4 +- guide/dashboardq.html | 4 +- guide/loginq.html | 4 +- guide/notifications.html | 4 +- guide/q1.html | 4 +- guide/q2.html | 4 +- guide/q3.html | 4 +- guide/q4.html | 4 +- guide/q5.html | 4 +- guide/q6.html | 4 +- guide/q7.html | 4 +- guide/servers.html | 4 +- guide/services.html | 4 +- guide/settings.html | 4 +- guide/tasks.html | 4 +- hashmap.json | 2 +- index.html | 4 +- 163 files changed, 313 insertions(+), 213 deletions(-) rename assets/{case_case1.md.bb4a428c.js => case_case1.md.ab041901.js} (96%) rename assets/{case_case1.md.bb4a428c.lean.js => case_case1.md.ab041901.lean.js} (84%) rename assets/{case_case2.md.3cf56c4d.js => case_case2.md.aa65704d.js} (98%) rename assets/{case_case2.md.3cf56c4d.lean.js => case_case2.md.aa65704d.lean.js} (90%) rename assets/{case_case3.md.70c0a6a5.js => case_case3.md.00ed2a5b.js} (98%) rename assets/{case_case3.md.70c0a6a5.lean.js => case_case3.md.00ed2a5b.lean.js} (90%) rename assets/{case_case4.md.445f551c.js => case_case4.md.7efb90b0.js} (98%) rename assets/{case_case4.md.445f551c.lean.js => case_case4.md.7efb90b0.lean.js} (89%) create mode 100644 assets/case_case5.md.ed51855f.js create mode 100644 assets/case_case5.md.ed51855f.lean.js rename assets/{case_index.md.185a0524.js => case_index.md.0e468c21.js} (96%) rename assets/{case_index.md.185a0524.lean.js => case_index.md.0e468c21.lean.js} (96%) rename assets/{developer_index.md.f8a1a0ec.js => developer_index.md.426207c3.js} (89%) rename assets/{developer_index.md.f8a1a0ec.lean.js => developer_index.md.426207c3.lean.js} (89%) rename assets/{developer_l10n.md.3b2ef267.js => developer_l10n.md.7a254502.js} (93%) rename assets/{developer_l10n.md.3b2ef267.lean.js => developer_l10n.md.7a254502.lean.js} (75%) rename assets/{developer_theme.md.d3f1c218.js => developer_theme.md.7a2d8b90.js} (97%) rename assets/{developer_theme.md.d3f1c218.lean.js => developer_theme.md.7a2d8b90.lean.js} (89%) rename assets/{en_US_case_case1.md.99cd4f4f.js => en_US_case_case1.md.9dedef12.js} (95%) rename assets/{en_US_case_case1.md.99cd4f4f.lean.js => en_US_case_case1.md.9dedef12.lean.js} (83%) rename assets/{en_US_case_case2.md.51f633c1.js => en_US_case_case2.md.b14e2e3b.js} (97%) rename assets/{en_US_case_case2.md.51f633c1.lean.js => en_US_case_case2.md.b14e2e3b.lean.js} (88%) rename assets/{en_US_case_case3.md.782bfd51.js => en_US_case_case3.md.5d780c14.js} (98%) rename assets/{en_US_case_case3.md.782bfd51.lean.js => en_US_case_case3.md.5d780c14.lean.js} (87%) rename assets/{en_US_case_case4.md.207aafc1.js => en_US_case_case4.md.85517e0c.js} (94%) rename assets/{en_US_case_case4.md.207aafc1.lean.js => en_US_case_case4.md.85517e0c.lean.js} (82%) rename assets/{en_US_case_index.md.be029dac.js => en_US_case_index.md.6a8e5490.js} (90%) rename assets/{en_US_case_index.md.be029dac.lean.js => en_US_case_index.md.6a8e5490.lean.js} (90%) rename assets/{en_US_developer_index.md.91f46408.js => en_US_developer_index.md.9d8fad63.js} (92%) rename assets/{en_US_developer_index.md.91f46408.lean.js => en_US_developer_index.md.9d8fad63.lean.js} (92%) rename assets/{en_US_developer_l10n.md.5a4d34af.js => en_US_developer_l10n.md.6cb3d58b.js} (96%) rename assets/{en_US_developer_l10n.md.5a4d34af.lean.js => en_US_developer_l10n.md.6cb3d58b.lean.js} (87%) rename assets/{en_US_developer_theme.md.dbff9c27.js => en_US_developer_theme.md.33df1832.js} (96%) rename assets/{en_US_developer_theme.md.dbff9c27.lean.js => en_US_developer_theme.md.33df1832.lean.js} (88%) rename assets/{en_US_guide_agent.md.d3112ce4.js => en_US_guide_agent.md.58fef874.js} (99%) rename assets/{en_US_guide_agent.md.d3112ce4.lean.js => en_US_guide_agent.md.58fef874.lean.js} (96%) rename assets/{en_US_guide_agentq.md.5cb72347.js => en_US_guide_agentq.md.6fd0ad3a.js} (97%) rename assets/{en_US_guide_agentq.md.5cb72347.lean.js => en_US_guide_agentq.md.6fd0ad3a.lean.js} (93%) rename assets/{en_US_guide_api.md.5d9f6408.js => en_US_guide_api.md.1a609500.js} (99%) rename assets/{en_US_guide_api.md.5d9f6408.lean.js => en_US_guide_api.md.1a609500.lean.js} (87%) rename assets/{en_US_guide_dashboard.md.4ad196f0.js => en_US_guide_dashboard.md.e3929380.js} (99%) rename assets/{en_US_guide_dashboard.md.4ad196f0.lean.js => en_US_guide_dashboard.md.e3929380.lean.js} (96%) rename assets/{en_US_guide_dashboardq.md.ba23b9bd.js => en_US_guide_dashboardq.md.69fe58cd.js} (98%) rename assets/{en_US_guide_dashboardq.md.ba23b9bd.lean.js => en_US_guide_dashboardq.md.69fe58cd.lean.js} (94%) rename assets/{en_US_guide_loginq.md.18fa65ac.js => en_US_guide_loginq.md.cb7b70de.js} (98%) rename assets/{en_US_guide_loginq.md.18fa65ac.lean.js => en_US_guide_loginq.md.cb7b70de.lean.js} (95%) rename assets/{en_US_guide_notifications.md.38c3108a.js => en_US_guide_notifications.md.b1cfb902.js} (99%) rename assets/{en_US_guide_notifications.md.38c3108a.lean.js => en_US_guide_notifications.md.b1cfb902.lean.js} (93%) rename assets/{en_US_guide_q2.md.7a9041b4.js => en_US_guide_q2.md.1fede52d.js} (96%) rename assets/{en_US_guide_q2.md.7a9041b4.lean.js => en_US_guide_q2.md.1fede52d.lean.js} (83%) rename assets/{en_US_guide_q3.md.79169935.js => en_US_guide_q3.md.9c599d6b.js} (98%) rename assets/{en_US_guide_q3.md.79169935.lean.js => en_US_guide_q3.md.9c599d6b.lean.js} (83%) rename assets/{en_US_guide_q4.md.8cbc55af.js => en_US_guide_q4.md.74c83acc.js} (94%) rename assets/{en_US_guide_q4.md.8cbc55af.lean.js => en_US_guide_q4.md.74c83acc.lean.js} (94%) rename assets/{en_US_guide_q5.md.4ef1f642.js => en_US_guide_q5.md.023197e3.js} (93%) rename assets/{en_US_guide_q5.md.4ef1f642.lean.js => en_US_guide_q5.md.023197e3.lean.js} (93%) rename assets/{en_US_guide_q6.md.3188fa5d.js => en_US_guide_q6.md.e76b06c2.js} (95%) rename assets/{en_US_guide_q6.md.3188fa5d.lean.js => en_US_guide_q6.md.e76b06c2.lean.js} (82%) rename assets/{en_US_guide_q7.md.df773917.js => en_US_guide_q7.md.fbaf7d36.js} (97%) rename assets/{en_US_guide_q7.md.df773917.lean.js => en_US_guide_q7.md.fbaf7d36.lean.js} (83%) rename assets/{en_US_guide_servers.md.86631cfc.js => en_US_guide_servers.md.907abee0.js} (98%) rename assets/{en_US_guide_servers.md.86631cfc.lean.js => en_US_guide_servers.md.907abee0.lean.js} (90%) rename assets/{en_US_guide_services.md.0b2735c5.js => en_US_guide_services.md.9aead7e8.js} (98%) rename assets/{en_US_guide_services.md.0b2735c5.lean.js => en_US_guide_services.md.9aead7e8.lean.js} (88%) rename assets/{en_US_guide_settings.md.6bae2d67.js => en_US_guide_settings.md.2c039877.js} (99%) rename assets/{en_US_guide_settings.md.6bae2d67.lean.js => en_US_guide_settings.md.2c039877.lean.js} (92%) rename assets/{en_US_guide_tasks.md.99cd12e1.js => en_US_guide_tasks.md.7db037a5.js} (98%) rename assets/{en_US_guide_tasks.md.99cd12e1.lean.js => en_US_guide_tasks.md.7db037a5.lean.js} (86%) rename assets/{en_US_index.md.9a861ce5.js => en_US_index.md.11305dae.js} (95%) rename assets/{en_US_index.md.9a861ce5.lean.js => en_US_index.md.11305dae.lean.js} (95%) rename assets/{guide_agent.md.d0f22c88.js => guide_agent.md.59488614.js} (99%) rename assets/{guide_agent.md.d0f22c88.lean.js => guide_agent.md.59488614.lean.js} (96%) rename assets/{guide_agentq.md.1101fd10.js => guide_agentq.md.a75bbe9c.js} (95%) rename assets/{guide_agentq.md.1101fd10.lean.js => guide_agentq.md.a75bbe9c.lean.js} (86%) rename assets/{guide_api.md.92319056.js => guide_api.md.13d6fa7e.js} (99%) rename assets/{guide_api.md.92319056.lean.js => guide_api.md.13d6fa7e.lean.js} (88%) rename assets/{guide_dashboard.md.0569080c.js => guide_dashboard.md.81760078.js} (99%) rename assets/{guide_dashboard.md.0569080c.lean.js => guide_dashboard.md.81760078.lean.js} (96%) rename assets/{guide_dashboardq.md.61e04fcd.js => guide_dashboardq.md.7139c1fb.js} (99%) rename assets/{guide_dashboardq.md.61e04fcd.lean.js => guide_dashboardq.md.7139c1fb.lean.js} (95%) rename assets/{guide_loginq.md.6646f83a.js => guide_loginq.md.f3f9f895.js} (99%) rename assets/{guide_loginq.md.6646f83a.lean.js => guide_loginq.md.f3f9f895.lean.js} (96%) rename assets/{guide_notifications.md.704bcb6a.js => guide_notifications.md.401936ef.js} (99%) rename assets/{guide_notifications.md.704bcb6a.lean.js => guide_notifications.md.401936ef.lean.js} (94%) rename assets/{guide_q1.md.3cb73fa3.js => guide_q1.md.cfb89f63.js} (98%) rename assets/{guide_q1.md.3cb73fa3.lean.js => guide_q1.md.cfb89f63.lean.js} (80%) rename assets/{guide_q2.md.fa638989.js => guide_q2.md.1e5d3a9b.js} (96%) rename assets/{guide_q2.md.fa638989.lean.js => guide_q2.md.1e5d3a9b.lean.js} (83%) rename assets/{guide_q3.md.439c5b36.js => guide_q3.md.2beb91cb.js} (97%) rename assets/{guide_q3.md.439c5b36.lean.js => guide_q3.md.2beb91cb.lean.js} (68%) rename assets/{guide_q4.md.f572abef.js => guide_q4.md.200041ae.js} (95%) rename assets/{guide_q4.md.f572abef.lean.js => guide_q4.md.200041ae.lean.js} (95%) rename assets/{guide_q5.md.502c4153.js => guide_q5.md.4e736eea.js} (94%) rename assets/{guide_q5.md.502c4153.lean.js => guide_q5.md.4e736eea.lean.js} (94%) rename assets/{guide_q6.md.feb76c40.js => guide_q6.md.b699a0ae.js} (96%) rename assets/{guide_q6.md.feb76c40.lean.js => guide_q6.md.b699a0ae.lean.js} (83%) rename assets/{guide_q7.md.8ffd6348.js => guide_q7.md.764a1f90.js} (98%) rename assets/{guide_q7.md.8ffd6348.lean.js => guide_q7.md.764a1f90.lean.js} (87%) rename assets/{guide_servers.md.f78eb869.js => guide_servers.md.935137e3.js} (97%) rename assets/{guide_servers.md.f78eb869.lean.js => guide_servers.md.935137e3.lean.js} (83%) rename assets/{guide_services.md.3bc28e6a.js => guide_services.md.7b6688ec.js} (98%) rename assets/{guide_services.md.3bc28e6a.lean.js => guide_services.md.7b6688ec.lean.js} (89%) rename assets/{guide_settings.md.466421e8.js => guide_settings.md.9d745df6.js} (99%) rename assets/{guide_settings.md.466421e8.lean.js => guide_settings.md.9d745df6.lean.js} (94%) rename assets/{guide_tasks.md.80852d65.js => guide_tasks.md.4870a789.js} (97%) rename assets/{guide_tasks.md.80852d65.lean.js => guide_tasks.md.4870a789.lean.js} (78%) rename assets/{index.md.60a32a4a.js => index.md.12d2b26b.js} (96%) rename assets/{index.md.60a32a4a.lean.js => index.md.12d2b26b.lean.js} (96%) create mode 100644 case/case5.html diff --git a/assets/case_case1.md.bb4a428c.js b/assets/case_case1.md.ab041901.js similarity index 96% rename from assets/case_case1.md.bb4a428c.js rename to assets/case_case1.md.ab041901.js index b4e3d3cd..4d3b947c 100644 --- a/assets/case_case1.md.bb4a428c.js +++ b/assets/case_case1.md.ab041901.js @@ -1 +1 @@ -import{_ as e,c as t,o as r,a}from"./app.3817bf4e.js";const b='{"title":"\u81EA\u5EFA\u4E00\u4E2ATG\u673A\u5668\u4EBA\u6765\u67E5\u8BE2\u670D\u52A1\u5668\u4FE1\u606F","description":"","frontmatter":{},"headers":[],"relativePath":"case/case1.md","lastUpdated":1681026579000}',o={},n=a('

\u81EA\u5EFA\u4E00\u4E2ATG\u673A\u5668\u4EBA\u6765\u67E5\u8BE2\u670D\u52A1\u5668\u4FE1\u606F

\u8D21\u732E\u8005:

\u9879\u76EE\u5730\u5740\uFF1Anezha_api_tgbot

\u955C\u50CF\u5907\u4EFD\uFF08\u975E\u5B9E\u65F6\u66F4\u65B0\uFF09\uFF1Anezha_api_tgbot
\u673A\u5668\u4EBA\u53EF\u4EE5\u901A\u8FC7API\u5411\u9762\u677F\u8BF7\u6C42\u670D\u52A1\u5668\u72B6\u6001\u4FE1\u606F\uFF0C\u5F97\u5230\u4FE1\u606F\u540E\u53D1\u9001\u7ED9\u7528\u6237
\u4F60\u53EF\u4EE5\u642D\u5EFA\u6B64\u673A\u5668\u4EBA\u6765\u65B9\u4FBF\u5730\u67E5\u770B\u6307\u5B9A\u670D\u52A1\u5668\u7684\u5F53\u524D\u72B6\u6001\u4E14\u4E0D\u9700\u8981\u6253\u5F00\u9762\u677F

',5),_=[n];function i(p,s,h,c,l,d){return r(),t("div",null,_)}var g=e(o,[["render",i]]);export{b as __pageData,g as default}; +import{_ as e,c as t,o as r,a}from"./app.3817bf4e.js";const b='{"title":"\u81EA\u5EFA\u4E00\u4E2ATG\u673A\u5668\u4EBA\u6765\u67E5\u8BE2\u670D\u52A1\u5668\u4FE1\u606F","description":"","frontmatter":{},"headers":[],"relativePath":"case/case1.md","lastUpdated":1682076617000}',o={},n=a('

\u81EA\u5EFA\u4E00\u4E2ATG\u673A\u5668\u4EBA\u6765\u67E5\u8BE2\u670D\u52A1\u5668\u4FE1\u606F

\u8D21\u732E\u8005:

\u9879\u76EE\u5730\u5740\uFF1Anezha_api_tgbot

\u955C\u50CF\u5907\u4EFD\uFF08\u975E\u5B9E\u65F6\u66F4\u65B0\uFF09\uFF1Anezha_api_tgbot
\u673A\u5668\u4EBA\u53EF\u4EE5\u901A\u8FC7API\u5411\u9762\u677F\u8BF7\u6C42\u670D\u52A1\u5668\u72B6\u6001\u4FE1\u606F\uFF0C\u5F97\u5230\u4FE1\u606F\u540E\u53D1\u9001\u7ED9\u7528\u6237
\u4F60\u53EF\u4EE5\u642D\u5EFA\u6B64\u673A\u5668\u4EBA\u6765\u65B9\u4FBF\u5730\u67E5\u770B\u6307\u5B9A\u670D\u52A1\u5668\u7684\u5F53\u524D\u72B6\u6001\u4E14\u4E0D\u9700\u8981\u6253\u5F00\u9762\u677F

',5),_=[n];function i(p,s,h,c,l,d){return r(),t("div",null,_)}var g=e(o,[["render",i]]);export{b as __pageData,g as default}; diff --git a/assets/case_case1.md.bb4a428c.lean.js b/assets/case_case1.md.ab041901.lean.js similarity index 84% rename from assets/case_case1.md.bb4a428c.lean.js rename to assets/case_case1.md.ab041901.lean.js index 71e55b60..e9f78d88 100644 --- a/assets/case_case1.md.bb4a428c.lean.js +++ b/assets/case_case1.md.ab041901.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o as r,a}from"./app.3817bf4e.js";const b='{"title":"\u81EA\u5EFA\u4E00\u4E2ATG\u673A\u5668\u4EBA\u6765\u67E5\u8BE2\u670D\u52A1\u5668\u4FE1\u606F","description":"","frontmatter":{},"headers":[],"relativePath":"case/case1.md","lastUpdated":1681026579000}',o={},n=a("",5),_=[n];function i(p,s,h,c,l,d){return r(),t("div",null,_)}var g=e(o,[["render",i]]);export{b as __pageData,g as default}; +import{_ as e,c as t,o as r,a}from"./app.3817bf4e.js";const b='{"title":"\u81EA\u5EFA\u4E00\u4E2ATG\u673A\u5668\u4EBA\u6765\u67E5\u8BE2\u670D\u52A1\u5668\u4FE1\u606F","description":"","frontmatter":{},"headers":[],"relativePath":"case/case1.md","lastUpdated":1682076617000}',o={},n=a("",5),_=[n];function i(p,s,h,c,l,d){return r(),t("div",null,_)}var g=e(o,[["render",i]]);export{b as __pageData,g as default}; diff --git a/assets/case_case2.md.3cf56c4d.js b/assets/case_case2.md.aa65704d.js similarity index 98% rename from assets/case_case2.md.3cf56c4d.js rename to assets/case_case2.md.aa65704d.js index 4dc20904..04a9ac89 100644 --- a/assets/case_case2.md.3cf56c4d.js +++ b/assets/case_case2.md.aa65704d.js @@ -1 +1 @@ -import{_ as e}from"./chunks/qrcode.bde14c07.js";import{_ as a,c as r,o as i,a as t}from"./app.3817bf4e.js";const b='{"title":"\u5728iOS/MacOS\u4E2D\u4F7F\u7528Siri\u8FD0\u884C\u5FEB\u6377\u6307\u4EE4\u67E5\u8BE2\u670D\u52A1\u5668\u72B6\u6001","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u83B7\u53D6\u5FEB\u6377\u6307\u4EE4","slug":"\u83B7\u53D6\u5FEB\u6377\u6307\u4EE4"},{"level":2,"title":"\u4F7F\u7528\u8BF4\u660E","slug":"\u4F7F\u7528\u8BF4\u660E"}],"relativePath":"case/case2.md","lastUpdated":1681026579000}',o={},c=t('

\u5728iOS/MacOS\u4E2D\u4F7F\u7528Siri\u8FD0\u884C\u5FEB\u6377\u6307\u4EE4\u67E5\u8BE2\u670D\u52A1\u5668\u72B6\u6001

\u5F53\u524D\u7248\u672C\uFF1AV1.0
\u8D21\u732E\u8005\uFF1A

\u83B7\u53D6\u5FEB\u6377\u6307\u4EE4

\u4F7F\u7528iPhone\u6216iPad\u626B\u63CF\u4EE5\u4E0B\u4E8C\u7EF4\u7801\uFF0C\u83B7\u53D6\u5FEB\u6377\u6307\u4EE4



MacOS\u7528\u6237\u8BF7\u8BBF\u95EE\u8FD9\u91CC\uFF0C\u83B7\u53D6\u5FEB\u6377\u6307\u4EE4

\u4F7F\u7528\u8BF4\u660E

WARNING

\u6BCF\u4E2A\u5FEB\u6377\u6307\u4EE4\u53EA\u80FD\u76D1\u63A7\u4E00\u53F0\u670D\u52A1\u5668\uFF0C\u5982\u9700\u8981\u76D1\u63A7\u591A\u4E2A\u670D\u52A1\u5668\uFF0C\u8BF7\u591A\u6B21\u590D\u5236\u6B64\u5FEB\u6377\u6307\u4EE4\u5E76\u5206\u522B\u914D\u7F6E\uFF0C\u7136\u540E\u5206\u522B\u4FEE\u6539\u5FEB\u6377\u6307\u4EE4\u540D\u79F0\uFF0C\u5982\uFF1B\u4E00\u53F7\u670D\u52A1\u5668\u72B6\u6001\u3001\u4E8C\u53F7\u670D\u52A1\u5668\u72B6\u6001\u7B49

',8),s=[c];function l(d,n,h,_,p,f){return i(),r("div",null,s)}var k=a(o,[["render",l]]);export{b as __pageData,k as default}; +import{_ as e}from"./chunks/qrcode.bde14c07.js";import{_ as a,c as r,o as i,a as t}from"./app.3817bf4e.js";const b='{"title":"\u5728iOS/MacOS\u4E2D\u4F7F\u7528Siri\u8FD0\u884C\u5FEB\u6377\u6307\u4EE4\u67E5\u8BE2\u670D\u52A1\u5668\u72B6\u6001","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u83B7\u53D6\u5FEB\u6377\u6307\u4EE4","slug":"\u83B7\u53D6\u5FEB\u6377\u6307\u4EE4"},{"level":2,"title":"\u4F7F\u7528\u8BF4\u660E","slug":"\u4F7F\u7528\u8BF4\u660E"}],"relativePath":"case/case2.md","lastUpdated":1682076617000}',o={},c=t('

\u5728iOS/MacOS\u4E2D\u4F7F\u7528Siri\u8FD0\u884C\u5FEB\u6377\u6307\u4EE4\u67E5\u8BE2\u670D\u52A1\u5668\u72B6\u6001

\u5F53\u524D\u7248\u672C\uFF1AV1.0
\u8D21\u732E\u8005\uFF1A

\u83B7\u53D6\u5FEB\u6377\u6307\u4EE4

\u4F7F\u7528iPhone\u6216iPad\u626B\u63CF\u4EE5\u4E0B\u4E8C\u7EF4\u7801\uFF0C\u83B7\u53D6\u5FEB\u6377\u6307\u4EE4



MacOS\u7528\u6237\u8BF7\u8BBF\u95EE\u8FD9\u91CC\uFF0C\u83B7\u53D6\u5FEB\u6377\u6307\u4EE4

\u4F7F\u7528\u8BF4\u660E

WARNING

\u6BCF\u4E2A\u5FEB\u6377\u6307\u4EE4\u53EA\u80FD\u76D1\u63A7\u4E00\u53F0\u670D\u52A1\u5668\uFF0C\u5982\u9700\u8981\u76D1\u63A7\u591A\u4E2A\u670D\u52A1\u5668\uFF0C\u8BF7\u591A\u6B21\u590D\u5236\u6B64\u5FEB\u6377\u6307\u4EE4\u5E76\u5206\u522B\u914D\u7F6E\uFF0C\u7136\u540E\u5206\u522B\u4FEE\u6539\u5FEB\u6377\u6307\u4EE4\u540D\u79F0\uFF0C\u5982\uFF1B\u4E00\u53F7\u670D\u52A1\u5668\u72B6\u6001\u3001\u4E8C\u53F7\u670D\u52A1\u5668\u72B6\u6001\u7B49

',8),s=[c];function l(d,n,h,_,p,f){return i(),r("div",null,s)}var k=a(o,[["render",l]]);export{b as __pageData,k as default}; diff --git a/assets/case_case2.md.3cf56c4d.lean.js b/assets/case_case2.md.aa65704d.lean.js similarity index 90% rename from assets/case_case2.md.3cf56c4d.lean.js rename to assets/case_case2.md.aa65704d.lean.js index 5161ec44..2129b180 100644 --- a/assets/case_case2.md.3cf56c4d.lean.js +++ b/assets/case_case2.md.aa65704d.lean.js @@ -1 +1 @@ -import{_ as e}from"./chunks/qrcode.bde14c07.js";import{_ as a,c as r,o as i,a as t}from"./app.3817bf4e.js";const b='{"title":"\u5728iOS/MacOS\u4E2D\u4F7F\u7528Siri\u8FD0\u884C\u5FEB\u6377\u6307\u4EE4\u67E5\u8BE2\u670D\u52A1\u5668\u72B6\u6001","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u83B7\u53D6\u5FEB\u6377\u6307\u4EE4","slug":"\u83B7\u53D6\u5FEB\u6377\u6307\u4EE4"},{"level":2,"title":"\u4F7F\u7528\u8BF4\u660E","slug":"\u4F7F\u7528\u8BF4\u660E"}],"relativePath":"case/case2.md","lastUpdated":1681026579000}',o={},c=t("",8),s=[c];function l(d,n,h,_,p,f){return i(),r("div",null,s)}var k=a(o,[["render",l]]);export{b as __pageData,k as default}; +import{_ as e}from"./chunks/qrcode.bde14c07.js";import{_ as a,c as r,o as i,a as t}from"./app.3817bf4e.js";const b='{"title":"\u5728iOS/MacOS\u4E2D\u4F7F\u7528Siri\u8FD0\u884C\u5FEB\u6377\u6307\u4EE4\u67E5\u8BE2\u670D\u52A1\u5668\u72B6\u6001","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u83B7\u53D6\u5FEB\u6377\u6307\u4EE4","slug":"\u83B7\u53D6\u5FEB\u6377\u6307\u4EE4"},{"level":2,"title":"\u4F7F\u7528\u8BF4\u660E","slug":"\u4F7F\u7528\u8BF4\u660E"}],"relativePath":"case/case2.md","lastUpdated":1682076617000}',o={},c=t("",8),s=[c];function l(d,n,h,_,p,f){return i(),r("div",null,s)}var k=a(o,[["render",l]]);export{b as __pageData,k as default}; diff --git a/assets/case_case3.md.70c0a6a5.js b/assets/case_case3.md.00ed2a5b.js similarity index 98% rename from assets/case_case3.md.70c0a6a5.js rename to assets/case_case3.md.00ed2a5b.js index d981f884..505aad9a 100644 --- a/assets/case_case3.md.70c0a6a5.js +++ b/assets/case_case3.md.00ed2a5b.js @@ -1 +1 @@ -import{_ as t,c as e,o as r,a as d}from"./app.3817bf4e.js";const g='{"title":"\u81EA\u5EFA\u4F7F\u7528 API \u6765\u8FDB\u884C\u67E5\u8BE2,\u4E14\u652F\u6301\u591A\u8BED\u8A00\u7684 Telegram \u67E5\u8BE2\u673A\u5668\u4EBA","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u9879\u76EE\u7279\u8272","slug":"\u9879\u76EE\u7279\u8272"},{"level":2,"title":"\u547D\u4EE4\u5217\u8868","slug":"\u547D\u4EE4\u5217\u8868"},{"level":2,"title":"\u6548\u679C\u5C55\u793A","slug":"\u6548\u679C\u5C55\u793A"}],"relativePath":"case/case3.md","lastUpdated":1681026579000}',a={},l=d('

\u81EA\u5EFA\u4F7F\u7528 API \u6765\u8FDB\u884C\u67E5\u8BE2,\u4E14\u652F\u6301\u591A\u8BED\u8A00\u7684 Telegram \u67E5\u8BE2\u673A\u5668\u4EBA

\u8D21\u732E\u8005:

\u9879\u76EE\u5730\u5740\uFF1Anezha_telegram_bot

\u955C\u50CF\u5907\u4EFD\uFF08\u975E\u5B9E\u65F6\u66F4\u65B0\uFF09\uFF1Anezha_telegram_bot

\u9879\u76EE\u7279\u8272

\u5F00\u6E90Telegram\u673A\u5668\u4EBA\u9879\u76EE\uFF0C\u53EF\u4EE5\u57FA\u4E8EAPI\u5B9E\u65F6\u67E5\u8BE2\u54EA\u5412\u9762\u677F\u7684\u670D\u52A1\u5668\u4FE1\u606F\u3002

\u547D\u4EE4\u5217\u8868

\u547D\u4EE4\u529F\u80FD\u4EC5\u79C1\u804A
start\u5F00\u59CB\u4F7F\u7528\u952E\u76D8\u4E3B\u83DC\u5355\u2714\uFE0F
help\u5E2E\u52A9\u5217\u8868\u274C
add\u6DFB\u52A0\u9762\u677F\u94FE\u63A5\u548Ctoken\u2714\uFE0F
url\u6DFB\u52A0\u9762\u677F\u94FE\u63A5\u2714\uFE0F
token\u6DFB\u52A0\u9762\u677Ftoken\u2714\uFE0F
info\u83B7\u53D6\u4FDD\u5B58\u7684\u9762\u677F\u94FE\u63A5\u548Ctoken\u2714\uFE0F
delete\u5220\u9664\u4FDD\u5B58\u7684\u9762\u677F\u94FE\u63A5\u548Ctoken\u2714\uFE0F
id\u547D\u4EE4\u540E\u9762\u6DFB\u52A0\u6574\u6570id\uFF0C\u6765\u8FDB\u884C\u5355\u4E2A\u670D\u52A1\u5668\u4FE1\u606F\u67E5\u8BE2\uFF08\u79C1\u804A\u5E26\u5237\u65B0\u6309\u94AE\uFF0C\u7FA4\u804A\u4E0D\u5E26\uFF09\u274C
all\u67E5\u8BE2\u6240\u6709\u670D\u52A1\u5668\u7684\u7EDF\u8BA1\u4FE1\u606F\u274C
search\u5728\u670D\u52A1\u5668\u540D\u5B57\u4E2D\u641C\u7D22\u5173\u952E\u5B57\uFF08\u652F\u6301\u591A\u4E2A\uFF0C\u7528\u7A7A\u683C\u5206\u5F00\uFF09\u274C

\u6548\u679C\u5C55\u793A

',12),i=[l];function h(n,o,s,c,_,p){return r(),e("div",null,i)}var b=t(a,[["render",h]]);export{g as __pageData,b as default}; +import{_ as t,c as e,o as r,a as d}from"./app.3817bf4e.js";const g='{"title":"\u81EA\u5EFA\u4F7F\u7528 API \u6765\u8FDB\u884C\u67E5\u8BE2,\u4E14\u652F\u6301\u591A\u8BED\u8A00\u7684 Telegram \u67E5\u8BE2\u673A\u5668\u4EBA","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u9879\u76EE\u7279\u8272","slug":"\u9879\u76EE\u7279\u8272"},{"level":2,"title":"\u547D\u4EE4\u5217\u8868","slug":"\u547D\u4EE4\u5217\u8868"},{"level":2,"title":"\u6548\u679C\u5C55\u793A","slug":"\u6548\u679C\u5C55\u793A"}],"relativePath":"case/case3.md","lastUpdated":1682076617000}',a={},l=d('

\u81EA\u5EFA\u4F7F\u7528 API \u6765\u8FDB\u884C\u67E5\u8BE2,\u4E14\u652F\u6301\u591A\u8BED\u8A00\u7684 Telegram \u67E5\u8BE2\u673A\u5668\u4EBA

\u8D21\u732E\u8005:

\u9879\u76EE\u5730\u5740\uFF1Anezha_telegram_bot

\u955C\u50CF\u5907\u4EFD\uFF08\u975E\u5B9E\u65F6\u66F4\u65B0\uFF09\uFF1Anezha_telegram_bot

\u9879\u76EE\u7279\u8272

\u5F00\u6E90Telegram\u673A\u5668\u4EBA\u9879\u76EE\uFF0C\u53EF\u4EE5\u57FA\u4E8EAPI\u5B9E\u65F6\u67E5\u8BE2\u54EA\u5412\u9762\u677F\u7684\u670D\u52A1\u5668\u4FE1\u606F\u3002

\u547D\u4EE4\u5217\u8868

\u547D\u4EE4\u529F\u80FD\u4EC5\u79C1\u804A
start\u5F00\u59CB\u4F7F\u7528\u952E\u76D8\u4E3B\u83DC\u5355\u2714\uFE0F
help\u5E2E\u52A9\u5217\u8868\u274C
add\u6DFB\u52A0\u9762\u677F\u94FE\u63A5\u548Ctoken\u2714\uFE0F
url\u6DFB\u52A0\u9762\u677F\u94FE\u63A5\u2714\uFE0F
token\u6DFB\u52A0\u9762\u677Ftoken\u2714\uFE0F
info\u83B7\u53D6\u4FDD\u5B58\u7684\u9762\u677F\u94FE\u63A5\u548Ctoken\u2714\uFE0F
delete\u5220\u9664\u4FDD\u5B58\u7684\u9762\u677F\u94FE\u63A5\u548Ctoken\u2714\uFE0F
id\u547D\u4EE4\u540E\u9762\u6DFB\u52A0\u6574\u6570id\uFF0C\u6765\u8FDB\u884C\u5355\u4E2A\u670D\u52A1\u5668\u4FE1\u606F\u67E5\u8BE2\uFF08\u79C1\u804A\u5E26\u5237\u65B0\u6309\u94AE\uFF0C\u7FA4\u804A\u4E0D\u5E26\uFF09\u274C
all\u67E5\u8BE2\u6240\u6709\u670D\u52A1\u5668\u7684\u7EDF\u8BA1\u4FE1\u606F\u274C
search\u5728\u670D\u52A1\u5668\u540D\u5B57\u4E2D\u641C\u7D22\u5173\u952E\u5B57\uFF08\u652F\u6301\u591A\u4E2A\uFF0C\u7528\u7A7A\u683C\u5206\u5F00\uFF09\u274C

\u6548\u679C\u5C55\u793A

',12),i=[l];function h(n,o,s,c,_,p){return r(),e("div",null,i)}var b=t(a,[["render",h]]);export{g as __pageData,b as default}; diff --git a/assets/case_case3.md.70c0a6a5.lean.js b/assets/case_case3.md.00ed2a5b.lean.js similarity index 90% rename from assets/case_case3.md.70c0a6a5.lean.js rename to assets/case_case3.md.00ed2a5b.lean.js index 9e8a1bb8..a4c8f62f 100644 --- a/assets/case_case3.md.70c0a6a5.lean.js +++ b/assets/case_case3.md.00ed2a5b.lean.js @@ -1 +1 @@ -import{_ as t,c as e,o as r,a as d}from"./app.3817bf4e.js";const g='{"title":"\u81EA\u5EFA\u4F7F\u7528 API \u6765\u8FDB\u884C\u67E5\u8BE2,\u4E14\u652F\u6301\u591A\u8BED\u8A00\u7684 Telegram \u67E5\u8BE2\u673A\u5668\u4EBA","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u9879\u76EE\u7279\u8272","slug":"\u9879\u76EE\u7279\u8272"},{"level":2,"title":"\u547D\u4EE4\u5217\u8868","slug":"\u547D\u4EE4\u5217\u8868"},{"level":2,"title":"\u6548\u679C\u5C55\u793A","slug":"\u6548\u679C\u5C55\u793A"}],"relativePath":"case/case3.md","lastUpdated":1681026579000}',a={},l=d("",12),i=[l];function h(n,o,s,c,_,p){return r(),e("div",null,i)}var b=t(a,[["render",h]]);export{g as __pageData,b as default}; +import{_ as t,c as e,o as r,a as d}from"./app.3817bf4e.js";const g='{"title":"\u81EA\u5EFA\u4F7F\u7528 API \u6765\u8FDB\u884C\u67E5\u8BE2,\u4E14\u652F\u6301\u591A\u8BED\u8A00\u7684 Telegram \u67E5\u8BE2\u673A\u5668\u4EBA","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u9879\u76EE\u7279\u8272","slug":"\u9879\u76EE\u7279\u8272"},{"level":2,"title":"\u547D\u4EE4\u5217\u8868","slug":"\u547D\u4EE4\u5217\u8868"},{"level":2,"title":"\u6548\u679C\u5C55\u793A","slug":"\u6548\u679C\u5C55\u793A"}],"relativePath":"case/case3.md","lastUpdated":1682076617000}',a={},l=d("",12),i=[l];function h(n,o,s,c,_,p){return r(),e("div",null,i)}var b=t(a,[["render",h]]);export{g as __pageData,b as default}; diff --git a/assets/case_case4.md.445f551c.js b/assets/case_case4.md.7efb90b0.js similarity index 98% rename from assets/case_case4.md.445f551c.js rename to assets/case_case4.md.7efb90b0.js index d58ca4c0..884adbec 100644 --- a/assets/case_case4.md.445f551c.js +++ b/assets/case_case4.md.7efb90b0.js @@ -1 +1 @@ -import{_ as e,c as s,o as r,a as t}from"./app.3817bf4e.js";var a="/assets/2.38c2ea56.png",n="/assets/5.23139306.png",o="/assets/6.22a61698.png",p="/assets/4.fe6a4e7a.jpg",_="/assets/1.b4b4591f.jpeg";const k='{"title":"\u91CD\u78C5\u63A8\u8350\uFF01\u4E00\u79D2\u62E5\u6709\u5B87\u5B99\u7EA7\u7B97\u529B\uFF01\u8BA9\u4F60\u5728\u4EBA\u524D\uFF0C\u4E0D\uFF01\u518D\uFF01\u81EA\uFF01\u5351","description":"","frontmatter":{},"headers":[],"relativePath":"case/case4.md","lastUpdated":1681026579000}',i={},c=t('

\u91CD\u78C5\u63A8\u8350\uFF01\u4E00\u79D2\u62E5\u6709\u5B87\u5B99\u7EA7\u7B97\u529B\uFF01\u8BA9\u4F60\u5728\u4EBA\u524D\uFF0C\u4E0D\uFF01\u518D\uFF01\u81EA\uFF01\u5351





\u8FD8\u5728\u56E0\u4E3A\u81EA\u5DF1\u7684\u5C0F\u9E21\u914D\u7F6E\u592A\u5DEE\u88AB\u670B\u53CB\u5632\u7B11\u5417\uFF1F
\u8FD8\u5728\u60F3\u53C2\u52A0\u4EE5\u9488\u4F1A\u53CB\u6D3B\u52A8\u5374\u56E0\u4E3A\u5C0F\u9E21\u4E0D\u591F\u6392\u9762\u800C\u89C9\u5F97\u7F9E\u803B\u5417\uFF1F
\u8FD8\u5728\u56E0\u4E3A\u5728\u54EA\u5412TG\u7FA4\u91CC\u673A\u5668\u4EBA\u6392\u540D\u592A\u4F4E\u800C\u89C9\u5F97\u81EA\u5DF1\u4F4E\u4EBA\u4E00\u7B49\u5417\uFF1F


\u4ECA\u5929\u5F00\u59CB\uFF01\u627E\u56DE\u81EA\u4FE1\uFF01

\u6765\u81EA\u5357\u4EAC\u7684\u540D\u8001\u4E2D\u533B dysf888 \u72EC\u5BB6\u79D8\u65B9\uFF01\u8BA9\u4F60\u627E\u56DE\u7537\u4EBA\u672C\u8272\uFF0C\u6FC0\u60C5\u7545\u4EAB\uFF01
\u5B89\u88C5 Fake Agent\uFF0C\u53EF\u968F\u610F\u4FEE\u6539\u670D\u52A1\u5668\u76D1\u6D4B\u6570\u636E\u7684\u500D\u6570\u4E0A\u4F20\u5230 Dashboard\uFF0C\u8BA9\u4F60\u7684\u5C0F\u9E21 \u8131\uFF01\u80CE\uFF01\u6362\uFF01\u9AA8\uFF01 \u8BA9\u4F60\u5728 MJJ \u9762\u524D\u786C\u8D77\u6765\uFF01

\u955C\u50CF\u5907\u4EFD\uFF08\u975E\u5B9E\u65F6\u66F4\u65B0\uFF09\uFF1AFake Agent

\u54EA\u5412\u76D1\u63A7\u521B\u59CB\u4EBA\u5976\u7238\u4E5F\u5728\u7528\uFF1A


\u7537\u4EBA\u7528\u4E86\u90FD\u8BF4\u597D\uFF1A



',12),g=[c];function f(l,b,h,d,m,y){return r(),s("div",null,g)}var u=e(i,[["render",f]]);export{k as __pageData,u as default}; +import{_ as e,c as s,o as r,a as t}from"./app.3817bf4e.js";var a="/assets/2.38c2ea56.png",n="/assets/5.23139306.png",o="/assets/6.22a61698.png",p="/assets/4.fe6a4e7a.jpg",_="/assets/1.b4b4591f.jpeg";const k='{"title":"\u91CD\u78C5\u63A8\u8350\uFF01\u4E00\u79D2\u62E5\u6709\u5B87\u5B99\u7EA7\u7B97\u529B\uFF01\u8BA9\u4F60\u5728\u4EBA\u524D\uFF0C\u4E0D\uFF01\u518D\uFF01\u81EA\uFF01\u5351","description":"","frontmatter":{},"headers":[],"relativePath":"case/case4.md","lastUpdated":1682076617000}',i={},c=t('

\u91CD\u78C5\u63A8\u8350\uFF01\u4E00\u79D2\u62E5\u6709\u5B87\u5B99\u7EA7\u7B97\u529B\uFF01\u8BA9\u4F60\u5728\u4EBA\u524D\uFF0C\u4E0D\uFF01\u518D\uFF01\u81EA\uFF01\u5351





\u8FD8\u5728\u56E0\u4E3A\u81EA\u5DF1\u7684\u5C0F\u9E21\u914D\u7F6E\u592A\u5DEE\u88AB\u670B\u53CB\u5632\u7B11\u5417\uFF1F
\u8FD8\u5728\u60F3\u53C2\u52A0\u4EE5\u9488\u4F1A\u53CB\u6D3B\u52A8\u5374\u56E0\u4E3A\u5C0F\u9E21\u4E0D\u591F\u6392\u9762\u800C\u89C9\u5F97\u7F9E\u803B\u5417\uFF1F
\u8FD8\u5728\u56E0\u4E3A\u5728\u54EA\u5412TG\u7FA4\u91CC\u673A\u5668\u4EBA\u6392\u540D\u592A\u4F4E\u800C\u89C9\u5F97\u81EA\u5DF1\u4F4E\u4EBA\u4E00\u7B49\u5417\uFF1F


\u4ECA\u5929\u5F00\u59CB\uFF01\u627E\u56DE\u81EA\u4FE1\uFF01

\u6765\u81EA\u5357\u4EAC\u7684\u540D\u8001\u4E2D\u533B dysf888 \u72EC\u5BB6\u79D8\u65B9\uFF01\u8BA9\u4F60\u627E\u56DE\u7537\u4EBA\u672C\u8272\uFF0C\u6FC0\u60C5\u7545\u4EAB\uFF01
\u5B89\u88C5 Fake Agent\uFF0C\u53EF\u968F\u610F\u4FEE\u6539\u670D\u52A1\u5668\u76D1\u6D4B\u6570\u636E\u7684\u500D\u6570\u4E0A\u4F20\u5230 Dashboard\uFF0C\u8BA9\u4F60\u7684\u5C0F\u9E21 \u8131\uFF01\u80CE\uFF01\u6362\uFF01\u9AA8\uFF01 \u8BA9\u4F60\u5728 MJJ \u9762\u524D\u786C\u8D77\u6765\uFF01

\u955C\u50CF\u5907\u4EFD\uFF08\u975E\u5B9E\u65F6\u66F4\u65B0\uFF09\uFF1AFake Agent

\u54EA\u5412\u76D1\u63A7\u521B\u59CB\u4EBA\u5976\u7238\u4E5F\u5728\u7528\uFF1A


\u7537\u4EBA\u7528\u4E86\u90FD\u8BF4\u597D\uFF1A



',12),g=[c];function f(l,b,h,d,m,y){return r(),s("div",null,g)}var u=e(i,[["render",f]]);export{k as __pageData,u as default}; diff --git a/assets/case_case4.md.445f551c.lean.js b/assets/case_case4.md.7efb90b0.lean.js similarity index 89% rename from assets/case_case4.md.445f551c.lean.js rename to assets/case_case4.md.7efb90b0.lean.js index 26af7f47..1e9032ab 100644 --- a/assets/case_case4.md.445f551c.lean.js +++ b/assets/case_case4.md.7efb90b0.lean.js @@ -1 +1 @@ -import{_ as e,c as s,o as r,a as t}from"./app.3817bf4e.js";var a="/assets/2.38c2ea56.png",n="/assets/5.23139306.png",o="/assets/6.22a61698.png",p="/assets/4.fe6a4e7a.jpg",_="/assets/1.b4b4591f.jpeg";const k='{"title":"\u91CD\u78C5\u63A8\u8350\uFF01\u4E00\u79D2\u62E5\u6709\u5B87\u5B99\u7EA7\u7B97\u529B\uFF01\u8BA9\u4F60\u5728\u4EBA\u524D\uFF0C\u4E0D\uFF01\u518D\uFF01\u81EA\uFF01\u5351","description":"","frontmatter":{},"headers":[],"relativePath":"case/case4.md","lastUpdated":1681026579000}',i={},c=t("",12),g=[c];function f(l,b,h,d,m,y){return r(),s("div",null,g)}var u=e(i,[["render",f]]);export{k as __pageData,u as default}; +import{_ as e,c as s,o as r,a as t}from"./app.3817bf4e.js";var a="/assets/2.38c2ea56.png",n="/assets/5.23139306.png",o="/assets/6.22a61698.png",p="/assets/4.fe6a4e7a.jpg",_="/assets/1.b4b4591f.jpeg";const k='{"title":"\u91CD\u78C5\u63A8\u8350\uFF01\u4E00\u79D2\u62E5\u6709\u5B87\u5B99\u7EA7\u7B97\u529B\uFF01\u8BA9\u4F60\u5728\u4EBA\u524D\uFF0C\u4E0D\uFF01\u518D\uFF01\u81EA\uFF01\u5351","description":"","frontmatter":{},"headers":[],"relativePath":"case/case4.md","lastUpdated":1682076617000}',i={},c=t("",12),g=[c];function f(l,b,h,d,m,y){return r(),s("div",null,g)}var u=e(i,[["render",f]]);export{k as __pageData,u as default}; diff --git a/assets/case_case5.md.ed51855f.js b/assets/case_case5.md.ed51855f.js new file mode 100644 index 00000000..3036a419 --- /dev/null +++ b/assets/case_case5.md.ed51855f.js @@ -0,0 +1,39 @@ +import{_ as e,c as t,o as a,a as r}from"./app.3817bf4e.js";const m='{"title":"Nezha server over Argo tunnel","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u9879\u76EE\u7279\u70B9:","slug":"\u9879\u76EE\u7279\u70B9"},{"level":2,"title":"\u51C6\u5907\u9700\u8981\u7528\u7684\u53D8\u91CF","slug":"\u51C6\u5907\u9700\u8981\u7528\u7684\u53D8\u91CF"},{"level":2,"title":"PaaS \u90E8\u7F72\u5B9E\u4F8B","slug":"paas-\u90E8\u7F72\u5B9E\u4F8B"},{"level":2,"title":"VPS \u90E8\u7F72\u5B9E\u4F8B","slug":"vps-\u90E8\u7F72\u5B9E\u4F8B"},{"level":3,"title":"docker \u90E8\u7F72","slug":"docker-\u90E8\u7F72"},{"level":3,"title":"docker-compose \u90E8\u7F72","slug":"docker-compose-\u90E8\u7F72"},{"level":2,"title":"\u5BA2\u6237\u7AEF\u63A5\u5165","slug":"\u5BA2\u6237\u7AEF\u63A5\u5165"},{"level":2,"title":"SSH \u63A5\u5165","slug":"ssh-\u63A5\u5165"},{"level":2,"title":"","slug":""},{"level":2,"title":"\u9E23\u8C22\u4E0B\u5217\u4F5C\u8005\u7684\u6587\u7AE0\u548C\u9879\u76EE:","slug":"\u9E23\u8C22\u4E0B\u5217\u4F5C\u8005\u7684\u6587\u7AE0\u548C\u9879\u76EE"},{"level":2,"title":"\u514D\u8D23\u58F0\u660E:","slug":"\u514D\u8D23\u58F0\u660E"}],"relativePath":"case/case5.md","lastUpdated":1682076617000}',l={},n=r(`

Nezha server over Argo tunnel

\u4F7F\u7528 Argo \u96A7\u9053\u7684\u54EA\u5412\u670D\u52A1\u7AEF \u8D21\u732E\u8005:

\u9879\u76EE\u5730\u5740\uFF1AArgo-Nezha-Service-Container


\u76EE\u5F55


\u9879\u76EE\u7279\u70B9:

image

\u51C6\u5907\u9700\u8981\u7528\u7684\u53D8\u91CF

imageimageimageimage

\u9762\u677F\u57DF\u540D\u52A0\u4E0A https:// \u5F00\u5934\uFF0C\u56DE\u8C03\u5730\u5740\u518D\u52A0\u4E0A /oauth2/callback \u7ED3\u5C3E

imageimageimageimageimage

PaaS \u90E8\u7F72\u5B9E\u4F8B

\u955C\u50CF fscarmen/argo-nezha:latest \uFF0C \u652F\u6301 amd64 \u548C arm64 \u67B6\u6784

\u7528\u5230\u7684\u53D8\u91CF

\u53D8\u91CF\u540D\u662F\u5426\u5FC5\u987B\u5907\u6CE8
GH_USER\u662Fgithub \u7684\u7528\u6237\u540D\uFF0C\u7528\u4E8E\u9762\u677F\u7BA1\u7406\u6388\u6743
GH_CLIENTID\u662F\u5728 github \u4E0A\u7533\u8BF7
GH_CLIENTSECRET\u662F\u5728 github \u4E0A\u7533\u8BF7
GH_REPO\u5426\u5728 github \u4E0A\u5907\u4EFD\u54EA\u5412\u670D\u52A1\u7AEF\u6570\u636E\u5E93\u6587\u4EF6\u7684\u5E93
GH_EMAIL\u5426github \u7684\u90AE\u7BB1\uFF0C\u7528\u4E8E\u5907\u4EFD\u7684 git \u63A8\u9001\u5230\u8FDC\u7A0B\u5E93
GH_PAT\u5426github \u7684 PAT
ARGO_JSON\u662F\u4ECE https://fscarmen.cloudflare.now.cc \u83B7\u53D6\u7684 Argo Json
DATA_DOMAIN\u662F\u5BA2\u6237\u7AEF\u4E0E\u670D\u52A1\u7AEF\u7684\u901A\u4FE1 argo \u57DF\u540D
WEB_DOMAIN\u662F\u9762\u677F argo \u57DF\u540D
SSH_DOMAIN\u5426ssh \u7528\u7684 argo \u57DF\u540D
SSH_PASSWORD\u5426ssh \u7684\u5BC6\u7801\uFF0C\u53EA\u6709\u5728\u8BBE\u7F6E SSH_JSON \u540E\u624D\u751F\u6548\uFF0C\u9ED8\u8BA4\u503C password

1.Koyeb

imageimageimageimageimage

VPS \u90E8\u7F72\u5B9E\u4F8B

docker \u90E8\u7F72

docker run -dit \\
+           --name nezha_dashboard \\
+           --restart always \\
+           -v ./dashboard:/dashboard \\
+           -e GH_USER=<\u586B github \u7528\u6237\u540D> \\
+           -e GH_EMAIL=<\u586B github \u90AE\u7BB1> \\
+           -e GH_PAT=<\u586B\u83B7\u53D6\u7684> \\
+           -e GH_REPO=<\u586B\u81EA\u5B9A\u4E49\u7684> \\
+           -e GH_CLIENTID=<\u586B\u83B7\u53D6\u7684>  \\
+           -e GH_CLIENTSECRET=<\u586B\u83B7\u53D6\u7684> \\
+           -e ARGO_JSON='<\u586B\u83B7\u53D6\u7684>' \\
+           -e WEB_DOMAIN=<\u586B\u81EA\u5B9A\u4E49\u7684> \\
+           -e DATA_DOMAIN=<\u586B\u81EA\u5B9A\u4E49\u7684> \\
+           -e SSH_DOMAIN=<\u586B\u81EA\u5B9A\u4E49\u7684> \\
+           -e SSH_PASSWORD=<\u586B\u81EA\u5B9A\u4E49\u7684> \\
+           fscarmen/argo-nezha
+

docker-compose \u90E8\u7F72

version: '3.8'
+services:
+    argo-nezha:
+        image: fscarmen/argo-nezha
+        container_name: nezha_dashboard
+        restart: always
+        volumes:
+            - ./dashboard:/dashboard
+        environment:
+            - GH_USER=<\u586B github \u7528\u6237\u540D>
+            - GH_EMAIL=<<\u586B github \u90AE\u7BB1>
+            - GH_PAT=<\u586B\u83B7\u53D6\u7684>
+            - GH_REPO=<\u586B\u81EA\u5B9A\u4E49\u7684>
+            - GH_CLIENTID=<\u586B\u83B7\u53D6\u7684>
+            - GH_CLIENTSECRET=<\u586B\u83B7\u53D6\u7684>
+            - ARGO_JSON='<\u586B\u83B7\u53D6\u7684>'
+            - WEB_DOMAIN=<\u586B\u81EA\u5B9A\u4E49\u7684>
+            - DATA_DOMAIN=<\u586B\u81EA\u5B9A\u4E49\u7684>
+            - SSH_DOMAIN=<\u586B\u81EA\u5B9A\u4E49\u7684>
+            - SSH_PASSWORD=<\u586B\u81EA\u5B9A\u4E49\u7684>
+

\u5BA2\u6237\u7AEF\u63A5\u5165

\u901A\u8FC7gRPC\u4F20\u8F93\uFF0C\u65E0\u9700\u989D\u5916\u914D\u7F6E\u3002\u4F7F\u7528\u9762\u677F\u7ED9\u5230\u7684\u5B89\u88C5\u65B9\u5F0F\uFF0C\u4E3E\u4F8B

curl -L https://raw.githubusercontent.com/naiba/nezha/master/script/install.sh -o nezha.sh && chmod +x nezha.sh && sudo ./nezha.sh install_agent data.seales.nom.za 443 eAxO9IF519fKFODlW0 --tls
+

SSH \u63A5\u5165

<file path>/cloudflared access ssh --hostname ssh.seales.nom.za
+
imageimageimage

\u9E23\u8C22\u4E0B\u5217\u4F5C\u8005\u7684\u6587\u7AE0\u548C\u9879\u76EE:

\u514D\u8D23\u58F0\u660E:

`,58),s=[n];function i(o,h,d,c,g,u){return a(),t("div",null,s)}var b=e(l,[["render",i]]);export{m as __pageData,b as default}; diff --git a/assets/case_case5.md.ed51855f.lean.js b/assets/case_case5.md.ed51855f.lean.js new file mode 100644 index 00000000..2e26340d --- /dev/null +++ b/assets/case_case5.md.ed51855f.lean.js @@ -0,0 +1 @@ +import{_ as e,c as t,o as a,a as r}from"./app.3817bf4e.js";const m='{"title":"Nezha server over Argo tunnel","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u9879\u76EE\u7279\u70B9:","slug":"\u9879\u76EE\u7279\u70B9"},{"level":2,"title":"\u51C6\u5907\u9700\u8981\u7528\u7684\u53D8\u91CF","slug":"\u51C6\u5907\u9700\u8981\u7528\u7684\u53D8\u91CF"},{"level":2,"title":"PaaS \u90E8\u7F72\u5B9E\u4F8B","slug":"paas-\u90E8\u7F72\u5B9E\u4F8B"},{"level":2,"title":"VPS \u90E8\u7F72\u5B9E\u4F8B","slug":"vps-\u90E8\u7F72\u5B9E\u4F8B"},{"level":3,"title":"docker \u90E8\u7F72","slug":"docker-\u90E8\u7F72"},{"level":3,"title":"docker-compose \u90E8\u7F72","slug":"docker-compose-\u90E8\u7F72"},{"level":2,"title":"\u5BA2\u6237\u7AEF\u63A5\u5165","slug":"\u5BA2\u6237\u7AEF\u63A5\u5165"},{"level":2,"title":"SSH \u63A5\u5165","slug":"ssh-\u63A5\u5165"},{"level":2,"title":"","slug":""},{"level":2,"title":"\u9E23\u8C22\u4E0B\u5217\u4F5C\u8005\u7684\u6587\u7AE0\u548C\u9879\u76EE:","slug":"\u9E23\u8C22\u4E0B\u5217\u4F5C\u8005\u7684\u6587\u7AE0\u548C\u9879\u76EE"},{"level":2,"title":"\u514D\u8D23\u58F0\u660E:","slug":"\u514D\u8D23\u58F0\u660E"}],"relativePath":"case/case5.md","lastUpdated":1682076617000}',l={},n=r("",58),s=[n];function i(o,h,d,c,g,u){return a(),t("div",null,s)}var b=e(l,[["render",i]]);export{m as __pageData,b as default}; diff --git a/assets/case_index.md.185a0524.js b/assets/case_index.md.0e468c21.js similarity index 96% rename from assets/case_index.md.185a0524.js rename to assets/case_index.md.0e468c21.js index 3a0df5bc..2416ec11 100644 --- a/assets/case_index.md.185a0524.js +++ b/assets/case_index.md.0e468c21.js @@ -1 +1 @@ -import{_ as a,c as s,o as r,b as e,d as t}from"./app.3817bf4e.js";const f='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://raw.githubusercontent.com/naiba/nezha/master/resource/static/brand.svg","heroText":"\u54EA\u5412\u76D1\u63A7\u793E\u533A\u9879\u76EE","tagline":"\u54EA\u5412\u76D1\u63A7\u793E\u533A\u8D21\u732E\u7684\u76F8\u5173\u9879\u76EE\uFF0C\u4E3A\u54EA\u5412\u76D1\u63A7\u63D0\u4F9B\u4E86\u66F4\u591A\u6269\u5C55","actionText":"\u67E5\u770B\u9879\u76EE \u2192","actionLink":"/case/case1","features":[{"title":"\u63D0\u4EA4\u9879\u76EE","details":"\u6211\u4EEC\u6B22\u8FCE\u60A8\u63D0\u4EA4\u81EA\u5DF1\u7684\u9879\u76EE\uFF0C\u8BF7\u52A0\u5165TG\u7FA4\u8054\u7CFB\u7BA1\u7406\u5458\u4E86\u89E3\u76F8\u5173\u4E8B\u5B9C"},{"title":"\u6CE8\u610F\u4E8B\u9879","details":"\u6240\u6709\u9879\u76EE\u5747\u7531\u793E\u533A\u6210\u5458\u8D21\u732E\uFF0C\u8BF7\u60A8\u77E5\u6089\u54EA\u5412\u76D1\u63A7\u56E2\u961F\u65E0\u6CD5\u4E3A\u793E\u533A\u9879\u76EE\u627F\u62C5\u5305\u62EC\u4E14\u4E0D\u9650\u4E8E\uFF1A\u4FDD\u4FEE\u3001\u53EF\u7528\u6027\u3001\u5B89\u5168\u6027\u7B49\u8D23\u4EFB"}]},"headers":[],"relativePath":"case/index.md","lastUpdated":1681026579000}',o={},c=e("p",null,[e("br"),t("\u672C\u4F5C\u54C1\u91C7\u7528 "),e("a",{rel:"license",href:"http://creativecommons.org/licenses/by-nc-sa/4.0/"},"\u77E5\u8BC6\u5171\u4EAB\u7F72\u540D-\u975E\u5546\u4E1A\u6027\u4F7F\u7528-\u76F8\u540C\u65B9\u5F0F\u5171\u4EAB 4.0 \u56FD\u9645\u8BB8\u53EF\u534F\u8BAE"),t(" \u8FDB\u884C\u8BB8\u53EF\u3002")],-1),n=[c];function i(d,l,_,p,h,m){return r(),s("div",null,n)}var x=a(o,[["render",i]]);export{f as __pageData,x as default}; +import{_ as a,c as s,o as r,b as e,d as t}from"./app.3817bf4e.js";const f='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://raw.githubusercontent.com/naiba/nezha/master/resource/static/brand.svg","heroText":"\u54EA\u5412\u76D1\u63A7\u793E\u533A\u9879\u76EE","tagline":"\u54EA\u5412\u76D1\u63A7\u793E\u533A\u8D21\u732E\u7684\u76F8\u5173\u9879\u76EE\uFF0C\u4E3A\u54EA\u5412\u76D1\u63A7\u63D0\u4F9B\u4E86\u66F4\u591A\u6269\u5C55","actionText":"\u67E5\u770B\u9879\u76EE \u2192","actionLink":"/case/case1","features":[{"title":"\u63D0\u4EA4\u9879\u76EE","details":"\u6211\u4EEC\u6B22\u8FCE\u60A8\u63D0\u4EA4\u81EA\u5DF1\u7684\u9879\u76EE\uFF0C\u8BF7\u52A0\u5165TG\u7FA4\u8054\u7CFB\u7BA1\u7406\u5458\u4E86\u89E3\u76F8\u5173\u4E8B\u5B9C"},{"title":"\u6CE8\u610F\u4E8B\u9879","details":"\u6240\u6709\u9879\u76EE\u5747\u7531\u793E\u533A\u6210\u5458\u8D21\u732E\uFF0C\u8BF7\u60A8\u77E5\u6089\u54EA\u5412\u76D1\u63A7\u56E2\u961F\u65E0\u6CD5\u4E3A\u793E\u533A\u9879\u76EE\u627F\u62C5\u5305\u62EC\u4E14\u4E0D\u9650\u4E8E\uFF1A\u4FDD\u4FEE\u3001\u53EF\u7528\u6027\u3001\u5B89\u5168\u6027\u7B49\u8D23\u4EFB"}]},"headers":[],"relativePath":"case/index.md","lastUpdated":1682076617000}',o={},c=e("p",null,[e("br"),t("\u672C\u4F5C\u54C1\u91C7\u7528 "),e("a",{rel:"license",href:"http://creativecommons.org/licenses/by-nc-sa/4.0/"},"\u77E5\u8BC6\u5171\u4EAB\u7F72\u540D-\u975E\u5546\u4E1A\u6027\u4F7F\u7528-\u76F8\u540C\u65B9\u5F0F\u5171\u4EAB 4.0 \u56FD\u9645\u8BB8\u53EF\u534F\u8BAE"),t(" \u8FDB\u884C\u8BB8\u53EF\u3002")],-1),n=[c];function i(d,l,_,p,h,m){return r(),s("div",null,n)}var x=a(o,[["render",i]]);export{f as __pageData,x as default}; diff --git a/assets/case_index.md.185a0524.lean.js b/assets/case_index.md.0e468c21.lean.js similarity index 96% rename from assets/case_index.md.185a0524.lean.js rename to assets/case_index.md.0e468c21.lean.js index 3a0df5bc..2416ec11 100644 --- a/assets/case_index.md.185a0524.lean.js +++ b/assets/case_index.md.0e468c21.lean.js @@ -1 +1 @@ -import{_ as a,c as s,o as r,b as e,d as t}from"./app.3817bf4e.js";const f='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://raw.githubusercontent.com/naiba/nezha/master/resource/static/brand.svg","heroText":"\u54EA\u5412\u76D1\u63A7\u793E\u533A\u9879\u76EE","tagline":"\u54EA\u5412\u76D1\u63A7\u793E\u533A\u8D21\u732E\u7684\u76F8\u5173\u9879\u76EE\uFF0C\u4E3A\u54EA\u5412\u76D1\u63A7\u63D0\u4F9B\u4E86\u66F4\u591A\u6269\u5C55","actionText":"\u67E5\u770B\u9879\u76EE \u2192","actionLink":"/case/case1","features":[{"title":"\u63D0\u4EA4\u9879\u76EE","details":"\u6211\u4EEC\u6B22\u8FCE\u60A8\u63D0\u4EA4\u81EA\u5DF1\u7684\u9879\u76EE\uFF0C\u8BF7\u52A0\u5165TG\u7FA4\u8054\u7CFB\u7BA1\u7406\u5458\u4E86\u89E3\u76F8\u5173\u4E8B\u5B9C"},{"title":"\u6CE8\u610F\u4E8B\u9879","details":"\u6240\u6709\u9879\u76EE\u5747\u7531\u793E\u533A\u6210\u5458\u8D21\u732E\uFF0C\u8BF7\u60A8\u77E5\u6089\u54EA\u5412\u76D1\u63A7\u56E2\u961F\u65E0\u6CD5\u4E3A\u793E\u533A\u9879\u76EE\u627F\u62C5\u5305\u62EC\u4E14\u4E0D\u9650\u4E8E\uFF1A\u4FDD\u4FEE\u3001\u53EF\u7528\u6027\u3001\u5B89\u5168\u6027\u7B49\u8D23\u4EFB"}]},"headers":[],"relativePath":"case/index.md","lastUpdated":1681026579000}',o={},c=e("p",null,[e("br"),t("\u672C\u4F5C\u54C1\u91C7\u7528 "),e("a",{rel:"license",href:"http://creativecommons.org/licenses/by-nc-sa/4.0/"},"\u77E5\u8BC6\u5171\u4EAB\u7F72\u540D-\u975E\u5546\u4E1A\u6027\u4F7F\u7528-\u76F8\u540C\u65B9\u5F0F\u5171\u4EAB 4.0 \u56FD\u9645\u8BB8\u53EF\u534F\u8BAE"),t(" \u8FDB\u884C\u8BB8\u53EF\u3002")],-1),n=[c];function i(d,l,_,p,h,m){return r(),s("div",null,n)}var x=a(o,[["render",i]]);export{f as __pageData,x as default}; +import{_ as a,c as s,o as r,b as e,d as t}from"./app.3817bf4e.js";const f='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://raw.githubusercontent.com/naiba/nezha/master/resource/static/brand.svg","heroText":"\u54EA\u5412\u76D1\u63A7\u793E\u533A\u9879\u76EE","tagline":"\u54EA\u5412\u76D1\u63A7\u793E\u533A\u8D21\u732E\u7684\u76F8\u5173\u9879\u76EE\uFF0C\u4E3A\u54EA\u5412\u76D1\u63A7\u63D0\u4F9B\u4E86\u66F4\u591A\u6269\u5C55","actionText":"\u67E5\u770B\u9879\u76EE \u2192","actionLink":"/case/case1","features":[{"title":"\u63D0\u4EA4\u9879\u76EE","details":"\u6211\u4EEC\u6B22\u8FCE\u60A8\u63D0\u4EA4\u81EA\u5DF1\u7684\u9879\u76EE\uFF0C\u8BF7\u52A0\u5165TG\u7FA4\u8054\u7CFB\u7BA1\u7406\u5458\u4E86\u89E3\u76F8\u5173\u4E8B\u5B9C"},{"title":"\u6CE8\u610F\u4E8B\u9879","details":"\u6240\u6709\u9879\u76EE\u5747\u7531\u793E\u533A\u6210\u5458\u8D21\u732E\uFF0C\u8BF7\u60A8\u77E5\u6089\u54EA\u5412\u76D1\u63A7\u56E2\u961F\u65E0\u6CD5\u4E3A\u793E\u533A\u9879\u76EE\u627F\u62C5\u5305\u62EC\u4E14\u4E0D\u9650\u4E8E\uFF1A\u4FDD\u4FEE\u3001\u53EF\u7528\u6027\u3001\u5B89\u5168\u6027\u7B49\u8D23\u4EFB"}]},"headers":[],"relativePath":"case/index.md","lastUpdated":1682076617000}',o={},c=e("p",null,[e("br"),t("\u672C\u4F5C\u54C1\u91C7\u7528 "),e("a",{rel:"license",href:"http://creativecommons.org/licenses/by-nc-sa/4.0/"},"\u77E5\u8BC6\u5171\u4EAB\u7F72\u540D-\u975E\u5546\u4E1A\u6027\u4F7F\u7528-\u76F8\u540C\u65B9\u5F0F\u5171\u4EAB 4.0 \u56FD\u9645\u8BB8\u53EF\u534F\u8BAE"),t(" \u8FDB\u884C\u8BB8\u53EF\u3002")],-1),n=[c];function i(d,l,_,p,h,m){return r(),s("div",null,n)}var x=a(o,[["render",i]]);export{f as __pageData,x as default}; diff --git a/assets/developer_index.md.f8a1a0ec.js b/assets/developer_index.md.426207c3.js similarity index 89% rename from assets/developer_index.md.f8a1a0ec.js rename to assets/developer_index.md.426207c3.js index 2ccc94dd..330dcc8d 100644 --- a/assets/developer_index.md.f8a1a0ec.js +++ b/assets/developer_index.md.426207c3.js @@ -1 +1 @@ -import{_ as a,c as o,o as r,b as e,d as t}from"./app.3817bf4e.js";const f='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://raw.githubusercontent.com/naiba/nezha/master/resource/static/brand.svg","heroText":"\u5F00\u53D1\u624B\u518C","tagline":"\u6B22\u8FCE\u4F7F\u7528\u54EA\u5412\u76D1\u63A7\u5F00\u53D1\u624B\u518C\uFF0C\u6211\u4EEC\u6B22\u8FCE\u4F60\u63D0\u51FA\u9AD8\u8D28\u91CF\u7684Pull Request\uFF0C\u5E2E\u52A9\u54EA\u5412\u76D1\u63A7\u53D8\u5F97\u66F4\u597D\uFF01","actionText":"\u5F00\u59CB\u4F7F\u7528 \u2192","actionLink":"/developer/theme","footer":"Copyright \xA9 2022-present Nezhahq"},"headers":[],"relativePath":"developer/index.md","lastUpdated":1681026579000}',s={},n=e("p",null,[e("br"),t("\u672C\u4F5C\u54C1\u91C7\u7528 "),e("a",{rel:"license",href:"http://creativecommons.org/licenses/by-nc-sa/4.0/"},"\u77E5\u8BC6\u5171\u4EAB\u7F72\u540D-\u975E\u5546\u4E1A\u6027\u4F7F\u7528-\u76F8\u540C\u65B9\u5F0F\u5171\u4EAB 4.0 \u56FD\u9645\u8BB8\u53EF\u534F\u8BAE"),t(" \u8FDB\u884C\u8BB8\u53EF\u3002")],-1),c=[n];function i(d,l,p,h,_,m){return r(),o("div",null,c)}var x=a(s,[["render",i]]);export{f as __pageData,x as default}; +import{_ as a,c as o,o as r,b as e,d as t}from"./app.3817bf4e.js";const f='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://raw.githubusercontent.com/naiba/nezha/master/resource/static/brand.svg","heroText":"\u5F00\u53D1\u624B\u518C","tagline":"\u6B22\u8FCE\u4F7F\u7528\u54EA\u5412\u76D1\u63A7\u5F00\u53D1\u624B\u518C\uFF0C\u6211\u4EEC\u6B22\u8FCE\u4F60\u63D0\u51FA\u9AD8\u8D28\u91CF\u7684Pull Request\uFF0C\u5E2E\u52A9\u54EA\u5412\u76D1\u63A7\u53D8\u5F97\u66F4\u597D\uFF01","actionText":"\u5F00\u59CB\u4F7F\u7528 \u2192","actionLink":"/developer/theme","footer":"Copyright \xA9 2022-present Nezhahq"},"headers":[],"relativePath":"developer/index.md","lastUpdated":1682076617000}',s={},n=e("p",null,[e("br"),t("\u672C\u4F5C\u54C1\u91C7\u7528 "),e("a",{rel:"license",href:"http://creativecommons.org/licenses/by-nc-sa/4.0/"},"\u77E5\u8BC6\u5171\u4EAB\u7F72\u540D-\u975E\u5546\u4E1A\u6027\u4F7F\u7528-\u76F8\u540C\u65B9\u5F0F\u5171\u4EAB 4.0 \u56FD\u9645\u8BB8\u53EF\u534F\u8BAE"),t(" \u8FDB\u884C\u8BB8\u53EF\u3002")],-1),c=[n];function i(d,l,p,h,_,m){return r(),o("div",null,c)}var x=a(s,[["render",i]]);export{f as __pageData,x as default}; diff --git a/assets/developer_index.md.f8a1a0ec.lean.js b/assets/developer_index.md.426207c3.lean.js similarity index 89% rename from assets/developer_index.md.f8a1a0ec.lean.js rename to assets/developer_index.md.426207c3.lean.js index 2ccc94dd..330dcc8d 100644 --- a/assets/developer_index.md.f8a1a0ec.lean.js +++ b/assets/developer_index.md.426207c3.lean.js @@ -1 +1 @@ -import{_ as a,c as o,o as r,b as e,d as t}from"./app.3817bf4e.js";const f='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://raw.githubusercontent.com/naiba/nezha/master/resource/static/brand.svg","heroText":"\u5F00\u53D1\u624B\u518C","tagline":"\u6B22\u8FCE\u4F7F\u7528\u54EA\u5412\u76D1\u63A7\u5F00\u53D1\u624B\u518C\uFF0C\u6211\u4EEC\u6B22\u8FCE\u4F60\u63D0\u51FA\u9AD8\u8D28\u91CF\u7684Pull Request\uFF0C\u5E2E\u52A9\u54EA\u5412\u76D1\u63A7\u53D8\u5F97\u66F4\u597D\uFF01","actionText":"\u5F00\u59CB\u4F7F\u7528 \u2192","actionLink":"/developer/theme","footer":"Copyright \xA9 2022-present Nezhahq"},"headers":[],"relativePath":"developer/index.md","lastUpdated":1681026579000}',s={},n=e("p",null,[e("br"),t("\u672C\u4F5C\u54C1\u91C7\u7528 "),e("a",{rel:"license",href:"http://creativecommons.org/licenses/by-nc-sa/4.0/"},"\u77E5\u8BC6\u5171\u4EAB\u7F72\u540D-\u975E\u5546\u4E1A\u6027\u4F7F\u7528-\u76F8\u540C\u65B9\u5F0F\u5171\u4EAB 4.0 \u56FD\u9645\u8BB8\u53EF\u534F\u8BAE"),t(" \u8FDB\u884C\u8BB8\u53EF\u3002")],-1),c=[n];function i(d,l,p,h,_,m){return r(),o("div",null,c)}var x=a(s,[["render",i]]);export{f as __pageData,x as default}; +import{_ as a,c as o,o as r,b as e,d as t}from"./app.3817bf4e.js";const f='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://raw.githubusercontent.com/naiba/nezha/master/resource/static/brand.svg","heroText":"\u5F00\u53D1\u624B\u518C","tagline":"\u6B22\u8FCE\u4F7F\u7528\u54EA\u5412\u76D1\u63A7\u5F00\u53D1\u624B\u518C\uFF0C\u6211\u4EEC\u6B22\u8FCE\u4F60\u63D0\u51FA\u9AD8\u8D28\u91CF\u7684Pull Request\uFF0C\u5E2E\u52A9\u54EA\u5412\u76D1\u63A7\u53D8\u5F97\u66F4\u597D\uFF01","actionText":"\u5F00\u59CB\u4F7F\u7528 \u2192","actionLink":"/developer/theme","footer":"Copyright \xA9 2022-present Nezhahq"},"headers":[],"relativePath":"developer/index.md","lastUpdated":1682076617000}',s={},n=e("p",null,[e("br"),t("\u672C\u4F5C\u54C1\u91C7\u7528 "),e("a",{rel:"license",href:"http://creativecommons.org/licenses/by-nc-sa/4.0/"},"\u77E5\u8BC6\u5171\u4EAB\u7F72\u540D-\u975E\u5546\u4E1A\u6027\u4F7F\u7528-\u76F8\u540C\u65B9\u5F0F\u5171\u4EAB 4.0 \u56FD\u9645\u8BB8\u53EF\u534F\u8BAE"),t(" \u8FDB\u884C\u8BB8\u53EF\u3002")],-1),c=[n];function i(d,l,p,h,_,m){return r(),o("div",null,c)}var x=a(s,[["render",i]]);export{f as __pageData,x as default}; diff --git a/assets/developer_l10n.md.3b2ef267.js b/assets/developer_l10n.md.7a254502.js similarity index 93% rename from assets/developer_l10n.md.3b2ef267.js rename to assets/developer_l10n.md.7a254502.js index 5bc826b5..ca010579 100644 --- a/assets/developer_l10n.md.3b2ef267.js +++ b/assets/developer_l10n.md.7a254502.js @@ -1 +1 @@ -import{_ as e,c as t,o,a}from"./app.3817bf4e.js";const f='{"title":"\u4ECB\u7ECD","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4ECB\u7ECD","slug":"\u4ECB\u7ECD"},{"level":2,"title":"\u65B0\u672C\u5730\u5316\u6587\u672C\u7684\u6DFB\u52A0","slug":"\u65B0\u672C\u5730\u5316\u6587\u672C\u7684\u6DFB\u52A0"}],"relativePath":"developer/l10n.md","lastUpdated":1681026579000}',l={},r=a('

\u54EA\u5412\u76D1\u63A7\u7684 Dashboard \u5DF2\u7ECF\u6DFB\u52A0\u672C\u5730\u5316\uFF0C\u652F\u6301\u591A\u4E2A\u8BED\u8A00\uFF0C\u4F60\u53EF\u4EE5\u5728\u5F00\u53D1\u65B0\u529F\u80FD\u65F6\u9075\u5FAA\u4EE5\u4E0B\u6B65\u9AA4\u6765\u652F\u6301\u672C\u5730\u5316

\u4ECB\u7ECD

  1. \u4F60\u53EF\u4EE5\u76F4\u63A5\u4F7F\u7528 /resource/l10n/zh-CN.toml \u4E2D\u5DF2\u6709\u7684\u6587\u672C\u914D\u7F6E\u6765\u66FF\u6362\u65B0\u529F\u80FD\u4E2D\u7684\u6587\u672C
  2. \u5982\u679C\u65B0\u529F\u80FD\u4E2D\u6709\u65B0\u589E\u6587\u672C\uFF0C\u8BF7\u53C2\u8003 zh-CN.toml \u7684\u914D\u7F6E\u6587\u672C\uFF0C\u5C06\u65B0\u6587\u672C\u62C9\u53D6\u5230 zh-CN.toml \u7B49\u5176\u4ED6\u8BED\u8A00\u7684\u914D\u7F6E\u6587\u4EF6\u4E2D\uFF0C\u5E76\u6DFB\u52A0\u7FFB\u8BD1

\u65B0\u672C\u5730\u5316\u6587\u672C\u7684\u6DFB\u52A0

  1. \u5728 /resource/l10n/ \u4E2D\u6DFB\u52A0\u65B0\u7684\u8BED\u8A00\u6587\u672C\u914D\u7F6E
  2. \u5728\u65B0\u7684\u8BED\u8A00\u6587\u672C\u914D\u7F6E\u4E2D\u62C9\u53D6\u5176\u4ED6\u8BED\u8A00\u5DF2\u6709\u7684\u6587\u672C\u914D\u7F6E
  3. \u4E3A\u65B0\u7684\u8BED\u8A00\u6587\u672C\u914D\u7F6E\u6DFB\u52A0\u7FFB\u8BD1
',5),d=[r];function c(i,s,n,_,h,p){return o(),t("div",null,d)}var m=e(l,[["render",c]]);export{f as __pageData,m as default}; +import{_ as e,c as t,o,a}from"./app.3817bf4e.js";const f='{"title":"\u4ECB\u7ECD","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4ECB\u7ECD","slug":"\u4ECB\u7ECD"},{"level":2,"title":"\u65B0\u672C\u5730\u5316\u6587\u672C\u7684\u6DFB\u52A0","slug":"\u65B0\u672C\u5730\u5316\u6587\u672C\u7684\u6DFB\u52A0"}],"relativePath":"developer/l10n.md","lastUpdated":1682076617000}',l={},r=a('

\u54EA\u5412\u76D1\u63A7\u7684 Dashboard \u5DF2\u7ECF\u6DFB\u52A0\u672C\u5730\u5316\uFF0C\u652F\u6301\u591A\u4E2A\u8BED\u8A00\uFF0C\u4F60\u53EF\u4EE5\u5728\u5F00\u53D1\u65B0\u529F\u80FD\u65F6\u9075\u5FAA\u4EE5\u4E0B\u6B65\u9AA4\u6765\u652F\u6301\u672C\u5730\u5316

\u4ECB\u7ECD

  1. \u4F60\u53EF\u4EE5\u76F4\u63A5\u4F7F\u7528 /resource/l10n/zh-CN.toml \u4E2D\u5DF2\u6709\u7684\u6587\u672C\u914D\u7F6E\u6765\u66FF\u6362\u65B0\u529F\u80FD\u4E2D\u7684\u6587\u672C
  2. \u5982\u679C\u65B0\u529F\u80FD\u4E2D\u6709\u65B0\u589E\u6587\u672C\uFF0C\u8BF7\u53C2\u8003 zh-CN.toml \u7684\u914D\u7F6E\u6587\u672C\uFF0C\u5C06\u65B0\u6587\u672C\u62C9\u53D6\u5230 zh-CN.toml \u7B49\u5176\u4ED6\u8BED\u8A00\u7684\u914D\u7F6E\u6587\u4EF6\u4E2D\uFF0C\u5E76\u6DFB\u52A0\u7FFB\u8BD1

\u65B0\u672C\u5730\u5316\u6587\u672C\u7684\u6DFB\u52A0

  1. \u5728 /resource/l10n/ \u4E2D\u6DFB\u52A0\u65B0\u7684\u8BED\u8A00\u6587\u672C\u914D\u7F6E
  2. \u5728\u65B0\u7684\u8BED\u8A00\u6587\u672C\u914D\u7F6E\u4E2D\u62C9\u53D6\u5176\u4ED6\u8BED\u8A00\u5DF2\u6709\u7684\u6587\u672C\u914D\u7F6E
  3. \u4E3A\u65B0\u7684\u8BED\u8A00\u6587\u672C\u914D\u7F6E\u6DFB\u52A0\u7FFB\u8BD1
',5),d=[r];function c(i,s,n,_,h,p){return o(),t("div",null,d)}var m=e(l,[["render",c]]);export{f as __pageData,m as default}; diff --git a/assets/developer_l10n.md.3b2ef267.lean.js b/assets/developer_l10n.md.7a254502.lean.js similarity index 75% rename from assets/developer_l10n.md.3b2ef267.lean.js rename to assets/developer_l10n.md.7a254502.lean.js index 60bc428c..f3565e11 100644 --- a/assets/developer_l10n.md.3b2ef267.lean.js +++ b/assets/developer_l10n.md.7a254502.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o,a}from"./app.3817bf4e.js";const f='{"title":"\u4ECB\u7ECD","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4ECB\u7ECD","slug":"\u4ECB\u7ECD"},{"level":2,"title":"\u65B0\u672C\u5730\u5316\u6587\u672C\u7684\u6DFB\u52A0","slug":"\u65B0\u672C\u5730\u5316\u6587\u672C\u7684\u6DFB\u52A0"}],"relativePath":"developer/l10n.md","lastUpdated":1681026579000}',l={},r=a("",5),d=[r];function c(i,s,n,_,h,p){return o(),t("div",null,d)}var m=e(l,[["render",c]]);export{f as __pageData,m as default}; +import{_ as e,c as t,o,a}from"./app.3817bf4e.js";const f='{"title":"\u4ECB\u7ECD","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4ECB\u7ECD","slug":"\u4ECB\u7ECD"},{"level":2,"title":"\u65B0\u672C\u5730\u5316\u6587\u672C\u7684\u6DFB\u52A0","slug":"\u65B0\u672C\u5730\u5316\u6587\u672C\u7684\u6DFB\u52A0"}],"relativePath":"developer/l10n.md","lastUpdated":1682076617000}',l={},r=a("",5),d=[r];function c(i,s,n,_,h,p){return o(),t("div",null,d)}var m=e(l,[["render",c]]);export{f as __pageData,m as default}; diff --git a/assets/developer_theme.md.d3f1c218.js b/assets/developer_theme.md.7a2d8b90.js similarity index 97% rename from assets/developer_theme.md.d3f1c218.js rename to assets/developer_theme.md.7a2d8b90.js index 973daa8b..da2a7e1f 100644 --- a/assets/developer_theme.md.d3f1c218.js +++ b/assets/developer_theme.md.7a2d8b90.js @@ -1 +1 @@ -import{_ as e,c as a,o as t,a as o}from"./app.3817bf4e.js";const u='{"title":"\u54EA\u5412\u4E3B\u9898\u5F00\u53D1\u73AF\u5883","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u54EA\u5412\u4E3B\u9898\u5F00\u53D1\u73AF\u5883","slug":"\u54EA\u5412\u4E3B\u9898\u5F00\u53D1\u73AF\u5883"},{"level":2,"title":"\u4F7F\u7528\u8BF4\u660E","slug":"\u4F7F\u7528\u8BF4\u660E"},{"level":2,"title":"FAQ","slug":"faq"}],"relativePath":"developer/theme.md","lastUpdated":1681026579000}',c={},d=o('

\u54EA\u5412\u4E3B\u9898\u5F00\u53D1\u73AF\u5883

\u54EA\u5412\u9762\u677F\u63D0\u4F9B\u4E86\u4E3B\u9898\u5F00\u53D1\u73AF\u5883\uFF0C\u4F60\u53EF\u4EE5\u4F7F\u7528\u5B83\u6765\u521B\u5EFA\u65B0\u7684\u54EA\u5412\u76D1\u63A7\u4E3B\u9898

WARNING

\u8BF7\u6CE8\u610F\uFF1A \u6B64\u5F00\u53D1\u73AF\u5883\u4EC5\u652F\u6301 dashboard v0.13.16 \u53CA\u66F4\u65B0\u7248\u672C\u3002

\u4F7F\u7528\u8BF4\u660E

  1. \u514B\u9686\u6B64\u4ED3\u5E93\u5230\u672C\u5730
  2. \u4FEE\u6539 data/config.yaml \u4E2D\u7684 Oauth2 \u914D\u7F6E\uFF08\u56DE\u8C03\u8FDE\u63A5\u53EF\u4EE5\u586B http://localhost\uFF09
  3. \u8FD0\u884C docker-compose up
  4. \u5F00\u59CB\u5F00\u53D1
  5. \u4E3B\u9898\u5236\u4F5C\u5B8C\u6210\u4E4B\u540E\u53EF\u4EE5\u5C06 theme-custom \u653E\u7F6E\u5230\u670D\u52A1\u5668\u4E0A\u7684 /opt/nezha/dashboard/theme-custom \u4F4D\u7F6E

FAQ

',7),l=[d];function r(i,s,h,n,_,p){return t(),a("div",null,l)}var f=e(c,[["render",r]]);export{u as __pageData,f as default}; +import{_ as e,c as a,o as t,a as o}from"./app.3817bf4e.js";const u='{"title":"\u54EA\u5412\u4E3B\u9898\u5F00\u53D1\u73AF\u5883","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u54EA\u5412\u4E3B\u9898\u5F00\u53D1\u73AF\u5883","slug":"\u54EA\u5412\u4E3B\u9898\u5F00\u53D1\u73AF\u5883"},{"level":2,"title":"\u4F7F\u7528\u8BF4\u660E","slug":"\u4F7F\u7528\u8BF4\u660E"},{"level":2,"title":"FAQ","slug":"faq"}],"relativePath":"developer/theme.md","lastUpdated":1682076617000}',c={},d=o('

\u54EA\u5412\u4E3B\u9898\u5F00\u53D1\u73AF\u5883

\u54EA\u5412\u9762\u677F\u63D0\u4F9B\u4E86\u4E3B\u9898\u5F00\u53D1\u73AF\u5883\uFF0C\u4F60\u53EF\u4EE5\u4F7F\u7528\u5B83\u6765\u521B\u5EFA\u65B0\u7684\u54EA\u5412\u76D1\u63A7\u4E3B\u9898

WARNING

\u8BF7\u6CE8\u610F\uFF1A \u6B64\u5F00\u53D1\u73AF\u5883\u4EC5\u652F\u6301 dashboard v0.13.16 \u53CA\u66F4\u65B0\u7248\u672C\u3002

\u4F7F\u7528\u8BF4\u660E

  1. \u514B\u9686\u6B64\u4ED3\u5E93\u5230\u672C\u5730
  2. \u4FEE\u6539 data/config.yaml \u4E2D\u7684 Oauth2 \u914D\u7F6E\uFF08\u56DE\u8C03\u8FDE\u63A5\u53EF\u4EE5\u586B http://localhost\uFF09
  3. \u8FD0\u884C docker-compose up
  4. \u5F00\u59CB\u5F00\u53D1
  5. \u4E3B\u9898\u5236\u4F5C\u5B8C\u6210\u4E4B\u540E\u53EF\u4EE5\u5C06 theme-custom \u653E\u7F6E\u5230\u670D\u52A1\u5668\u4E0A\u7684 /opt/nezha/dashboard/theme-custom \u4F4D\u7F6E

FAQ

',7),l=[d];function r(i,s,h,n,_,p){return t(),a("div",null,l)}var f=e(c,[["render",r]]);export{u as __pageData,f as default}; diff --git a/assets/developer_theme.md.d3f1c218.lean.js b/assets/developer_theme.md.7a2d8b90.lean.js similarity index 89% rename from assets/developer_theme.md.d3f1c218.lean.js rename to assets/developer_theme.md.7a2d8b90.lean.js index 34d8ea5e..c077a139 100644 --- a/assets/developer_theme.md.d3f1c218.lean.js +++ b/assets/developer_theme.md.7a2d8b90.lean.js @@ -1 +1 @@ -import{_ as e,c as a,o as t,a as o}from"./app.3817bf4e.js";const u='{"title":"\u54EA\u5412\u4E3B\u9898\u5F00\u53D1\u73AF\u5883","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u54EA\u5412\u4E3B\u9898\u5F00\u53D1\u73AF\u5883","slug":"\u54EA\u5412\u4E3B\u9898\u5F00\u53D1\u73AF\u5883"},{"level":2,"title":"\u4F7F\u7528\u8BF4\u660E","slug":"\u4F7F\u7528\u8BF4\u660E"},{"level":2,"title":"FAQ","slug":"faq"}],"relativePath":"developer/theme.md","lastUpdated":1681026579000}',c={},d=o("",7),l=[d];function r(i,s,h,n,_,p){return t(),a("div",null,l)}var f=e(c,[["render",r]]);export{u as __pageData,f as default}; +import{_ as e,c as a,o as t,a as o}from"./app.3817bf4e.js";const u='{"title":"\u54EA\u5412\u4E3B\u9898\u5F00\u53D1\u73AF\u5883","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u54EA\u5412\u4E3B\u9898\u5F00\u53D1\u73AF\u5883","slug":"\u54EA\u5412\u4E3B\u9898\u5F00\u53D1\u73AF\u5883"},{"level":2,"title":"\u4F7F\u7528\u8BF4\u660E","slug":"\u4F7F\u7528\u8BF4\u660E"},{"level":2,"title":"FAQ","slug":"faq"}],"relativePath":"developer/theme.md","lastUpdated":1682076617000}',c={},d=o("",7),l=[d];function r(i,s,h,n,_,p){return t(),a("div",null,l)}var f=e(c,[["render",r]]);export{u as __pageData,f as default}; diff --git a/assets/en_US_case_case1.md.99cd4f4f.js b/assets/en_US_case_case1.md.9dedef12.js similarity index 95% rename from assets/en_US_case_case1.md.99cd4f4f.js rename to assets/en_US_case_case1.md.9dedef12.js index b9bb36a9..1400fc06 100644 --- a/assets/en_US_case_case1.md.99cd4f4f.js +++ b/assets/en_US_case_case1.md.9dedef12.js @@ -1 +1 @@ -import{_ as e,c as r,o as t,a as o}from"./app.3817bf4e.js";const b='{"title":"Build your own Telegram bot to query server information","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/case/case1.md","lastUpdated":1681026579000}',a={},n=o('

Build your own Telegram bot to query server information

Contributors:

Project: nezha_api_tgbot (Chinese)

Mirror backup, non-real-time update: nezha_api_tgbot (Chinese)

The bot can request server status information from the Dashboard through the API, and then send the information to the user.
You can build this bot to easily view the current status of a given server without opening the Dashboard.

',6),i=[n];function s(h,_,p,u,l,c){return t(),r("div",null,i)}var f=e(a,[["render",s]]);export{b as __pageData,f as default}; +import{_ as e,c as r,o as t,a as o}from"./app.3817bf4e.js";const b='{"title":"Build your own Telegram bot to query server information","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/case/case1.md","lastUpdated":1682076617000}',a={},n=o('

Build your own Telegram bot to query server information

Contributors:

Project: nezha_api_tgbot (Chinese)

Mirror backup, non-real-time update: nezha_api_tgbot (Chinese)

The bot can request server status information from the Dashboard through the API, and then send the information to the user.
You can build this bot to easily view the current status of a given server without opening the Dashboard.

',6),i=[n];function s(h,_,p,u,l,c){return t(),r("div",null,i)}var f=e(a,[["render",s]]);export{b as __pageData,f as default}; diff --git a/assets/en_US_case_case1.md.99cd4f4f.lean.js b/assets/en_US_case_case1.md.9dedef12.lean.js similarity index 83% rename from assets/en_US_case_case1.md.99cd4f4f.lean.js rename to assets/en_US_case_case1.md.9dedef12.lean.js index c2c91ead..8b355f9a 100644 --- a/assets/en_US_case_case1.md.99cd4f4f.lean.js +++ b/assets/en_US_case_case1.md.9dedef12.lean.js @@ -1 +1 @@ -import{_ as e,c as r,o as t,a as o}from"./app.3817bf4e.js";const b='{"title":"Build your own Telegram bot to query server information","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/case/case1.md","lastUpdated":1681026579000}',a={},n=o("",6),i=[n];function s(h,_,p,u,l,c){return t(),r("div",null,i)}var f=e(a,[["render",s]]);export{b as __pageData,f as default}; +import{_ as e,c as r,o as t,a as o}from"./app.3817bf4e.js";const b='{"title":"Build your own Telegram bot to query server information","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/case/case1.md","lastUpdated":1682076617000}',a={},n=o("",6),i=[n];function s(h,_,p,u,l,c){return t(),r("div",null,i)}var f=e(a,[["render",s]]);export{b as __pageData,f as default}; diff --git a/assets/en_US_case_case2.md.51f633c1.js b/assets/en_US_case_case2.md.b14e2e3b.js similarity index 97% rename from assets/en_US_case_case2.md.51f633c1.js rename to assets/en_US_case_case2.md.b14e2e3b.js index 346d7a2d..38baae39 100644 --- a/assets/en_US_case_case2.md.51f633c1.js +++ b/assets/en_US_case_case2.md.b14e2e3b.js @@ -1 +1 @@ -import{_ as e}from"./chunks/qrcode.bde14c07.js";import{_ as t,c as r,o,a as s}from"./app.3817bf4e.js";const S='{"title":"Use Siri to run shortcut to check server status in iOS/MacOS","description":"","frontmatter":{},"headers":[{"level":2,"title":"Get shortcut command","slug":"get-shortcut-command"},{"level":2,"title":"How to use","slug":"how-to-use"}],"relativePath":"en_US/case/case2.md","lastUpdated":1681026579000}',a={},c=s('

Use Siri to run shortcut to check server status in iOS/MacOS

Current Version\uFF1AV1.0 (Chinese)
Contributor:

Get shortcut command

Scan the following QR code with your iPhone or iPad to get the shortcut




MacOS users please visit here to get the shortcut

How to use

WARNING

Each shortcut can only monitor one server, if you need to monitor more than one server, please copy this shortcut several times and configure them separately, then modify the shortcut name separately, such as; Server 1 Status, Server 2 Status, etc.

',8),i=[c];function h(n,u,d,l,m,_){return o(),r("div",null,i)}var v=t(a,[["render",h]]);export{S as __pageData,v as default}; +import{_ as e}from"./chunks/qrcode.bde14c07.js";import{_ as t,c as r,o,a as s}from"./app.3817bf4e.js";const S='{"title":"Use Siri to run shortcut to check server status in iOS/MacOS","description":"","frontmatter":{},"headers":[{"level":2,"title":"Get shortcut command","slug":"get-shortcut-command"},{"level":2,"title":"How to use","slug":"how-to-use"}],"relativePath":"en_US/case/case2.md","lastUpdated":1682076617000}',a={},c=s('

Use Siri to run shortcut to check server status in iOS/MacOS

Current Version\uFF1AV1.0 (Chinese)
Contributor:

Get shortcut command

Scan the following QR code with your iPhone or iPad to get the shortcut




MacOS users please visit here to get the shortcut

How to use

WARNING

Each shortcut can only monitor one server, if you need to monitor more than one server, please copy this shortcut several times and configure them separately, then modify the shortcut name separately, such as; Server 1 Status, Server 2 Status, etc.

',8),i=[c];function h(n,u,d,l,m,_){return o(),r("div",null,i)}var v=t(a,[["render",h]]);export{S as __pageData,v as default}; diff --git a/assets/en_US_case_case2.md.51f633c1.lean.js b/assets/en_US_case_case2.md.b14e2e3b.lean.js similarity index 88% rename from assets/en_US_case_case2.md.51f633c1.lean.js rename to assets/en_US_case_case2.md.b14e2e3b.lean.js index 1c28a214..b6bc5979 100644 --- a/assets/en_US_case_case2.md.51f633c1.lean.js +++ b/assets/en_US_case_case2.md.b14e2e3b.lean.js @@ -1 +1 @@ -import{_ as e}from"./chunks/qrcode.bde14c07.js";import{_ as t,c as r,o,a as s}from"./app.3817bf4e.js";const S='{"title":"Use Siri to run shortcut to check server status in iOS/MacOS","description":"","frontmatter":{},"headers":[{"level":2,"title":"Get shortcut command","slug":"get-shortcut-command"},{"level":2,"title":"How to use","slug":"how-to-use"}],"relativePath":"en_US/case/case2.md","lastUpdated":1681026579000}',a={},c=s("",8),i=[c];function h(n,u,d,l,m,_){return o(),r("div",null,i)}var v=t(a,[["render",h]]);export{S as __pageData,v as default}; +import{_ as e}from"./chunks/qrcode.bde14c07.js";import{_ as t,c as r,o,a as s}from"./app.3817bf4e.js";const S='{"title":"Use Siri to run shortcut to check server status in iOS/MacOS","description":"","frontmatter":{},"headers":[{"level":2,"title":"Get shortcut command","slug":"get-shortcut-command"},{"level":2,"title":"How to use","slug":"how-to-use"}],"relativePath":"en_US/case/case2.md","lastUpdated":1682076617000}',a={},c=s("",8),i=[c];function h(n,u,d,l,m,_){return o(),r("div",null,i)}var v=t(a,[["render",h]]);export{S as __pageData,v as default}; diff --git a/assets/en_US_case_case3.md.782bfd51.js b/assets/en_US_case_case3.md.5d780c14.js similarity index 98% rename from assets/en_US_case_case3.md.782bfd51.js rename to assets/en_US_case_case3.md.5d780c14.js index dde4c7b9..280ca699 100644 --- a/assets/en_US_case_case3.md.782bfd51.js +++ b/assets/en_US_case_case3.md.5d780c14.js @@ -1 +1 @@ -import{_ as t,c as e,o as r,a}from"./app.3817bf4e.js";const g='{"title":"Build your own server status query Telegram bot with multi-language and multi-user support","description":"","frontmatter":{},"headers":[{"level":2,"title":"Features","slug":"features"},{"level":2,"title":"Commands list","slug":"commands-list"}],"relativePath":"en_US/case/case3.md","lastUpdated":1681026579000}',d={},i=a('

Build your own server status query Telegram bot with multi-language and multi-user support

Contributor:

GitHub project: nezha_telegram_bot\uFF08English is already supported\uFF09

Mirror backup, non-real-time update : nezha_telegram_bot\uFF08English is already supported\uFF09

Features

Commands list

CommandDescriptionPrivate chat only
startGetting started with the keyboard main menu\u2714\uFE0F
helphelp message\u274C
addAdd Nezha monitoring url link and token\u2714\uFE0F
urlAdd Nezha monitoring url link\u2714\uFE0F
tokenAdd Nezha monitoring token\u2714\uFE0F
infoGet saved Nezha monitoring url link and token\u2714\uFE0F
deleteDelete saved Nezha monitoring url link and token\u2714\uFE0F
idAdd an integer id after the command to query the information of a single server (refresh button only available in private chat)\u274C
allQuery statistics for all servers\u274C
searchSearch for keywords in server names (multiple keywords supported, split by spaces)\u274C
',9),o=[i];function n(s,l,u,h,p,m){return r(),e("div",null,o)}var _=t(d,[["render",n]]);export{g as __pageData,_ as default}; +import{_ as t,c as e,o as r,a}from"./app.3817bf4e.js";const g='{"title":"Build your own server status query Telegram bot with multi-language and multi-user support","description":"","frontmatter":{},"headers":[{"level":2,"title":"Features","slug":"features"},{"level":2,"title":"Commands list","slug":"commands-list"}],"relativePath":"en_US/case/case3.md","lastUpdated":1682076617000}',d={},i=a('

Build your own server status query Telegram bot with multi-language and multi-user support

Contributor:

GitHub project: nezha_telegram_bot\uFF08English is already supported\uFF09

Mirror backup, non-real-time update : nezha_telegram_bot\uFF08English is already supported\uFF09

Features

Commands list

CommandDescriptionPrivate chat only
startGetting started with the keyboard main menu\u2714\uFE0F
helphelp message\u274C
addAdd Nezha monitoring url link and token\u2714\uFE0F
urlAdd Nezha monitoring url link\u2714\uFE0F
tokenAdd Nezha monitoring token\u2714\uFE0F
infoGet saved Nezha monitoring url link and token\u2714\uFE0F
deleteDelete saved Nezha monitoring url link and token\u2714\uFE0F
idAdd an integer id after the command to query the information of a single server (refresh button only available in private chat)\u274C
allQuery statistics for all servers\u274C
searchSearch for keywords in server names (multiple keywords supported, split by spaces)\u274C
',9),o=[i];function n(s,l,u,h,p,m){return r(),e("div",null,o)}var _=t(d,[["render",n]]);export{g as __pageData,_ as default}; diff --git a/assets/en_US_case_case3.md.782bfd51.lean.js b/assets/en_US_case_case3.md.5d780c14.lean.js similarity index 87% rename from assets/en_US_case_case3.md.782bfd51.lean.js rename to assets/en_US_case_case3.md.5d780c14.lean.js index 8a787566..12f58779 100644 --- a/assets/en_US_case_case3.md.782bfd51.lean.js +++ b/assets/en_US_case_case3.md.5d780c14.lean.js @@ -1 +1 @@ -import{_ as t,c as e,o as r,a}from"./app.3817bf4e.js";const g='{"title":"Build your own server status query Telegram bot with multi-language and multi-user support","description":"","frontmatter":{},"headers":[{"level":2,"title":"Features","slug":"features"},{"level":2,"title":"Commands list","slug":"commands-list"}],"relativePath":"en_US/case/case3.md","lastUpdated":1681026579000}',d={},i=a("",9),o=[i];function n(s,l,u,h,p,m){return r(),e("div",null,o)}var _=t(d,[["render",n]]);export{g as __pageData,_ as default}; +import{_ as t,c as e,o as r,a}from"./app.3817bf4e.js";const g='{"title":"Build your own server status query Telegram bot with multi-language and multi-user support","description":"","frontmatter":{},"headers":[{"level":2,"title":"Features","slug":"features"},{"level":2,"title":"Commands list","slug":"commands-list"}],"relativePath":"en_US/case/case3.md","lastUpdated":1682076617000}',d={},i=a("",9),o=[i];function n(s,l,u,h,p,m){return r(),e("div",null,o)}var _=t(d,[["render",n]]);export{g as __pageData,_ as default}; diff --git a/assets/en_US_case_case4.md.207aafc1.js b/assets/en_US_case_case4.md.85517e0c.js similarity index 94% rename from assets/en_US_case_case4.md.207aafc1.js rename to assets/en_US_case_case4.md.85517e0c.js index 8eb81a06..64ea4cc1 100644 --- a/assets/en_US_case_case4.md.207aafc1.js +++ b/assets/en_US_case_case4.md.85517e0c.js @@ -1 +1 @@ -import{_ as e,c as a,o as t,a as r}from"./app.3817bf4e.js";const l='{"title":"Fake-agent, monitoring data cheater","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/case/case4.md","lastUpdated":1681026579000}',n={},o=r('

Fake-agent, monitoring data cheater

Contributor:

GitHub project: fake-nezha-agent\uFF08Chinese\uFF09
Mirror backup, non-real-time update \uFF1Afake-nezha-agent\uFF08Chinese\uFF09

You can modify the monitoring data uploaded to Dashboard by the Agent
Use it for cheating \u{1F608}

',5),i=[o];function h(s,c,d,_,p,f){return t(),a("div",null,i)}var u=e(n,[["render",h]]);export{l as __pageData,u as default}; +import{_ as e,c as a,o as t,a as r}from"./app.3817bf4e.js";const l='{"title":"Fake-agent, monitoring data cheater","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/case/case4.md","lastUpdated":1682076617000}',n={},o=r('

Fake-agent, monitoring data cheater

Contributor:

GitHub project: fake-nezha-agent\uFF08Chinese\uFF09
Mirror backup, non-real-time update \uFF1Afake-nezha-agent\uFF08Chinese\uFF09

You can modify the monitoring data uploaded to Dashboard by the Agent
Use it for cheating \u{1F608}

',5),i=[o];function h(s,c,d,_,p,f){return t(),a("div",null,i)}var u=e(n,[["render",h]]);export{l as __pageData,u as default}; diff --git a/assets/en_US_case_case4.md.207aafc1.lean.js b/assets/en_US_case_case4.md.85517e0c.lean.js similarity index 82% rename from assets/en_US_case_case4.md.207aafc1.lean.js rename to assets/en_US_case_case4.md.85517e0c.lean.js index 03f8f978..9bf9c1d3 100644 --- a/assets/en_US_case_case4.md.207aafc1.lean.js +++ b/assets/en_US_case_case4.md.85517e0c.lean.js @@ -1 +1 @@ -import{_ as e,c as a,o as t,a as r}from"./app.3817bf4e.js";const l='{"title":"Fake-agent, monitoring data cheater","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/case/case4.md","lastUpdated":1681026579000}',n={},o=r("",5),i=[o];function h(s,c,d,_,p,f){return t(),a("div",null,i)}var u=e(n,[["render",h]]);export{l as __pageData,u as default}; +import{_ as e,c as a,o as t,a as r}from"./app.3817bf4e.js";const l='{"title":"Fake-agent, monitoring data cheater","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/case/case4.md","lastUpdated":1682076617000}',n={},o=r("",5),i=[o];function h(s,c,d,_,p,f){return t(),a("div",null,i)}var u=e(n,[["render",h]]);export{l as __pageData,u as default}; diff --git a/assets/en_US_case_index.md.be029dac.js b/assets/en_US_case_index.md.6a8e5490.js similarity index 90% rename from assets/en_US_case_index.md.be029dac.js rename to assets/en_US_case_index.md.6a8e5490.js index b2c5a375..c8fb3e43 100644 --- a/assets/en_US_case_index.md.be029dac.js +++ b/assets/en_US_case_index.md.6a8e5490.js @@ -1 +1 @@ -import{_ as o,c as a,o as n,b as e,d as t}from"./app.3817bf4e.js";const _='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://raw.githubusercontent.com/naiba/nezha/master/resource/static/brand.svg","heroText":"Nezha Monitoring Community Project","tagline":"Related projects contributed by Nezha Monitoring community, provide more extensions for Nezha Monitoring","actionText":"Learn More \u2192","actionLink":"/en_US/case/case1","features":[{"title":"Submit a project","details":"We welcome you to submit your own projects, please join the Telegram group and contact the administrator for more information"},{"title":"Important Notes","details":"All projects are contributed by community members. Please be aware that Nezha monitoring team cannot be held responsible for community projects including and not limited to warranty, availability, security, etc."}]},"headers":[],"relativePath":"en_US/case/index.md","lastUpdated":1681026579000}',r={},i=e("p",null,[e("br"),t("This work is licensed under a "),e("a",{rel:"license",href:"http://creativecommons.org/licenses/by-nc-sa/4.0/"},"Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License"),t(".")],-1),s=[i];function c(m,l,d,u,p,h){return n(),a("div",null,s)}var f=o(r,[["render",c]]);export{_ as __pageData,f as default}; +import{_ as o,c as a,o as n,b as e,d as t}from"./app.3817bf4e.js";const _='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://raw.githubusercontent.com/naiba/nezha/master/resource/static/brand.svg","heroText":"Nezha Monitoring Community Project","tagline":"Related projects contributed by Nezha Monitoring community, provide more extensions for Nezha Monitoring","actionText":"Learn More \u2192","actionLink":"/en_US/case/case1","features":[{"title":"Submit a project","details":"We welcome you to submit your own projects, please join the Telegram group and contact the administrator for more information"},{"title":"Important Notes","details":"All projects are contributed by community members. Please be aware that Nezha monitoring team cannot be held responsible for community projects including and not limited to warranty, availability, security, etc."}]},"headers":[],"relativePath":"en_US/case/index.md","lastUpdated":1682076617000}',r={},i=e("p",null,[e("br"),t("This work is licensed under a "),e("a",{rel:"license",href:"http://creativecommons.org/licenses/by-nc-sa/4.0/"},"Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License"),t(".")],-1),s=[i];function c(m,l,d,u,p,h){return n(),a("div",null,s)}var f=o(r,[["render",c]]);export{_ as __pageData,f as default}; diff --git a/assets/en_US_case_index.md.be029dac.lean.js b/assets/en_US_case_index.md.6a8e5490.lean.js similarity index 90% rename from assets/en_US_case_index.md.be029dac.lean.js rename to assets/en_US_case_index.md.6a8e5490.lean.js index b2c5a375..c8fb3e43 100644 --- a/assets/en_US_case_index.md.be029dac.lean.js +++ b/assets/en_US_case_index.md.6a8e5490.lean.js @@ -1 +1 @@ -import{_ as o,c as a,o as n,b as e,d as t}from"./app.3817bf4e.js";const _='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://raw.githubusercontent.com/naiba/nezha/master/resource/static/brand.svg","heroText":"Nezha Monitoring Community Project","tagline":"Related projects contributed by Nezha Monitoring community, provide more extensions for Nezha Monitoring","actionText":"Learn More \u2192","actionLink":"/en_US/case/case1","features":[{"title":"Submit a project","details":"We welcome you to submit your own projects, please join the Telegram group and contact the administrator for more information"},{"title":"Important Notes","details":"All projects are contributed by community members. Please be aware that Nezha monitoring team cannot be held responsible for community projects including and not limited to warranty, availability, security, etc."}]},"headers":[],"relativePath":"en_US/case/index.md","lastUpdated":1681026579000}',r={},i=e("p",null,[e("br"),t("This work is licensed under a "),e("a",{rel:"license",href:"http://creativecommons.org/licenses/by-nc-sa/4.0/"},"Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License"),t(".")],-1),s=[i];function c(m,l,d,u,p,h){return n(),a("div",null,s)}var f=o(r,[["render",c]]);export{_ as __pageData,f as default}; +import{_ as o,c as a,o as n,b as e,d as t}from"./app.3817bf4e.js";const _='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://raw.githubusercontent.com/naiba/nezha/master/resource/static/brand.svg","heroText":"Nezha Monitoring Community Project","tagline":"Related projects contributed by Nezha Monitoring community, provide more extensions for Nezha Monitoring","actionText":"Learn More \u2192","actionLink":"/en_US/case/case1","features":[{"title":"Submit a project","details":"We welcome you to submit your own projects, please join the Telegram group and contact the administrator for more information"},{"title":"Important Notes","details":"All projects are contributed by community members. Please be aware that Nezha monitoring team cannot be held responsible for community projects including and not limited to warranty, availability, security, etc."}]},"headers":[],"relativePath":"en_US/case/index.md","lastUpdated":1682076617000}',r={},i=e("p",null,[e("br"),t("This work is licensed under a "),e("a",{rel:"license",href:"http://creativecommons.org/licenses/by-nc-sa/4.0/"},"Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License"),t(".")],-1),s=[i];function c(m,l,d,u,p,h){return n(),a("div",null,s)}var f=o(r,[["render",c]]);export{_ as __pageData,f as default}; diff --git a/assets/en_US_developer_index.md.91f46408.js b/assets/en_US_developer_index.md.9d8fad63.js similarity index 92% rename from assets/en_US_developer_index.md.91f46408.js rename to assets/en_US_developer_index.md.9d8fad63.js index 92a6e429..e257cb96 100644 --- a/assets/en_US_developer_index.md.91f46408.js +++ b/assets/en_US_developer_index.md.9d8fad63.js @@ -1 +1 @@ -import{_ as o,c as a,o as n,b as e,d as t}from"./app.3817bf4e.js";const v='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://raw.githubusercontent.com/naiba/nezha/master/resource/static/brand.svg","heroText":"Development Manual","tagline":"Welcome to the Nezha Monitoring Development Manual.","actionText":"Start Now \u2192","actionLink":"/en_US/developer/theme","footer":"Copyright \xA9 2022-present Nezhahq"},"headers":[],"relativePath":"en_US/developer/index.md","lastUpdated":1681026579000}',r={},s=e("p",null,[e("br"),t("This work is licensed under a "),e("a",{rel:"license",href:"http://creativecommons.org/licenses/by-nc-sa/4.0/"},"Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License"),t(".")],-1),i=[s];function c(l,d,h,m,p,_){return n(),a("div",null,i)}var f=o(r,[["render",c]]);export{v as __pageData,f as default}; +import{_ as o,c as a,o as n,b as e,d as t}from"./app.3817bf4e.js";const v='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://raw.githubusercontent.com/naiba/nezha/master/resource/static/brand.svg","heroText":"Development Manual","tagline":"Welcome to the Nezha Monitoring Development Manual.","actionText":"Start Now \u2192","actionLink":"/en_US/developer/theme","footer":"Copyright \xA9 2022-present Nezhahq"},"headers":[],"relativePath":"en_US/developer/index.md","lastUpdated":1682076617000}',r={},s=e("p",null,[e("br"),t("This work is licensed under a "),e("a",{rel:"license",href:"http://creativecommons.org/licenses/by-nc-sa/4.0/"},"Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License"),t(".")],-1),i=[s];function c(l,d,h,m,p,_){return n(),a("div",null,i)}var f=o(r,[["render",c]]);export{v as __pageData,f as default}; diff --git a/assets/en_US_developer_index.md.91f46408.lean.js b/assets/en_US_developer_index.md.9d8fad63.lean.js similarity index 92% rename from assets/en_US_developer_index.md.91f46408.lean.js rename to assets/en_US_developer_index.md.9d8fad63.lean.js index 92a6e429..e257cb96 100644 --- a/assets/en_US_developer_index.md.91f46408.lean.js +++ b/assets/en_US_developer_index.md.9d8fad63.lean.js @@ -1 +1 @@ -import{_ as o,c as a,o as n,b as e,d as t}from"./app.3817bf4e.js";const v='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://raw.githubusercontent.com/naiba/nezha/master/resource/static/brand.svg","heroText":"Development Manual","tagline":"Welcome to the Nezha Monitoring Development Manual.","actionText":"Start Now \u2192","actionLink":"/en_US/developer/theme","footer":"Copyright \xA9 2022-present Nezhahq"},"headers":[],"relativePath":"en_US/developer/index.md","lastUpdated":1681026579000}',r={},s=e("p",null,[e("br"),t("This work is licensed under a "),e("a",{rel:"license",href:"http://creativecommons.org/licenses/by-nc-sa/4.0/"},"Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License"),t(".")],-1),i=[s];function c(l,d,h,m,p,_){return n(),a("div",null,i)}var f=o(r,[["render",c]]);export{v as __pageData,f as default}; +import{_ as o,c as a,o as n,b as e,d as t}from"./app.3817bf4e.js";const v='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://raw.githubusercontent.com/naiba/nezha/master/resource/static/brand.svg","heroText":"Development Manual","tagline":"Welcome to the Nezha Monitoring Development Manual.","actionText":"Start Now \u2192","actionLink":"/en_US/developer/theme","footer":"Copyright \xA9 2022-present Nezhahq"},"headers":[],"relativePath":"en_US/developer/index.md","lastUpdated":1682076617000}',r={},s=e("p",null,[e("br"),t("This work is licensed under a "),e("a",{rel:"license",href:"http://creativecommons.org/licenses/by-nc-sa/4.0/"},"Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License"),t(".")],-1),i=[s];function c(l,d,h,m,p,_){return n(),a("div",null,i)}var f=o(r,[["render",c]]);export{v as __pageData,f as default}; diff --git a/assets/en_US_developer_l10n.md.5a4d34af.js b/assets/en_US_developer_l10n.md.6cb3d58b.js similarity index 96% rename from assets/en_US_developer_l10n.md.5a4d34af.js rename to assets/en_US_developer_l10n.md.6cb3d58b.js index 613f648b..3a1901d7 100644 --- a/assets/en_US_developer_l10n.md.5a4d34af.js +++ b/assets/en_US_developer_l10n.md.6cb3d58b.js @@ -1 +1 @@ -import{_ as e,c as t,o as n,a}from"./app.3817bf4e.js";const _='{"title":"Introduction","description":"","frontmatter":{},"headers":[{"level":2,"title":"Introduction","slug":"introduction"},{"level":2,"title":"Adding a new localized text file","slug":"adding-a-new-localized-text-file"}],"relativePath":"en_US/developer/l10n.md","lastUpdated":1681026579000}',o={},i=a('

Nezha Monitoring's Dashboard has added localization to support multiple languages, and you can follow these steps to support localization when developing new features

Introduction

  1. You can directly use the text configuration already available in /resource/l10n/en-US.toml to replace the text in the new feature.
  2. If there is new text in the new feature, please refer to the configuration text in en-US.toml, pull the new text into the configuration files of other languages such as en-US.toml, and add translations.

Adding a new localized text file

  1. Add a new language text configuration in /resource/l10n/.
  2. Pull existing text configurations from other languages in the new language text configuration.
  3. Add translations for the new language text configuration.
',5),l=[i];function d(r,c,s,u,h,g){return n(),t("div",null,l)}var p=e(o,[["render",d]]);export{_ as __pageData,p as default}; +import{_ as e,c as t,o as n,a}from"./app.3817bf4e.js";const _='{"title":"Introduction","description":"","frontmatter":{},"headers":[{"level":2,"title":"Introduction","slug":"introduction"},{"level":2,"title":"Adding a new localized text file","slug":"adding-a-new-localized-text-file"}],"relativePath":"en_US/developer/l10n.md","lastUpdated":1682076617000}',o={},i=a('

Nezha Monitoring's Dashboard has added localization to support multiple languages, and you can follow these steps to support localization when developing new features

Introduction

  1. You can directly use the text configuration already available in /resource/l10n/en-US.toml to replace the text in the new feature.
  2. If there is new text in the new feature, please refer to the configuration text in en-US.toml, pull the new text into the configuration files of other languages such as en-US.toml, and add translations.

Adding a new localized text file

  1. Add a new language text configuration in /resource/l10n/.
  2. Pull existing text configurations from other languages in the new language text configuration.
  3. Add translations for the new language text configuration.
',5),l=[i];function d(r,c,s,u,h,g){return n(),t("div",null,l)}var p=e(o,[["render",d]]);export{_ as __pageData,p as default}; diff --git a/assets/en_US_developer_l10n.md.5a4d34af.lean.js b/assets/en_US_developer_l10n.md.6cb3d58b.lean.js similarity index 87% rename from assets/en_US_developer_l10n.md.5a4d34af.lean.js rename to assets/en_US_developer_l10n.md.6cb3d58b.lean.js index cc49ce1e..3a230982 100644 --- a/assets/en_US_developer_l10n.md.5a4d34af.lean.js +++ b/assets/en_US_developer_l10n.md.6cb3d58b.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o as n,a}from"./app.3817bf4e.js";const _='{"title":"Introduction","description":"","frontmatter":{},"headers":[{"level":2,"title":"Introduction","slug":"introduction"},{"level":2,"title":"Adding a new localized text file","slug":"adding-a-new-localized-text-file"}],"relativePath":"en_US/developer/l10n.md","lastUpdated":1681026579000}',o={},i=a("",5),l=[i];function d(r,c,s,u,h,g){return n(),t("div",null,l)}var p=e(o,[["render",d]]);export{_ as __pageData,p as default}; +import{_ as e,c as t,o as n,a}from"./app.3817bf4e.js";const _='{"title":"Introduction","description":"","frontmatter":{},"headers":[{"level":2,"title":"Introduction","slug":"introduction"},{"level":2,"title":"Adding a new localized text file","slug":"adding-a-new-localized-text-file"}],"relativePath":"en_US/developer/l10n.md","lastUpdated":1682076617000}',o={},i=a("",5),l=[i];function d(r,c,s,u,h,g){return n(),t("div",null,l)}var p=e(o,[["render",d]]);export{_ as __pageData,p as default}; diff --git a/assets/en_US_developer_theme.md.dbff9c27.js b/assets/en_US_developer_theme.md.33df1832.js similarity index 96% rename from assets/en_US_developer_theme.md.dbff9c27.js rename to assets/en_US_developer_theme.md.33df1832.js index cc819074..cc2f3a44 100644 --- a/assets/en_US_developer_theme.md.dbff9c27.js +++ b/assets/en_US_developer_theme.md.33df1832.js @@ -1 +1 @@ -import{_ as e,c as o,o as t,a as n}from"./app.3817bf4e.js";const v='{"title":"Nezha Theme Development Environment","description":"","frontmatter":{},"headers":[{"level":2,"title":"Nezha Theme Development Environment","slug":"nezha-theme-development-environment"},{"level":2,"title":"How to use","slug":"how-to-use"},{"level":2,"title":"FAQ","slug":"faq"}],"relativePath":"en_US/developer/theme.md","lastUpdated":1681026579000}',a={},i=n('

Nezha Theme Development Environment

Nezha Monitoring provides a theme development environment that you can use to create new Nezha Monitoring themes

WARNING

Please note: This development environment only supports dashboard v0.13.16 and newer versions.

How to use

  1. Clone this repository to local
  2. Modify the Oauth2 configuration in data/config.yaml\uFF08The callback connection can be filled with http://localhost\uFF09
  3. Run docker-compose up
  4. Start development
  5. Once the theme has been created, you can place theme-custom in /opt/nezha/dashboard/theme-custom on the server

FAQ

',7),c=[i];function l(r,h,d,s,m,p){return t(),o("div",null,c)}var _=e(a,[["render",l]]);export{v as __pageData,_ as default}; +import{_ as e,c as o,o as t,a as n}from"./app.3817bf4e.js";const v='{"title":"Nezha Theme Development Environment","description":"","frontmatter":{},"headers":[{"level":2,"title":"Nezha Theme Development Environment","slug":"nezha-theme-development-environment"},{"level":2,"title":"How to use","slug":"how-to-use"},{"level":2,"title":"FAQ","slug":"faq"}],"relativePath":"en_US/developer/theme.md","lastUpdated":1682076617000}',a={},i=n('

Nezha Theme Development Environment

Nezha Monitoring provides a theme development environment that you can use to create new Nezha Monitoring themes

WARNING

Please note: This development environment only supports dashboard v0.13.16 and newer versions.

How to use

  1. Clone this repository to local
  2. Modify the Oauth2 configuration in data/config.yaml\uFF08The callback connection can be filled with http://localhost\uFF09
  3. Run docker-compose up
  4. Start development
  5. Once the theme has been created, you can place theme-custom in /opt/nezha/dashboard/theme-custom on the server

FAQ

',7),c=[i];function l(r,h,d,s,m,p){return t(),o("div",null,c)}var _=e(a,[["render",l]]);export{v as __pageData,_ as default}; diff --git a/assets/en_US_developer_theme.md.dbff9c27.lean.js b/assets/en_US_developer_theme.md.33df1832.lean.js similarity index 88% rename from assets/en_US_developer_theme.md.dbff9c27.lean.js rename to assets/en_US_developer_theme.md.33df1832.lean.js index 520a27ee..7a4fd55c 100644 --- a/assets/en_US_developer_theme.md.dbff9c27.lean.js +++ b/assets/en_US_developer_theme.md.33df1832.lean.js @@ -1 +1 @@ -import{_ as e,c as o,o as t,a as n}from"./app.3817bf4e.js";const v='{"title":"Nezha Theme Development Environment","description":"","frontmatter":{},"headers":[{"level":2,"title":"Nezha Theme Development Environment","slug":"nezha-theme-development-environment"},{"level":2,"title":"How to use","slug":"how-to-use"},{"level":2,"title":"FAQ","slug":"faq"}],"relativePath":"en_US/developer/theme.md","lastUpdated":1681026579000}',a={},i=n("",7),c=[i];function l(r,h,d,s,m,p){return t(),o("div",null,c)}var _=e(a,[["render",l]]);export{v as __pageData,_ as default}; +import{_ as e,c as o,o as t,a as n}from"./app.3817bf4e.js";const v='{"title":"Nezha Theme Development Environment","description":"","frontmatter":{},"headers":[{"level":2,"title":"Nezha Theme Development Environment","slug":"nezha-theme-development-environment"},{"level":2,"title":"How to use","slug":"how-to-use"},{"level":2,"title":"FAQ","slug":"faq"}],"relativePath":"en_US/developer/theme.md","lastUpdated":1682076617000}',a={},i=n("",7),c=[i];function l(r,h,d,s,m,p){return t(),o("div",null,c)}var _=e(a,[["render",l]]);export{v as __pageData,_ as default}; diff --git a/assets/en_US_guide_agent.md.d3112ce4.js b/assets/en_US_guide_agent.md.58fef874.js similarity index 99% rename from assets/en_US_guide_agent.md.d3112ce4.js rename to assets/en_US_guide_agent.md.58fef874.js index a72ba500..f1939b1e 100644 --- a/assets/en_US_guide_agent.md.d3112ce4.js +++ b/assets/en_US_guide_agent.md.58fef874.js @@ -1,4 +1,4 @@ -import{_ as n,c as a,o as t,a as s}from"./app.3817bf4e.js";const k='{"title":"Install Agent using one-click script","description":"","frontmatter":{},"headers":[{"level":2,"title":"Install Agent using one-click script","slug":"install-agent-using-one-click-script"},{"level":3,"title":"Preparation","slug":"preparation"},{"level":3,"title":"One-click installation on Linux (Ubuntu, Debian, CentOS)","slug":"one-click-installation-on-linux-ubuntu-debian-centos"},{"level":3,"title":"One-click installation on Windows","slug":"one-click-installation-on-windows"},{"level":2,"title":"Other ways to install Agent","slug":"other-ways-to-install-agent"},{"level":3,"title":"Installing Agent on Linux (Ubuntu, Debian, CentOS)","slug":"installing-agent-on-linux-ubuntu-debian-centos"},{"level":3,"title":"Installing Agent on other Linux (such as alpine use oprec not systemd)","slug":"installing-agent-on-other-linux-such-as-alpine-use-oprec-not-systemd"},{"level":3,"title":"Installing Agent on Windows","slug":"installing-agent-on-windows"},{"level":3,"title":"Installing Agent on Synology DSM","slug":"installing-agent-on-synology-dsm"},{"level":3,"title":"Installing Agent on MacOS","slug":"installing-agent-on-macos"},{"level":3,"title":"Installing Agent on OpenWRT","slug":"installing-agent-on-openwrt"},{"level":2,"title":"FAQ","slug":"faq"},{"level":3,"title":"Is there a Docker image for Agent?","slug":"is-there-a-docker-image-for-agent"}],"relativePath":"en_US/guide/agent.md","lastUpdated":1681026579000}',e={},o=s(`

The service in the monitored server is called Agent. This document will describe how to install the Agent on the monitored server and connect it with Dashboard

Install Agent using one-click script

Nezha Monitoring now supports one-click installation of the Agent on Windows and Linux. Follow the steps in this document and you can easily deploy it on your server

Preparation

First of all, you need to set up the communication domain name in the settings page of the admin panel, this domain name can not connect to the CDN, here is the sample communication domain name "data.example.com" mentioned earlier for demonstration
Enter the administration panel, go to the "Settings" page, in the item "CDN Bypassed Domain/IP ", fill in the communication domain name, and then click "Save"

One-click installation on Linux (Ubuntu, Debian, CentOS)

One-click installation on Windows

Other ways to install Agent


Installing Agent on Linux (Ubuntu, Debian, CentOS)

curl -L https://raw.githubusercontent.com/naiba/nezha/master/script/install_en.sh  -o nezha.sh && chmod +x nezha.sh && sudo ./nezha.sh   
+import{_ as n,c as a,o as t,a as s}from"./app.3817bf4e.js";const k='{"title":"Install Agent using one-click script","description":"","frontmatter":{},"headers":[{"level":2,"title":"Install Agent using one-click script","slug":"install-agent-using-one-click-script"},{"level":3,"title":"Preparation","slug":"preparation"},{"level":3,"title":"One-click installation on Linux (Ubuntu, Debian, CentOS)","slug":"one-click-installation-on-linux-ubuntu-debian-centos"},{"level":3,"title":"One-click installation on Windows","slug":"one-click-installation-on-windows"},{"level":2,"title":"Other ways to install Agent","slug":"other-ways-to-install-agent"},{"level":3,"title":"Installing Agent on Linux (Ubuntu, Debian, CentOS)","slug":"installing-agent-on-linux-ubuntu-debian-centos"},{"level":3,"title":"Installing Agent on other Linux (such as alpine use oprec not systemd)","slug":"installing-agent-on-other-linux-such-as-alpine-use-oprec-not-systemd"},{"level":3,"title":"Installing Agent on Windows","slug":"installing-agent-on-windows"},{"level":3,"title":"Installing Agent on Synology DSM","slug":"installing-agent-on-synology-dsm"},{"level":3,"title":"Installing Agent on MacOS","slug":"installing-agent-on-macos"},{"level":3,"title":"Installing Agent on OpenWRT","slug":"installing-agent-on-openwrt"},{"level":2,"title":"FAQ","slug":"faq"},{"level":3,"title":"Is there a Docker image for Agent?","slug":"is-there-a-docker-image-for-agent"}],"relativePath":"en_US/guide/agent.md","lastUpdated":1682076617000}',e={},o=s(`

The service in the monitored server is called Agent. This document will describe how to install the Agent on the monitored server and connect it with Dashboard

Install Agent using one-click script

Nezha Monitoring now supports one-click installation of the Agent on Windows and Linux. Follow the steps in this document and you can easily deploy it on your server

Preparation

First of all, you need to set up the communication domain name in the settings page of the admin panel, this domain name can not connect to the CDN, here is the sample communication domain name "data.example.com" mentioned earlier for demonstration
Enter the administration panel, go to the "Settings" page, in the item "CDN Bypassed Domain/IP ", fill in the communication domain name, and then click "Save"

One-click installation on Linux (Ubuntu, Debian, CentOS)

  • First add a server in the admin panel
  • Click on the green Linux icon button next to the newly added server and copy the one-click installation command
  • Run the copied one-click installation command on the monitored server, wait for the installation to complete, and then return to the Dashboard home page to see if the server is online.

One-click installation on Windows

  • First add a server in the admin panel
  • Click on the green Linux icon button next to the newly added server and copy the one-click installation command
  • Login to Windows Server, open PowerShell, and run the copied installation command in PowerShell
  • If you encounter the prompt "Implement Policy Change" please select Y
  • Wait for the installation to complete and return to the Dashboard home page to see if the server is online



Other ways to install Agent


Installing Agent on Linux (Ubuntu, Debian, CentOS)

  • First add a server in the admin panel
  • In the monitored server, run the script:
curl -L https://raw.githubusercontent.com/naiba/nezha/master/script/install_en.sh  -o nezha.sh && chmod +x nezha.sh && sudo ./nezha.sh   
 
  • Select \u201CInstall_agent\u201D

  • Input the communication domain name, e.g. "data.example.com"

  • Input RPC port, default is 5555

  • Input the Agent Secret, which is generated when adding a server in the administration panel and can be found in the " Servers " page of the administration panel

  • Wait for the installation to complete and return to the Dashboard home page to see if the server is online

Installing Agent on other Linux (such as alpine use oprec not systemd)

Contributed by unknown0054

  • Edit SERVER,SECRET,TLS then run it in Shell
cat >/etc/init.d/nezha-agent<< EOF
 #!/sbin/openrc-run
 SERVER="" #Dashboard address ip:port
diff --git a/assets/en_US_guide_agent.md.d3112ce4.lean.js b/assets/en_US_guide_agent.md.58fef874.lean.js
similarity index 96%
rename from assets/en_US_guide_agent.md.d3112ce4.lean.js
rename to assets/en_US_guide_agent.md.58fef874.lean.js
index fc79ea1d..947b35df 100644
--- a/assets/en_US_guide_agent.md.d3112ce4.lean.js
+++ b/assets/en_US_guide_agent.md.58fef874.lean.js
@@ -1 +1 @@
-import{_ as n,c as a,o as t,a as s}from"./app.3817bf4e.js";const k='{"title":"Install Agent using one-click script","description":"","frontmatter":{},"headers":[{"level":2,"title":"Install Agent using one-click script","slug":"install-agent-using-one-click-script"},{"level":3,"title":"Preparation","slug":"preparation"},{"level":3,"title":"One-click installation on Linux (Ubuntu, Debian, CentOS)","slug":"one-click-installation-on-linux-ubuntu-debian-centos"},{"level":3,"title":"One-click installation on Windows","slug":"one-click-installation-on-windows"},{"level":2,"title":"Other ways to install Agent","slug":"other-ways-to-install-agent"},{"level":3,"title":"Installing Agent on Linux (Ubuntu, Debian, CentOS)","slug":"installing-agent-on-linux-ubuntu-debian-centos"},{"level":3,"title":"Installing Agent on other Linux (such as alpine use oprec not systemd)","slug":"installing-agent-on-other-linux-such-as-alpine-use-oprec-not-systemd"},{"level":3,"title":"Installing Agent on Windows","slug":"installing-agent-on-windows"},{"level":3,"title":"Installing Agent on Synology DSM","slug":"installing-agent-on-synology-dsm"},{"level":3,"title":"Installing Agent on MacOS","slug":"installing-agent-on-macos"},{"level":3,"title":"Installing Agent on OpenWRT","slug":"installing-agent-on-openwrt"},{"level":2,"title":"FAQ","slug":"faq"},{"level":3,"title":"Is there a Docker image for Agent?","slug":"is-there-a-docker-image-for-agent"}],"relativePath":"en_US/guide/agent.md","lastUpdated":1681026579000}',e={},o=s("",52),p=[o];function l(i,c,r,u,g,h){return t(),a("div",null,p)}var m=n(e,[["render",l]]);export{k as __pageData,m as default};
+import{_ as n,c as a,o as t,a as s}from"./app.3817bf4e.js";const k='{"title":"Install Agent using one-click script","description":"","frontmatter":{},"headers":[{"level":2,"title":"Install Agent using one-click script","slug":"install-agent-using-one-click-script"},{"level":3,"title":"Preparation","slug":"preparation"},{"level":3,"title":"One-click installation on Linux (Ubuntu, Debian, CentOS)","slug":"one-click-installation-on-linux-ubuntu-debian-centos"},{"level":3,"title":"One-click installation on Windows","slug":"one-click-installation-on-windows"},{"level":2,"title":"Other ways to install Agent","slug":"other-ways-to-install-agent"},{"level":3,"title":"Installing Agent on Linux (Ubuntu, Debian, CentOS)","slug":"installing-agent-on-linux-ubuntu-debian-centos"},{"level":3,"title":"Installing Agent on other Linux (such as alpine use oprec not systemd)","slug":"installing-agent-on-other-linux-such-as-alpine-use-oprec-not-systemd"},{"level":3,"title":"Installing Agent on Windows","slug":"installing-agent-on-windows"},{"level":3,"title":"Installing Agent on Synology DSM","slug":"installing-agent-on-synology-dsm"},{"level":3,"title":"Installing Agent on MacOS","slug":"installing-agent-on-macos"},{"level":3,"title":"Installing Agent on OpenWRT","slug":"installing-agent-on-openwrt"},{"level":2,"title":"FAQ","slug":"faq"},{"level":3,"title":"Is there a Docker image for Agent?","slug":"is-there-a-docker-image-for-agent"}],"relativePath":"en_US/guide/agent.md","lastUpdated":1682076617000}',e={},o=s("",52),p=[o];function l(i,c,r,u,g,h){return t(),a("div",null,p)}var m=n(e,[["render",l]]);export{k as __pageData,m as default};
diff --git a/assets/en_US_guide_agentq.md.5cb72347.js b/assets/en_US_guide_agentq.md.6fd0ad3a.js
similarity index 97%
rename from assets/en_US_guide_agentq.md.5cb72347.js
rename to assets/en_US_guide_agentq.md.6fd0ad3a.js
index 0a6776d1..bb7d1b47 100644
--- a/assets/en_US_guide_agentq.md.5cb72347.js
+++ b/assets/en_US_guide_agentq.md.6fd0ad3a.js
@@ -1 +1 @@
-import{_ as e,c as t,o as a,a as n}from"./app.3817bf4e.js";const f='{"title":"Why the IP displayed in the admin panel and the actual IP of the Agent are not the same?","description":"","frontmatter":{},"headers":[{"level":2,"title":"Why the IP displayed in the admin panel and the actual IP of the Agent are not the same?","slug":"why-the-ip-displayed-in-the-admin-panel-and-the-actual-ip-of-the-agent-are-not-the-same"},{"level":2,"title":"Error on one-click script installation","slug":"error-on-one-click-script-installation"},{"level":3,"title":"curl: Failed to connect to raw.githubusercontent.com...","slug":"curl-failed-to-connect-to-raw-githubusercontent-com"},{"level":3,"title":"sudo: command not found","slug":"sudo-command-not-found"}],"relativePath":"en_US/guide/agentq.md","lastUpdated":1681026579000}',o={},i=n('

Why the IP displayed in the admin panel and the actual IP of the Agent are not the same?

Please check Dashboard - Why the IP displayed in the admin panel and the actual IP of the Agent are not the same?

Error on one-click script installation

curl: Failed to connect to raw.githubusercontent.com...

Please check if your server can connect to Github, try again, or check Other ways to install Agent

sudo: command not found

Please install sudo first

',7),r=[i];function h(d,l,c,s,u,p){return a(),t("div",null,r)}var _=e(o,[["render",h]]);export{f as __pageData,_ as default}; +import{_ as e,c as t,o as a,a as n}from"./app.3817bf4e.js";const f='{"title":"Why the IP displayed in the admin panel and the actual IP of the Agent are not the same?","description":"","frontmatter":{},"headers":[{"level":2,"title":"Why the IP displayed in the admin panel and the actual IP of the Agent are not the same?","slug":"why-the-ip-displayed-in-the-admin-panel-and-the-actual-ip-of-the-agent-are-not-the-same"},{"level":2,"title":"Error on one-click script installation","slug":"error-on-one-click-script-installation"},{"level":3,"title":"curl: Failed to connect to raw.githubusercontent.com...","slug":"curl-failed-to-connect-to-raw-githubusercontent-com"},{"level":3,"title":"sudo: command not found","slug":"sudo-command-not-found"}],"relativePath":"en_US/guide/agentq.md","lastUpdated":1682076617000}',o={},i=n('

Why the IP displayed in the admin panel and the actual IP of the Agent are not the same?

Please check Dashboard - Why the IP displayed in the admin panel and the actual IP of the Agent are not the same?

Error on one-click script installation

curl: Failed to connect to raw.githubusercontent.com...

Please check if your server can connect to Github, try again, or check Other ways to install Agent

sudo: command not found

Please install sudo first

',7),r=[i];function h(d,l,c,s,u,p){return a(),t("div",null,r)}var _=e(o,[["render",h]]);export{f as __pageData,_ as default}; diff --git a/assets/en_US_guide_agentq.md.5cb72347.lean.js b/assets/en_US_guide_agentq.md.6fd0ad3a.lean.js similarity index 93% rename from assets/en_US_guide_agentq.md.5cb72347.lean.js rename to assets/en_US_guide_agentq.md.6fd0ad3a.lean.js index 57209df3..281bda32 100644 --- a/assets/en_US_guide_agentq.md.5cb72347.lean.js +++ b/assets/en_US_guide_agentq.md.6fd0ad3a.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o as a,a as n}from"./app.3817bf4e.js";const f='{"title":"Why the IP displayed in the admin panel and the actual IP of the Agent are not the same?","description":"","frontmatter":{},"headers":[{"level":2,"title":"Why the IP displayed in the admin panel and the actual IP of the Agent are not the same?","slug":"why-the-ip-displayed-in-the-admin-panel-and-the-actual-ip-of-the-agent-are-not-the-same"},{"level":2,"title":"Error on one-click script installation","slug":"error-on-one-click-script-installation"},{"level":3,"title":"curl: Failed to connect to raw.githubusercontent.com...","slug":"curl-failed-to-connect-to-raw-githubusercontent-com"},{"level":3,"title":"sudo: command not found","slug":"sudo-command-not-found"}],"relativePath":"en_US/guide/agentq.md","lastUpdated":1681026579000}',o={},i=n("",7),r=[i];function h(d,l,c,s,u,p){return a(),t("div",null,r)}var _=e(o,[["render",h]]);export{f as __pageData,_ as default}; +import{_ as e,c as t,o as a,a as n}from"./app.3817bf4e.js";const f='{"title":"Why the IP displayed in the admin panel and the actual IP of the Agent are not the same?","description":"","frontmatter":{},"headers":[{"level":2,"title":"Why the IP displayed in the admin panel and the actual IP of the Agent are not the same?","slug":"why-the-ip-displayed-in-the-admin-panel-and-the-actual-ip-of-the-agent-are-not-the-same"},{"level":2,"title":"Error on one-click script installation","slug":"error-on-one-click-script-installation"},{"level":3,"title":"curl: Failed to connect to raw.githubusercontent.com...","slug":"curl-failed-to-connect-to-raw-githubusercontent-com"},{"level":3,"title":"sudo: command not found","slug":"sudo-command-not-found"}],"relativePath":"en_US/guide/agentq.md","lastUpdated":1682076617000}',o={},i=n("",7),r=[i];function h(d,l,c,s,u,p){return a(),t("div",null,r)}var _=e(o,[["render",h]]);export{f as __pageData,_ as default}; diff --git a/assets/en_US_guide_api.md.5d9f6408.js b/assets/en_US_guide_api.md.1a609500.js similarity index 99% rename from assets/en_US_guide_api.md.5d9f6408.js rename to assets/en_US_guide_api.md.1a609500.js index 18612ca2..ca4dae1b 100644 --- a/assets/en_US_guide_api.md.5d9f6408.js +++ b/assets/en_US_guide_api.md.1a609500.js @@ -1,4 +1,4 @@ -import{_ as t,c as o,o as e,a as u}from"./app.3817bf4e.js";const v='{"title":"Create Token","description":"","frontmatter":{},"headers":[{"level":2,"title":"Create Token","slug":"create-token"},{"level":2,"title":"Authentication method","slug":"authentication-method"},{"level":2,"title":"How to use","slug":"how-to-use"}],"relativePath":"en_US/guide/api.md","lastUpdated":1681026579000}',n={},q=u(`

Nezha Monitoring now supports querying the status information of the Agent in the Dashboard using the API

Create Token

API allows Token authentication method and Cookies authentication method
To create a new Token, after entering the admin panel, click on the avatar in the upper right corner and select "API Token" to enter the Token management page
Click "Add Token" and after customizing the notes, click "Add"
To delete a Token, please select the corresponding Token and click the delete icon on the right

WARNING

Token is the authentication tool of API, it is very important for your Dashboard's information security, please don't leak your Token to others

Authentication method

Token authentication method:

Request Headers:  
+import{_ as t,c as o,o as e,a as u}from"./app.3817bf4e.js";const v='{"title":"Create Token","description":"","frontmatter":{},"headers":[{"level":2,"title":"Create Token","slug":"create-token"},{"level":2,"title":"Authentication method","slug":"authentication-method"},{"level":2,"title":"How to use","slug":"how-to-use"}],"relativePath":"en_US/guide/api.md","lastUpdated":1682076617000}',n={},q=u(`

Nezha Monitoring now supports querying the status information of the Agent in the Dashboard using the API

Create Token

API allows Token authentication method and Cookies authentication method
To create a new Token, after entering the admin panel, click on the avatar in the upper right corner and select "API Token" to enter the Token management page
Click "Add Token" and after customizing the notes, click "Add"
To delete a Token, please select the corresponding Token and click the delete icon on the right

WARNING

Token is the authentication tool of API, it is very important for your Dashboard's information security, please don't leak your Token to others

Authentication method

Token authentication method:

Request Headers:  
 Authorization: Token
 

How to use

WARNING

The negative timestamp in the example below is (0000-00-00)
It is currently used to indicate that the Agent has never reported since the Dashboard went live
However, it is not recommended to use positivity or negativity to determine the status

TIP

The request method is Get and the return format is JSON.

  • Get a list of servers: GET /api/v1/server/list?tag=
    query: tag (ServerTag means the group of servers, if this value is provided, only the servers in this group are queried)

JSON Return Example:

{
     "code": 0,
diff --git a/assets/en_US_guide_api.md.5d9f6408.lean.js b/assets/en_US_guide_api.md.1a609500.lean.js
similarity index 87%
rename from assets/en_US_guide_api.md.5d9f6408.lean.js
rename to assets/en_US_guide_api.md.1a609500.lean.js
index c236c7d5..cee0ece5 100644
--- a/assets/en_US_guide_api.md.5d9f6408.lean.js
+++ b/assets/en_US_guide_api.md.1a609500.lean.js
@@ -1 +1 @@
-import{_ as t,c as o,o as e,a as u}from"./app.3817bf4e.js";const v='{"title":"Create Token","description":"","frontmatter":{},"headers":[{"level":2,"title":"Create Token","slug":"create-token"},{"level":2,"title":"Authentication method","slug":"authentication-method"},{"level":2,"title":"How to use","slug":"how-to-use"}],"relativePath":"en_US/guide/api.md","lastUpdated":1681026579000}',n={},q=u("",16),a=[q];function i(r,s,d,l,c,p){return e(),o("div",null,a)}var m=t(n,[["render",i]]);export{v as __pageData,m as default};
+import{_ as t,c as o,o as e,a as u}from"./app.3817bf4e.js";const v='{"title":"Create Token","description":"","frontmatter":{},"headers":[{"level":2,"title":"Create Token","slug":"create-token"},{"level":2,"title":"Authentication method","slug":"authentication-method"},{"level":2,"title":"How to use","slug":"how-to-use"}],"relativePath":"en_US/guide/api.md","lastUpdated":1682076617000}',n={},q=u("",16),a=[q];function i(r,s,d,l,c,p){return e(),o("div",null,a)}var m=t(n,[["render",i]]);export{v as __pageData,m as default};
diff --git a/assets/en_US_guide_dashboard.md.4ad196f0.js b/assets/en_US_guide_dashboard.md.e3929380.js
similarity index 99%
rename from assets/en_US_guide_dashboard.md.4ad196f0.js
rename to assets/en_US_guide_dashboard.md.e3929380.js
index 7e1cfff2..b550ca34 100644
--- a/assets/en_US_guide_dashboard.md.4ad196f0.js
+++ b/assets/en_US_guide_dashboard.md.e3929380.js
@@ -1,4 +1,4 @@
-import{_ as e,c as a,o as t,a as o}from"./app.3817bf4e.js";const m='{"title":"Preparations","description":"","frontmatter":{},"headers":[{"level":2,"title":"Preparations","slug":"preparations"},{"level":2,"title":"Get the Client ID and Client Secret on Github/Gitlab","slug":"get-the-client-id-and-client-secret-on-github-gitlab"},{"level":2,"title":"Installing Dashboard on the server","slug":"installing-dashboard-on-the-server"},{"level":2,"title":"Configure reverse proxy","slug":"configure-reverse-proxy"},{"level":2,"title":"Configuring SSL in the aaPanel","slug":"configuring-ssl-in-the-aapanel"},{"level":2,"title":"FAQ","slug":"faq"},{"level":3,"title":"What should I do if /terminal or /ws cannot be connected after HTTPS is enabled?","slug":"what-should-i-do-if-terminal-or-ws-cannot-be-connected-after-https-is-enabled"},{"level":3,"title":"I am not satisfied with the data modification or addition function provided by the Dashboard, what if I want to modify or add data myself?","slug":"i-am-not-satisfied-with-the-data-modification-or-addition-function-provided-by-the-dashboard-what-if-i-want-to-modify-or-add-data-myself"},{"level":3,"title":"What are each table or column in the database?","slug":"what-are-each-table-or-column-in-the-database"},{"level":3,"title":"Does Dashboard update automatically?","slug":"does-dashboard-update-automatically"},{"level":3,"title":"How do I update the Dashboard?","slug":"how-do-i-update-the-dashboard"}],"relativePath":"en_US/guide/dashboard.md","lastUpdated":1681026579000}',n={},s=o(`

Preparations

To setup a Nezha monitorning Dashboard, you need these things:

  1. A VPS that can connect to the Internet, firewall and security policies need to open ports 8008 and 5555, otherwise it will be inaccessible and unable to receive data. A 1 core 512MB RAM server is sufficient for most usage scenarios
  2. A domain name that has been set up with an A record that resolves to the Dashboard server IP

TIP

If you want to use CDN, please prepare two domains, one connect to CDN for public access, CDN needs to support WebSocket protocol; the other domain should not connect to CDN, use it as Agent to send data to Dashboard.
This document uses "cdn.example.com" and "data.example.com" domains to demonstrate respectively

  1. A Github or Gitlab account

This document will use the aaPanel as an example, with future versions of the changes, some of the features may change, this document is for reference only

WARNING

This project does not rely on aaPanel, you can choose to use any server panel you like, and if you are capable enough, you can manually install NginX or Caddy to configure SSL and reverse proxy.
If you don't think it's necessary to use port 80 or 443 to access Dashboard, you don't even need to install NginX and you can just use the install script.



Get the Client ID and Client Secret on Github/Gitlab

Nezha Monitor uses a Github account as the login account for the admin panel

  • First we need to create a new authentication application, after logging into Github, open https://github.com/settings/developers and select "OAuth Apps" - "New OAuth App "
    Application name - Fill in as you like
    Homepage URL - Fill in the panel's access domain name, such as: "http://cdn.example.com"
    Authorization callback URL - Fill in the callback address, e.g., "http://cdn.example.com/oauth2/callback"
  • Click on "Registration Application"
  • Remember the Client ID in the page, then click "Generate a new client secret" to create a new Client Secret, the new secret will be displayed only once, please save it properly

  • If you're using Gitlab, you'll need to go to https://gitlab.com/-/profile/applications to create a new application
  • Fill in Redirect URL with the callback address
  • In Scopes, select read_user and read_api
  • Once created, save the Application ID and Secret

Installing Dashboard on the server

  • In the panel server, run the installation script:
curl -L https://raw.githubusercontent.com/naiba/nezha/master/script/install_en.sh  -o nezha.sh && chmod +x nezha.sh && sudo ./nezha.sh
+import{_ as e,c as a,o as t,a as o}from"./app.3817bf4e.js";const m='{"title":"Preparations","description":"","frontmatter":{},"headers":[{"level":2,"title":"Preparations","slug":"preparations"},{"level":2,"title":"Get the Client ID and Client Secret on Github/Gitlab","slug":"get-the-client-id-and-client-secret-on-github-gitlab"},{"level":2,"title":"Installing Dashboard on the server","slug":"installing-dashboard-on-the-server"},{"level":2,"title":"Configure reverse proxy","slug":"configure-reverse-proxy"},{"level":2,"title":"Configuring SSL in the aaPanel","slug":"configuring-ssl-in-the-aapanel"},{"level":2,"title":"FAQ","slug":"faq"},{"level":3,"title":"What should I do if /terminal or /ws cannot be connected after HTTPS is enabled?","slug":"what-should-i-do-if-terminal-or-ws-cannot-be-connected-after-https-is-enabled"},{"level":3,"title":"I am not satisfied with the data modification or addition function provided by the Dashboard, what if I want to modify or add data myself?","slug":"i-am-not-satisfied-with-the-data-modification-or-addition-function-provided-by-the-dashboard-what-if-i-want-to-modify-or-add-data-myself"},{"level":3,"title":"What are each table or column in the database?","slug":"what-are-each-table-or-column-in-the-database"},{"level":3,"title":"Does Dashboard update automatically?","slug":"does-dashboard-update-automatically"},{"level":3,"title":"How do I update the Dashboard?","slug":"how-do-i-update-the-dashboard"}],"relativePath":"en_US/guide/dashboard.md","lastUpdated":1682076617000}',n={},s=o(`

Preparations

To setup a Nezha monitorning Dashboard, you need these things:

  1. A VPS that can connect to the Internet, firewall and security policies need to open ports 8008 and 5555, otherwise it will be inaccessible and unable to receive data. A 1 core 512MB RAM server is sufficient for most usage scenarios
  2. A domain name that has been set up with an A record that resolves to the Dashboard server IP

TIP

If you want to use CDN, please prepare two domains, one connect to CDN for public access, CDN needs to support WebSocket protocol; the other domain should not connect to CDN, use it as Agent to send data to Dashboard.
This document uses "cdn.example.com" and "data.example.com" domains to demonstrate respectively

  1. A Github or Gitlab account

This document will use the aaPanel as an example, with future versions of the changes, some of the features may change, this document is for reference only

WARNING

This project does not rely on aaPanel, you can choose to use any server panel you like, and if you are capable enough, you can manually install NginX or Caddy to configure SSL and reverse proxy.
If you don't think it's necessary to use port 80 or 443 to access Dashboard, you don't even need to install NginX and you can just use the install script.



Get the Client ID and Client Secret on Github/Gitlab

Nezha Monitor uses a Github account as the login account for the admin panel

  • First we need to create a new authentication application, after logging into Github, open https://github.com/settings/developers and select "OAuth Apps" - "New OAuth App "
    Application name - Fill in as you like
    Homepage URL - Fill in the panel's access domain name, such as: "http://cdn.example.com"
    Authorization callback URL - Fill in the callback address, e.g., "http://cdn.example.com/oauth2/callback"
  • Click on "Registration Application"
  • Remember the Client ID in the page, then click "Generate a new client secret" to create a new Client Secret, the new secret will be displayed only once, please save it properly

  • If you're using Gitlab, you'll need to go to https://gitlab.com/-/profile/applications to create a new application
  • Fill in Redirect URL with the callback address
  • In Scopes, select read_user and read_api
  • Once created, save the Application ID and Secret

Installing Dashboard on the server

  • In the panel server, run the installation script:
curl -L https://raw.githubusercontent.com/naiba/nezha/master/script/install_en.sh  -o nezha.sh && chmod +x nezha.sh && sudo ./nezha.sh
 
  • After waiting for the Docker installation to complete, input the following settings:
    OAuth2 provider - Github or Gitlab
    Client ID - Previously saved Client ID
    Client Secret - Previously saved secret
    GitHub/Gitee login name - Github o Gitlab username
    Site title - Custom site title
    Site access port - Public access port, customizable, default 8008
    RPC port - The communication port between Agent and Dashboard, default 5555

  • After the input is complete, wait to pull the mirror
    After the installation, if everything is fine, you can visit the domain + port number, such as "http://cdn.example.com:8008" to view the Dashboard

  • In the future, if you need to run the script again, you can run:

./nezha.sh
 

to open the management script


Configure reverse proxy

  • Create a new site in the aaPanel, fill in the public access domain name, such as "http://cdn.example.com", then click "Settings" to enter the site settings option, select " Reverse proxy" - "New reverse proxy"

  • Customize a proxy name, fill in http://127.0.0.1 in the "Target URL" and click "Save"

  • Open the " configuration" to the right of the new reverse proxy you just created and replace the configuration file with the following:

#PROXY-START/
 location / {
diff --git a/assets/en_US_guide_dashboard.md.4ad196f0.lean.js b/assets/en_US_guide_dashboard.md.e3929380.lean.js
similarity index 96%
rename from assets/en_US_guide_dashboard.md.4ad196f0.lean.js
rename to assets/en_US_guide_dashboard.md.e3929380.lean.js
index d2c917bf..4c6cd1ee 100644
--- a/assets/en_US_guide_dashboard.md.4ad196f0.lean.js
+++ b/assets/en_US_guide_dashboard.md.e3929380.lean.js
@@ -1 +1 @@
-import{_ as e,c as a,o as t,a as o}from"./app.3817bf4e.js";const m='{"title":"Preparations","description":"","frontmatter":{},"headers":[{"level":2,"title":"Preparations","slug":"preparations"},{"level":2,"title":"Get the Client ID and Client Secret on Github/Gitlab","slug":"get-the-client-id-and-client-secret-on-github-gitlab"},{"level":2,"title":"Installing Dashboard on the server","slug":"installing-dashboard-on-the-server"},{"level":2,"title":"Configure reverse proxy","slug":"configure-reverse-proxy"},{"level":2,"title":"Configuring SSL in the aaPanel","slug":"configuring-ssl-in-the-aapanel"},{"level":2,"title":"FAQ","slug":"faq"},{"level":3,"title":"What should I do if /terminal or /ws cannot be connected after HTTPS is enabled?","slug":"what-should-i-do-if-terminal-or-ws-cannot-be-connected-after-https-is-enabled"},{"level":3,"title":"I am not satisfied with the data modification or addition function provided by the Dashboard, what if I want to modify or add data myself?","slug":"i-am-not-satisfied-with-the-data-modification-or-addition-function-provided-by-the-dashboard-what-if-i-want-to-modify-or-add-data-myself"},{"level":3,"title":"What are each table or column in the database?","slug":"what-are-each-table-or-column-in-the-database"},{"level":3,"title":"Does Dashboard update automatically?","slug":"does-dashboard-update-automatically"},{"level":3,"title":"How do I update the Dashboard?","slug":"how-do-i-update-the-dashboard"}],"relativePath":"en_US/guide/dashboard.md","lastUpdated":1681026579000}',n={},s=o("",41),i=[s];function r(l,d,c,p,h,u){return t(),a("div",null,i)}var f=e(n,[["render",r]]);export{m as __pageData,f as default};
+import{_ as e,c as a,o as t,a as o}from"./app.3817bf4e.js";const m='{"title":"Preparations","description":"","frontmatter":{},"headers":[{"level":2,"title":"Preparations","slug":"preparations"},{"level":2,"title":"Get the Client ID and Client Secret on Github/Gitlab","slug":"get-the-client-id-and-client-secret-on-github-gitlab"},{"level":2,"title":"Installing Dashboard on the server","slug":"installing-dashboard-on-the-server"},{"level":2,"title":"Configure reverse proxy","slug":"configure-reverse-proxy"},{"level":2,"title":"Configuring SSL in the aaPanel","slug":"configuring-ssl-in-the-aapanel"},{"level":2,"title":"FAQ","slug":"faq"},{"level":3,"title":"What should I do if /terminal or /ws cannot be connected after HTTPS is enabled?","slug":"what-should-i-do-if-terminal-or-ws-cannot-be-connected-after-https-is-enabled"},{"level":3,"title":"I am not satisfied with the data modification or addition function provided by the Dashboard, what if I want to modify or add data myself?","slug":"i-am-not-satisfied-with-the-data-modification-or-addition-function-provided-by-the-dashboard-what-if-i-want-to-modify-or-add-data-myself"},{"level":3,"title":"What are each table or column in the database?","slug":"what-are-each-table-or-column-in-the-database"},{"level":3,"title":"Does Dashboard update automatically?","slug":"does-dashboard-update-automatically"},{"level":3,"title":"How do I update the Dashboard?","slug":"how-do-i-update-the-dashboard"}],"relativePath":"en_US/guide/dashboard.md","lastUpdated":1682076617000}',n={},s=o("",41),i=[s];function r(l,d,c,p,h,u){return t(),a("div",null,i)}var f=e(n,[["render",r]]);export{m as __pageData,f as default};
diff --git a/assets/en_US_guide_dashboardq.md.ba23b9bd.js b/assets/en_US_guide_dashboardq.md.69fe58cd.js
similarity index 98%
rename from assets/en_US_guide_dashboardq.md.ba23b9bd.js
rename to assets/en_US_guide_dashboardq.md.69fe58cd.js
index 14b3256f..042d21fc 100644
--- a/assets/en_US_guide_dashboardq.md.ba23b9bd.js
+++ b/assets/en_US_guide_dashboardq.md.69fe58cd.js
@@ -1,4 +1,4 @@
-import{_ as e,c as a,o as t,a as s}from"./app.3817bf4e.js";const g='{"title":"Why the IP displayed in the admin panel and the actual IP of the Agent are not the same?","description":"","frontmatter":{},"headers":[{"level":2,"title":"Why the IP displayed in the admin panel and the actual IP of the Agent are not the same?","slug":"why-the-ip-displayed-in-the-admin-panel-and-the-actual-ip-of-the-agent-are-not-the-same"},{"level":2,"title":"Forgot your access password or deleted your access password","slug":"forgot-your-access-password-or-deleted-your-access-password"},{"level":2,"title":"Dashboard install/restart/update failed: iptables ......","slug":"dashboard-install-restart-update-failed-iptables"},{"level":2,"title":"Dashboard reboot failed: Invalid hostPort: nzsiteport etc.","slug":"dashboard-reboot-failed-invalid-hostport-nz-site-port-etc"},{"level":2,"title":"Wrong Dashboard layout, CSS resources cannot be loaded","slug":"wrong-dashboard-layout-css-resources-cannot-be-loaded"}],"relativePath":"en_US/guide/dashboardq.md","lastUpdated":1681026579000}',o={},n=s(`

Why the IP displayed in the admin panel and the actual IP of the Agent are not the same?

First of all, explain how the IP displayed in the admin panel is gotten: the Agent will request the IP-API every once in a while, get the IP information and report it to the Dashboard, the IP-API currently used can be viewed here: myip.go
If you find that the IP displayed in the admin panel is not the same as the IP provided to you by the service provider, the biggest possibility is that the service provider gave you the entry IP, but the Agent tested out your exit IP. This problem may also occur in BGP servers and Leased line.

TIP

To take a simple and very common example, the service provider to provide you a anti-DDoS server, in order to meet the goals of both DDoS protection and low network disruption rate, the IP provided to you may be the mapped anti-DDoS IP and not the real exit IP of your server

You can also test the exit IP by running the following command in the Agent server:

curl api.myip.la
+import{_ as e,c as a,o as t,a as s}from"./app.3817bf4e.js";const g='{"title":"Why the IP displayed in the admin panel and the actual IP of the Agent are not the same?","description":"","frontmatter":{},"headers":[{"level":2,"title":"Why the IP displayed in the admin panel and the actual IP of the Agent are not the same?","slug":"why-the-ip-displayed-in-the-admin-panel-and-the-actual-ip-of-the-agent-are-not-the-same"},{"level":2,"title":"Forgot your access password or deleted your access password","slug":"forgot-your-access-password-or-deleted-your-access-password"},{"level":2,"title":"Dashboard install/restart/update failed: iptables ......","slug":"dashboard-install-restart-update-failed-iptables"},{"level":2,"title":"Dashboard reboot failed: Invalid hostPort: nzsiteport etc.","slug":"dashboard-reboot-failed-invalid-hostport-nz-site-port-etc"},{"level":2,"title":"Wrong Dashboard layout, CSS resources cannot be loaded","slug":"wrong-dashboard-layout-css-resources-cannot-be-loaded"}],"relativePath":"en_US/guide/dashboardq.md","lastUpdated":1682076617000}',o={},n=s(`

Why the IP displayed in the admin panel and the actual IP of the Agent are not the same?

First of all, explain how the IP displayed in the admin panel is gotten: the Agent will request the IP-API every once in a while, get the IP information and report it to the Dashboard, the IP-API currently used can be viewed here: myip.go
If you find that the IP displayed in the admin panel is not the same as the IP provided to you by the service provider, the biggest possibility is that the service provider gave you the entry IP, but the Agent tested out your exit IP. This problem may also occur in BGP servers and Leased line.

TIP

To take a simple and very common example, the service provider to provide you a anti-DDoS server, in order to meet the goals of both DDoS protection and low network disruption rate, the IP provided to you may be the mapped anti-DDoS IP and not the real exit IP of your server

You can also test the exit IP by running the following command in the Agent server:

curl api.myip.la
 curl ip.sb
 curl ip-api.com
 

Forgot your access password or deleted your access password

Please view or edit the /opt/nezha/dashboard/data/config.yaml file.
The password is located in the site-viewpassword item.

Dashboard install/restart/update failed: iptables ......

First, try restarting docker and retrying again

systemctl status docker
diff --git a/assets/en_US_guide_dashboardq.md.ba23b9bd.lean.js b/assets/en_US_guide_dashboardq.md.69fe58cd.lean.js
similarity index 94%
rename from assets/en_US_guide_dashboardq.md.ba23b9bd.lean.js
rename to assets/en_US_guide_dashboardq.md.69fe58cd.lean.js
index 0caf4443..f40f2844 100644
--- a/assets/en_US_guide_dashboardq.md.ba23b9bd.lean.js
+++ b/assets/en_US_guide_dashboardq.md.69fe58cd.lean.js
@@ -1 +1 @@
-import{_ as e,c as a,o as t,a as s}from"./app.3817bf4e.js";const g='{"title":"Why the IP displayed in the admin panel and the actual IP of the Agent are not the same?","description":"","frontmatter":{},"headers":[{"level":2,"title":"Why the IP displayed in the admin panel and the actual IP of the Agent are not the same?","slug":"why-the-ip-displayed-in-the-admin-panel-and-the-actual-ip-of-the-agent-are-not-the-same"},{"level":2,"title":"Forgot your access password or deleted your access password","slug":"forgot-your-access-password-or-deleted-your-access-password"},{"level":2,"title":"Dashboard install/restart/update failed: iptables ......","slug":"dashboard-install-restart-update-failed-iptables"},{"level":2,"title":"Dashboard reboot failed: Invalid hostPort: nzsiteport etc.","slug":"dashboard-reboot-failed-invalid-hostport-nz-site-port-etc"},{"level":2,"title":"Wrong Dashboard layout, CSS resources cannot be loaded","slug":"wrong-dashboard-layout-css-resources-cannot-be-loaded"}],"relativePath":"en_US/guide/dashboardq.md","lastUpdated":1681026579000}',o={},n=s("",18),r=[n];function i(d,l,c,h,p,u){return t(),a("div",null,r)}var f=e(o,[["render",i]]);export{g as __pageData,f as default};
+import{_ as e,c as a,o as t,a as s}from"./app.3817bf4e.js";const g='{"title":"Why the IP displayed in the admin panel and the actual IP of the Agent are not the same?","description":"","frontmatter":{},"headers":[{"level":2,"title":"Why the IP displayed in the admin panel and the actual IP of the Agent are not the same?","slug":"why-the-ip-displayed-in-the-admin-panel-and-the-actual-ip-of-the-agent-are-not-the-same"},{"level":2,"title":"Forgot your access password or deleted your access password","slug":"forgot-your-access-password-or-deleted-your-access-password"},{"level":2,"title":"Dashboard install/restart/update failed: iptables ......","slug":"dashboard-install-restart-update-failed-iptables"},{"level":2,"title":"Dashboard reboot failed: Invalid hostPort: nzsiteport etc.","slug":"dashboard-reboot-failed-invalid-hostport-nz-site-port-etc"},{"level":2,"title":"Wrong Dashboard layout, CSS resources cannot be loaded","slug":"wrong-dashboard-layout-css-resources-cannot-be-loaded"}],"relativePath":"en_US/guide/dashboardq.md","lastUpdated":1682076617000}',o={},n=s("",18),r=[n];function i(d,l,c,h,p,u){return t(),a("div",null,r)}var f=e(o,[["render",i]]);export{g as __pageData,f as default};
diff --git a/assets/en_US_guide_loginq.md.18fa65ac.js b/assets/en_US_guide_loginq.md.cb7b70de.js
similarity index 98%
rename from assets/en_US_guide_loginq.md.18fa65ac.js
rename to assets/en_US_guide_loginq.md.cb7b70de.js
index 95e81e1b..dd52147e 100644
--- a/assets/en_US_guide_loginq.md.18fa65ac.js
+++ b/assets/en_US_guide_loginq.md.cb7b70de.js
@@ -1 +1 @@
-import{_ as e,c as t,o,a}from"./app.3817bf4e.js";const g='{"title":"Page refuses to connect or timeout after login callback","description":"","frontmatter":{},"headers":[{"level":2,"title":"Page refuses to connect or timeout after login callback","slug":"page-refuses-to-connect-or-timeout-after-login-callback"},{"level":3,"title":"How do I check if my callback URL is wrong?","slug":"how-do-i-check-if-my-callback-url-is-wrong"},{"level":2,"title":"Dashboard errors after login","slug":"dashboard-errors-after-login"},{"level":3,"title":"http: named cookie not present","slug":"http-named-cookie-not-present"},{"level":3,"title":"lookup xxx","slug":"lookup-xxx"},{"level":3,"title":"The authorization method is invalid, or the login callback URL is invalid, expired, or has been revoked","slug":"the-authorization-method-is-invalid-or-the-login-callback-url-is-invalid-expired-or-has-been-revoked"},{"level":3,"title":"oauth2: server response missing access_token","slug":"oauth2-server-response-missing-access-token"},{"level":3,"title":"This user is not the administrator or cannot login","slug":"this-user-is-not-the-administrator-or-cannot-login"},{"level":3,"title":"dial tcp xxx:443 i/o timeout","slug":"dial-tcp-xxx-443-i-o-timeout"},{"level":3,"title":"net/http: TLS handshake timeout","slug":"net-http-tls-handshake-timeout"}],"relativePath":"en_US/guide/loginq.md","lastUpdated":1681026579000}',r={},i=a('

Page refuses to connect or timeout after login callback

  1. Your server cannot connect to Github, consider trying several times or switching to Gitlab.
  2. You have configured the wrong callback URL, make sure your callback URL is correct and port and protocol are correct!
  3. An unknown error occurred in Dashboard, you can use the script to check the logs.

TIP

What is a protocol?
In the browser, your domain name ending with :// is the protocol, usually http and https. Since the Dashboard may be accessible by multiple protocols + domain + port combinations under normal deployment, please make sure to choose the most appropriate one as the callback.

How do I check if my callback URL is wrong?

Please make sure the protocol+domain+port displayed by your browser before login and the protocol+domain+port you jump to after login are the same.
Please make sure your path is /oauth2/callback, all lowercase.

Dashboard errors after login

Clear your browser cookies and log in again, or change your browser.

lookup xxx

DNS resolution failure, in most cases, is due to iptables-related configuration changes.
It is recommended to restart docker first, sudo systemctl restart docker, and then use the script to restart the Dashboard.
If the lookup error still occurs, it is recommended to check whether there are other tools to control iptables, such as Aapanel Firewall.
This problem may also be related to the kernel, please try to change the official kernel.

The authorization method is invalid, or the login callback URL is invalid, expired, or has been revoked

Suggest changing the authentication method to Github/Gitlab.

oauth2: server response missing access_token

It may be caused by a number of factors, the most likely is a network problem, we suggest to check the network and retry.
If you can't solve it, we suggest changing the authentication method to Github/Gitlab.

This user is not the administrator or cannot login

You have logged into the wrong account or configured the wrong username, note that username is not email, you can use a script to modify it.

dial tcp xxx:443 i/o timeout

If the server has network problems, you can restart docker first, sudo systemctl restart docker, and then use the script to restart the Dashboard.
You can also change to another OAuth method if necessary.

net/http: TLS handshake timeout

Same as above.

',20),s=[i];function n(l,c,h,d,u,p){return o(),t("div",null,s)}var b=e(r,[["render",n]]);export{g as __pageData,b as default}; +import{_ as e,c as t,o,a}from"./app.3817bf4e.js";const g='{"title":"Page refuses to connect or timeout after login callback","description":"","frontmatter":{},"headers":[{"level":2,"title":"Page refuses to connect or timeout after login callback","slug":"page-refuses-to-connect-or-timeout-after-login-callback"},{"level":3,"title":"How do I check if my callback URL is wrong?","slug":"how-do-i-check-if-my-callback-url-is-wrong"},{"level":2,"title":"Dashboard errors after login","slug":"dashboard-errors-after-login"},{"level":3,"title":"http: named cookie not present","slug":"http-named-cookie-not-present"},{"level":3,"title":"lookup xxx","slug":"lookup-xxx"},{"level":3,"title":"The authorization method is invalid, or the login callback URL is invalid, expired, or has been revoked","slug":"the-authorization-method-is-invalid-or-the-login-callback-url-is-invalid-expired-or-has-been-revoked"},{"level":3,"title":"oauth2: server response missing access_token","slug":"oauth2-server-response-missing-access-token"},{"level":3,"title":"This user is not the administrator or cannot login","slug":"this-user-is-not-the-administrator-or-cannot-login"},{"level":3,"title":"dial tcp xxx:443 i/o timeout","slug":"dial-tcp-xxx-443-i-o-timeout"},{"level":3,"title":"net/http: TLS handshake timeout","slug":"net-http-tls-handshake-timeout"}],"relativePath":"en_US/guide/loginq.md","lastUpdated":1682076617000}',r={},i=a('

Page refuses to connect or timeout after login callback

  1. Your server cannot connect to Github, consider trying several times or switching to Gitlab.
  2. You have configured the wrong callback URL, make sure your callback URL is correct and port and protocol are correct!
  3. An unknown error occurred in Dashboard, you can use the script to check the logs.

TIP

What is a protocol?
In the browser, your domain name ending with :// is the protocol, usually http and https. Since the Dashboard may be accessible by multiple protocols + domain + port combinations under normal deployment, please make sure to choose the most appropriate one as the callback.

How do I check if my callback URL is wrong?

Please make sure the protocol+domain+port displayed by your browser before login and the protocol+domain+port you jump to after login are the same.
Please make sure your path is /oauth2/callback, all lowercase.

Dashboard errors after login

Clear your browser cookies and log in again, or change your browser.

lookup xxx

DNS resolution failure, in most cases, is due to iptables-related configuration changes.
It is recommended to restart docker first, sudo systemctl restart docker, and then use the script to restart the Dashboard.
If the lookup error still occurs, it is recommended to check whether there are other tools to control iptables, such as Aapanel Firewall.
This problem may also be related to the kernel, please try to change the official kernel.

The authorization method is invalid, or the login callback URL is invalid, expired, or has been revoked

Suggest changing the authentication method to Github/Gitlab.

oauth2: server response missing access_token

It may be caused by a number of factors, the most likely is a network problem, we suggest to check the network and retry.
If you can't solve it, we suggest changing the authentication method to Github/Gitlab.

This user is not the administrator or cannot login

You have logged into the wrong account or configured the wrong username, note that username is not email, you can use a script to modify it.

dial tcp xxx:443 i/o timeout

If the server has network problems, you can restart docker first, sudo systemctl restart docker, and then use the script to restart the Dashboard.
You can also change to another OAuth method if necessary.

net/http: TLS handshake timeout

Same as above.

',20),s=[i];function n(l,c,h,d,u,p){return o(),t("div",null,s)}var b=e(r,[["render",n]]);export{g as __pageData,b as default}; diff --git a/assets/en_US_guide_loginq.md.18fa65ac.lean.js b/assets/en_US_guide_loginq.md.cb7b70de.lean.js similarity index 95% rename from assets/en_US_guide_loginq.md.18fa65ac.lean.js rename to assets/en_US_guide_loginq.md.cb7b70de.lean.js index 1e98df06..8b2c3f74 100644 --- a/assets/en_US_guide_loginq.md.18fa65ac.lean.js +++ b/assets/en_US_guide_loginq.md.cb7b70de.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o,a}from"./app.3817bf4e.js";const g='{"title":"Page refuses to connect or timeout after login callback","description":"","frontmatter":{},"headers":[{"level":2,"title":"Page refuses to connect or timeout after login callback","slug":"page-refuses-to-connect-or-timeout-after-login-callback"},{"level":3,"title":"How do I check if my callback URL is wrong?","slug":"how-do-i-check-if-my-callback-url-is-wrong"},{"level":2,"title":"Dashboard errors after login","slug":"dashboard-errors-after-login"},{"level":3,"title":"http: named cookie not present","slug":"http-named-cookie-not-present"},{"level":3,"title":"lookup xxx","slug":"lookup-xxx"},{"level":3,"title":"The authorization method is invalid, or the login callback URL is invalid, expired, or has been revoked","slug":"the-authorization-method-is-invalid-or-the-login-callback-url-is-invalid-expired-or-has-been-revoked"},{"level":3,"title":"oauth2: server response missing access_token","slug":"oauth2-server-response-missing-access-token"},{"level":3,"title":"This user is not the administrator or cannot login","slug":"this-user-is-not-the-administrator-or-cannot-login"},{"level":3,"title":"dial tcp xxx:443 i/o timeout","slug":"dial-tcp-xxx-443-i-o-timeout"},{"level":3,"title":"net/http: TLS handshake timeout","slug":"net-http-tls-handshake-timeout"}],"relativePath":"en_US/guide/loginq.md","lastUpdated":1681026579000}',r={},i=a("",20),s=[i];function n(l,c,h,d,u,p){return o(),t("div",null,s)}var b=e(r,[["render",n]]);export{g as __pageData,b as default}; +import{_ as e,c as t,o,a}from"./app.3817bf4e.js";const g='{"title":"Page refuses to connect or timeout after login callback","description":"","frontmatter":{},"headers":[{"level":2,"title":"Page refuses to connect or timeout after login callback","slug":"page-refuses-to-connect-or-timeout-after-login-callback"},{"level":3,"title":"How do I check if my callback URL is wrong?","slug":"how-do-i-check-if-my-callback-url-is-wrong"},{"level":2,"title":"Dashboard errors after login","slug":"dashboard-errors-after-login"},{"level":3,"title":"http: named cookie not present","slug":"http-named-cookie-not-present"},{"level":3,"title":"lookup xxx","slug":"lookup-xxx"},{"level":3,"title":"The authorization method is invalid, or the login callback URL is invalid, expired, or has been revoked","slug":"the-authorization-method-is-invalid-or-the-login-callback-url-is-invalid-expired-or-has-been-revoked"},{"level":3,"title":"oauth2: server response missing access_token","slug":"oauth2-server-response-missing-access-token"},{"level":3,"title":"This user is not the administrator or cannot login","slug":"this-user-is-not-the-administrator-or-cannot-login"},{"level":3,"title":"dial tcp xxx:443 i/o timeout","slug":"dial-tcp-xxx-443-i-o-timeout"},{"level":3,"title":"net/http: TLS handshake timeout","slug":"net-http-tls-handshake-timeout"}],"relativePath":"en_US/guide/loginq.md","lastUpdated":1682076617000}',r={},i=a("",20),s=[i];function n(l,c,h,d,u,p){return o(),t("div",null,s)}var b=e(r,[["render",n]]);export{g as __pageData,b as default}; diff --git a/assets/en_US_guide_notifications.md.38c3108a.js b/assets/en_US_guide_notifications.md.b1cfb902.js similarity index 99% rename from assets/en_US_guide_notifications.md.38c3108a.js rename to assets/en_US_guide_notifications.md.b1cfb902.js index 22bc7b0b..6235a564 100644 --- a/assets/en_US_guide_notifications.md.38c3108a.js +++ b/assets/en_US_guide_notifications.md.b1cfb902.js @@ -1,4 +1,4 @@ -import{_ as t,c as o,o as e,a as n}from"./app.3817bf4e.js";const f='{"title":"Flexible notification methods","description":"","frontmatter":{},"headers":[{"level":2,"title":"Flexible notification methods","slug":"flexible-notification-methods"},{"level":2,"title":"Description of notification rules","slug":"description-of-notification-rules"},{"level":3,"title":"Basic Rules","slug":"basic-rules"},{"level":3,"title":"Special: Any-cycle transfer notification","slug":"special-any-cycle-transfer-notification"},{"level":2,"title":"Description of mode of triggering notification","slug":"description-of-mode-of-triggering-notification"},{"level":2,"title":"Set the task to be executed when notification","slug":"set-the-task-to-be-executed-when-notification"}],"relativePath":"en_US/guide/notifications.md","lastUpdated":1681026579000}',a={},s=n(`

Nezha Monitoring supports monitoring of server load, CPU, memory, hard disk, data transfer, monthly data transfer, number of processes, number of connections, and sends alarm notifications when one of these items reaches a user-set limit.


Flexible notification methods

#NEZHA# is the panel message placeholder, the panel will automatically replace the placeholder with the actual message when it triggers the notification

The content of Body is in JSON format\uFF1AWhen the request type is FORM\uFF0Cthe value is in the form of key:value\uFF0Cvalue can contain placeholders that will be automatically replaced when notified. When the request type is JSON It will only do string substitution and submit to the URL directly.

Placeholders can also be placed inside the URL, and it will perform a simple string substitution when requested.

Refer to the example below, it is very flexible.

  • Bark Example

    • Name: Bark

    • URL: The first part is the key, followed by three matches/: key/: body or/: key/: title/: body or/: key/: category/: title/: body

    • Request method: GET

    • Request Type: Default

    • Body: null

    • Name: Bark

    • URL:/push

    • Request method: POST

    • Request type: FORM

    • Body: {"title": "#SERVER.NAME#","device_key":"xxxxxxxxx","body":"#NEZHA#","icon":" https://xxxxxxxx/nz.png "}

  • Telegram Example, contributed by @haitau

    • Name\uFF1ATelegram Robot message notification
    • URL\uFF1Ahttps://api.telegram.org/botXXXXXX/sendMessage?chat_id=YYYYYY&text=#NEZHA#
    • Request method: GET
    • Request type: default
    • Body: null
    • Notes for this method\uFF1AThe XXXXXX in botXXXXXX is the token provided when you follow the official @Botfather in Telegram and enter /newbot to create a new bot. (In the line after Use this token to access the HTTP API). The 'bot' are essential. After creating a bot, you need to talk to the BOT in Telegram (send a random message) before you can send a message by using API. YYYYYY is Telegram user's ID, you can get it by talking to the bot @userinfobot.
  • Email notification example - Outlook

      {
    +import{_ as t,c as o,o as e,a as n}from"./app.3817bf4e.js";const f='{"title":"Flexible notification methods","description":"","frontmatter":{},"headers":[{"level":2,"title":"Flexible notification methods","slug":"flexible-notification-methods"},{"level":2,"title":"Description of notification rules","slug":"description-of-notification-rules"},{"level":3,"title":"Basic Rules","slug":"basic-rules"},{"level":3,"title":"Special: Any-cycle transfer notification","slug":"special-any-cycle-transfer-notification"},{"level":2,"title":"Description of mode of triggering notification","slug":"description-of-mode-of-triggering-notification"},{"level":2,"title":"Set the task to be executed when notification","slug":"set-the-task-to-be-executed-when-notification"}],"relativePath":"en_US/guide/notifications.md","lastUpdated":1682076617000}',a={},s=n(`

    Nezha Monitoring supports monitoring of server load, CPU, memory, hard disk, data transfer, monthly data transfer, number of processes, number of connections, and sends alarm notifications when one of these items reaches a user-set limit.


    Flexible notification methods

    #NEZHA# is the panel message placeholder, the panel will automatically replace the placeholder with the actual message when it triggers the notification

    The content of Body is in JSON format\uFF1AWhen the request type is FORM\uFF0Cthe value is in the form of key:value\uFF0Cvalue can contain placeholders that will be automatically replaced when notified. When the request type is JSON It will only do string substitution and submit to the URL directly.

    Placeholders can also be placed inside the URL, and it will perform a simple string substitution when requested.

    Refer to the example below, it is very flexible.

    • Bark Example

      • Name: Bark

      • URL: The first part is the key, followed by three matches/: key/: body or/: key/: title/: body or/: key/: category/: title/: body

      • Request method: GET

      • Request Type: Default

      • Body: null

      • Name: Bark

      • URL:/push

      • Request method: POST

      • Request type: FORM

      • Body: {"title": "#SERVER.NAME#","device_key":"xxxxxxxxx","body":"#NEZHA#","icon":" https://xxxxxxxx/nz.png "}

    • Telegram Example, contributed by @haitau

      • Name\uFF1ATelegram Robot message notification
      • URL\uFF1Ahttps://api.telegram.org/botXXXXXX/sendMessage?chat_id=YYYYYY&text=#NEZHA#
      • Request method: GET
      • Request type: default
      • Body: null
      • Notes for this method\uFF1AThe XXXXXX in botXXXXXX is the token provided when you follow the official @Botfather in Telegram and enter /newbot to create a new bot. (In the line after Use this token to access the HTTP API). The 'bot' are essential. After creating a bot, you need to talk to the BOT in Telegram (send a random message) before you can send a message by using API. YYYYYY is Telegram user's ID, you can get it by talking to the bot @userinfobot.
    • Email notification example - Outlook

        {
           "message": {
               "subject": "Server Status Notification",
               "body": {
      diff --git a/assets/en_US_guide_notifications.md.38c3108a.lean.js b/assets/en_US_guide_notifications.md.b1cfb902.lean.js
      similarity index 93%
      rename from assets/en_US_guide_notifications.md.38c3108a.lean.js
      rename to assets/en_US_guide_notifications.md.b1cfb902.lean.js
      index d4a33d20..e83d8f5b 100644
      --- a/assets/en_US_guide_notifications.md.38c3108a.lean.js
      +++ b/assets/en_US_guide_notifications.md.b1cfb902.lean.js
      @@ -1 +1 @@
      -import{_ as t,c as o,o as e,a as n}from"./app.3817bf4e.js";const f='{"title":"Flexible notification methods","description":"","frontmatter":{},"headers":[{"level":2,"title":"Flexible notification methods","slug":"flexible-notification-methods"},{"level":2,"title":"Description of notification rules","slug":"description-of-notification-rules"},{"level":3,"title":"Basic Rules","slug":"basic-rules"},{"level":3,"title":"Special: Any-cycle transfer notification","slug":"special-any-cycle-transfer-notification"},{"level":2,"title":"Description of mode of triggering notification","slug":"description-of-mode-of-triggering-notification"},{"level":2,"title":"Set the task to be executed when notification","slug":"set-the-task-to-be-executed-when-notification"}],"relativePath":"en_US/guide/notifications.md","lastUpdated":1681026579000}',a={},s=n("",27),i=[s];function r(p,u,l,c,d,q){return e(),o("div",null,i)}var g=t(a,[["render",r]]);export{f as __pageData,g as default};
      +import{_ as t,c as o,o as e,a as n}from"./app.3817bf4e.js";const f='{"title":"Flexible notification methods","description":"","frontmatter":{},"headers":[{"level":2,"title":"Flexible notification methods","slug":"flexible-notification-methods"},{"level":2,"title":"Description of notification rules","slug":"description-of-notification-rules"},{"level":3,"title":"Basic Rules","slug":"basic-rules"},{"level":3,"title":"Special: Any-cycle transfer notification","slug":"special-any-cycle-transfer-notification"},{"level":2,"title":"Description of mode of triggering notification","slug":"description-of-mode-of-triggering-notification"},{"level":2,"title":"Set the task to be executed when notification","slug":"set-the-task-to-be-executed-when-notification"}],"relativePath":"en_US/guide/notifications.md","lastUpdated":1682076617000}',a={},s=n("",27),i=[s];function r(p,u,l,c,d,q){return e(),o("div",null,i)}var g=t(a,[["render",r]]);export{f as __pageData,g as default};
      diff --git a/assets/en_US_guide_q2.md.7a9041b4.js b/assets/en_US_guide_q2.md.1fede52d.js
      similarity index 96%
      rename from assets/en_US_guide_q2.md.7a9041b4.js
      rename to assets/en_US_guide_q2.md.1fede52d.js
      index 6508b0b2..750b2ba8 100644
      --- a/assets/en_US_guide_q2.md.7a9041b4.js
      +++ b/assets/en_US_guide_q2.md.1fede52d.js
      @@ -1 +1 @@
      -import{_ as e,c as t,o,a as n}from"./app.3817bf4e.js";const m='{"title":"Let the Agent start/on-line, and the self-test process of the problem","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/q2.md","lastUpdated":1681026579000}',r={},a=n('

      Let the Agent start/on-line, and the self-test process of the problem

      1. Run //opt/nezha/agent/nezha-agent -s IP/Domin(Panel IP or Domain not connected to CDN):port(Panel RPC port) -p secret(Agent Secret) -d Check the logs to see if the timeout is due to a DNS problem or poor network
      2. nc -v domain/IP port(Panel RPC port) or telnet domain/IP port(Panel RPC port) to check if it' s a network problem, check the inbound and outbound firewall between the local machine and the panel server, if you can' t determine the problem you can check it with the port checking tool provided by https://port.ping.pe/
      3. If the above steps work and the Agent is online, please try to turn off SELinux on the panel server. How to close SELinux\uFF1F
      ',2),s=[a];function l(i,c,h,p,d,_){return o(),t("div",null,s)}var u=e(r,[["render",l]]);export{m as __pageData,u as default}; +import{_ as e,c as t,o,a as n}from"./app.3817bf4e.js";const m='{"title":"Let the Agent start/on-line, and the self-test process of the problem","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/q2.md","lastUpdated":1682076617000}',r={},a=n('

      Let the Agent start/on-line, and the self-test process of the problem

      1. Run //opt/nezha/agent/nezha-agent -s IP/Domin(Panel IP or Domain not connected to CDN):port(Panel RPC port) -p secret(Agent Secret) -d Check the logs to see if the timeout is due to a DNS problem or poor network
      2. nc -v domain/IP port(Panel RPC port) or telnet domain/IP port(Panel RPC port) to check if it' s a network problem, check the inbound and outbound firewall between the local machine and the panel server, if you can' t determine the problem you can check it with the port checking tool provided by https://port.ping.pe/
      3. If the above steps work and the Agent is online, please try to turn off SELinux on the panel server. How to close SELinux\uFF1F
      ',2),s=[a];function l(i,c,h,p,d,_){return o(),t("div",null,s)}var u=e(r,[["render",l]]);export{m as __pageData,u as default}; diff --git a/assets/en_US_guide_q2.md.7a9041b4.lean.js b/assets/en_US_guide_q2.md.1fede52d.lean.js similarity index 83% rename from assets/en_US_guide_q2.md.7a9041b4.lean.js rename to assets/en_US_guide_q2.md.1fede52d.lean.js index 484caae2..0f05db98 100644 --- a/assets/en_US_guide_q2.md.7a9041b4.lean.js +++ b/assets/en_US_guide_q2.md.1fede52d.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o,a as n}from"./app.3817bf4e.js";const m='{"title":"Let the Agent start/on-line, and the self-test process of the problem","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/q2.md","lastUpdated":1681026579000}',r={},a=n("",2),s=[a];function l(i,c,h,p,d,_){return o(),t("div",null,s)}var u=e(r,[["render",l]]);export{m as __pageData,u as default}; +import{_ as e,c as t,o,a as n}from"./app.3817bf4e.js";const m='{"title":"Let the Agent start/on-line, and the self-test process of the problem","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/q2.md","lastUpdated":1682076617000}',r={},a=n("",2),s=[a];function l(i,c,h,p,d,_){return o(),t("div",null,s)}var u=e(r,[["render",l]]);export{m as __pageData,u as default}; diff --git a/assets/en_US_guide_q3.md.79169935.js b/assets/en_US_guide_q3.md.9c599d6b.js similarity index 98% rename from assets/en_US_guide_q3.md.79169935.js rename to assets/en_US_guide_q3.md.9c599d6b.js index 5f4aac47..9c05d9c3 100644 --- a/assets/en_US_guide_q3.md.79169935.js +++ b/assets/en_US_guide_q3.md.9c599d6b.js @@ -1,4 +1,4 @@ -import{_ as n,c as e,o as a,a as s}from"./app.3817bf4e.js";const g='{"title":"Reverse Proxy gRPC Port (support Cloudflare CDN)","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/q3.md","lastUpdated":1681026579000}',t={},o=s(`

      Reverse Proxy gRPC Port (support Cloudflare CDN)

      Use Nginx or Caddy to reverse proxy gRPC

      • Nginx configuration files
      server {
      +import{_ as n,c as e,o as a,a as s}from"./app.3817bf4e.js";const g='{"title":"Reverse Proxy gRPC Port (support Cloudflare CDN)","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/q3.md","lastUpdated":1682076617000}',t={},o=s(`

      Reverse Proxy gRPC Port (support Cloudflare CDN)

      Use Nginx or Caddy to reverse proxy gRPC

      • Nginx configuration files
      server {
           listen 443 ssl http2;
           listen [::]:443 ssl http2;
           server_name data.example.com; # The domain name where the Agent connects to Dashboard
      diff --git a/assets/en_US_guide_q3.md.79169935.lean.js b/assets/en_US_guide_q3.md.9c599d6b.lean.js
      similarity index 83%
      rename from assets/en_US_guide_q3.md.79169935.lean.js
      rename to assets/en_US_guide_q3.md.9c599d6b.lean.js
      index d2bdcde5..8ba4a52c 100644
      --- a/assets/en_US_guide_q3.md.79169935.lean.js
      +++ b/assets/en_US_guide_q3.md.9c599d6b.lean.js
      @@ -1 +1 @@
      -import{_ as n,c as e,o as a,a as s}from"./app.3817bf4e.js";const g='{"title":"Reverse Proxy gRPC Port (support Cloudflare CDN)","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/q3.md","lastUpdated":1681026579000}',t={},o=s("",13),p=[o];function c(r,i,l,d,u,k){return a(),e("div",null,p)}var m=n(t,[["render",c]]);export{g as __pageData,m as default};
      +import{_ as n,c as e,o as a,a as s}from"./app.3817bf4e.js";const g='{"title":"Reverse Proxy gRPC Port (support Cloudflare CDN)","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/q3.md","lastUpdated":1682076617000}',t={},o=s("",13),p=[o];function c(r,i,l,d,u,k){return a(),e("div",null,p)}var m=n(t,[["render",c]]);export{g as __pageData,m as default};
      diff --git a/assets/en_US_guide_q4.md.8cbc55af.js b/assets/en_US_guide_q4.md.74c83acc.js
      similarity index 94%
      rename from assets/en_US_guide_q4.md.8cbc55af.js
      rename to assets/en_US_guide_q4.md.74c83acc.js
      index a32faf5a..5209f5d8 100644
      --- a/assets/en_US_guide_q4.md.8cbc55af.js
      +++ b/assets/en_US_guide_q4.md.74c83acc.js
      @@ -1 +1 @@
      -import{_ as t,c as a,o,b as e,d as n}from"./app.3817bf4e.js";const v='{"title":"Real-time channel disconnection/online terminal connection failure","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/q4.md","lastUpdated":1681026579000}',i={},r=e("h4",{id:"real-time-channel-disconnection-online-terminal-connection-failure",tabindex:"-1"},[n("Real-time channel disconnection/online terminal connection failure "),e("a",{class:"header-anchor",href:"#real-time-channel-disconnection-online-terminal-connection-failure","aria-hidden":"true"},"#")],-1),c=e("ul",null,[e("li",null,"If you are using a CDN, please make sure that the CDN provider provides WebSocket service and that WebSocket is enabled"),e("li",null,[n("Confirm that you are using a reverse proxy requires special configuration of the WebSocket for the "),e("code",null,"/ws"),n(" and "),e("code",null,"/terminal"),n(" paths, you can "),e("a",{href:"/en_US/guide/dashboard.html#configure-reverse-proxy"},"click here"),n(" to see the reverse proxy configuration")])],-1),l=[r,c];function s(d,u,h,f,p,_){return o(),a("div",null,l)}var g=t(i,[["render",s]]);export{v as __pageData,g as default};
      +import{_ as t,c as a,o,b as e,d as n}from"./app.3817bf4e.js";const v='{"title":"Real-time channel disconnection/online terminal connection failure","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/q4.md","lastUpdated":1682076617000}',i={},r=e("h4",{id:"real-time-channel-disconnection-online-terminal-connection-failure",tabindex:"-1"},[n("Real-time channel disconnection/online terminal connection failure "),e("a",{class:"header-anchor",href:"#real-time-channel-disconnection-online-terminal-connection-failure","aria-hidden":"true"},"#")],-1),c=e("ul",null,[e("li",null,"If you are using a CDN, please make sure that the CDN provider provides WebSocket service and that WebSocket is enabled"),e("li",null,[n("Confirm that you are using a reverse proxy requires special configuration of the WebSocket for the "),e("code",null,"/ws"),n(" and "),e("code",null,"/terminal"),n(" paths, you can "),e("a",{href:"/en_US/guide/dashboard.html#configure-reverse-proxy"},"click here"),n(" to see the reverse proxy configuration")])],-1),l=[r,c];function s(d,u,h,f,p,_){return o(),a("div",null,l)}var g=t(i,[["render",s]]);export{v as __pageData,g as default};
      diff --git a/assets/en_US_guide_q4.md.8cbc55af.lean.js b/assets/en_US_guide_q4.md.74c83acc.lean.js
      similarity index 94%
      rename from assets/en_US_guide_q4.md.8cbc55af.lean.js
      rename to assets/en_US_guide_q4.md.74c83acc.lean.js
      index a32faf5a..5209f5d8 100644
      --- a/assets/en_US_guide_q4.md.8cbc55af.lean.js
      +++ b/assets/en_US_guide_q4.md.74c83acc.lean.js
      @@ -1 +1 @@
      -import{_ as t,c as a,o,b as e,d as n}from"./app.3817bf4e.js";const v='{"title":"Real-time channel disconnection/online terminal connection failure","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/q4.md","lastUpdated":1681026579000}',i={},r=e("h4",{id:"real-time-channel-disconnection-online-terminal-connection-failure",tabindex:"-1"},[n("Real-time channel disconnection/online terminal connection failure "),e("a",{class:"header-anchor",href:"#real-time-channel-disconnection-online-terminal-connection-failure","aria-hidden":"true"},"#")],-1),c=e("ul",null,[e("li",null,"If you are using a CDN, please make sure that the CDN provider provides WebSocket service and that WebSocket is enabled"),e("li",null,[n("Confirm that you are using a reverse proxy requires special configuration of the WebSocket for the "),e("code",null,"/ws"),n(" and "),e("code",null,"/terminal"),n(" paths, you can "),e("a",{href:"/en_US/guide/dashboard.html#configure-reverse-proxy"},"click here"),n(" to see the reverse proxy configuration")])],-1),l=[r,c];function s(d,u,h,f,p,_){return o(),a("div",null,l)}var g=t(i,[["render",s]]);export{v as __pageData,g as default};
      +import{_ as t,c as a,o,b as e,d as n}from"./app.3817bf4e.js";const v='{"title":"Real-time channel disconnection/online terminal connection failure","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/q4.md","lastUpdated":1682076617000}',i={},r=e("h4",{id:"real-time-channel-disconnection-online-terminal-connection-failure",tabindex:"-1"},[n("Real-time channel disconnection/online terminal connection failure "),e("a",{class:"header-anchor",href:"#real-time-channel-disconnection-online-terminal-connection-failure","aria-hidden":"true"},"#")],-1),c=e("ul",null,[e("li",null,"If you are using a CDN, please make sure that the CDN provider provides WebSocket service and that WebSocket is enabled"),e("li",null,[n("Confirm that you are using a reverse proxy requires special configuration of the WebSocket for the "),e("code",null,"/ws"),n(" and "),e("code",null,"/terminal"),n(" paths, you can "),e("a",{href:"/en_US/guide/dashboard.html#configure-reverse-proxy"},"click here"),n(" to see the reverse proxy configuration")])],-1),l=[r,c];function s(d,u,h,f,p,_){return o(),a("div",null,l)}var g=t(i,[["render",s]]);export{v as __pageData,g as default};
      diff --git a/assets/en_US_guide_q5.md.4ef1f642.js b/assets/en_US_guide_q5.md.023197e3.js
      similarity index 93%
      rename from assets/en_US_guide_q5.md.4ef1f642.js
      rename to assets/en_US_guide_q5.md.023197e3.js
      index 084b06f9..218a147c 100644
      --- a/assets/en_US_guide_q5.md.4ef1f642.js
      +++ b/assets/en_US_guide_q5.md.023197e3.js
      @@ -1 +1 @@
      -import{_ as a,c as r,o,b as e,d as t}from"./app.3817bf4e.js";const f='{"title":"How do I migrate my data to the new server and restore my backups?","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/q5.md","lastUpdated":1681026579000}',s={},n=e("h4",{id:"how-do-i-migrate-my-data-to-the-new-server-and-restore-my-backups",tabindex:"-1"},[t("How do I migrate my data to the new server and restore my backups? "),e("a",{class:"header-anchor",href:"#how-do-i-migrate-my-data-to-the-new-server-and-restore-my-backups","aria-hidden":"true"},"#")],-1),d=e("ol",null,[e("li",null,[t("First use the one-click script and select "),e("code",null,"Stop Panel")]),e("li",null,[t("Compress the "),e("code",null,"/opt/nezha"),t(" folder to the same path as the new server")]),e("li",null,[t("Run the one-click script in the new server, select "),e("code",null,"Launch Panel")])],-1),c=[n,d];function l(i,h,p,u,m,_){return o(),r("div",null,c)}var v=a(s,[["render",l]]);export{f as __pageData,v as default};
      +import{_ as a,c as r,o,b as e,d as t}from"./app.3817bf4e.js";const f='{"title":"How do I migrate my data to the new server and restore my backups?","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/q5.md","lastUpdated":1682076617000}',s={},n=e("h4",{id:"how-do-i-migrate-my-data-to-the-new-server-and-restore-my-backups",tabindex:"-1"},[t("How do I migrate my data to the new server and restore my backups? "),e("a",{class:"header-anchor",href:"#how-do-i-migrate-my-data-to-the-new-server-and-restore-my-backups","aria-hidden":"true"},"#")],-1),d=e("ol",null,[e("li",null,[t("First use the one-click script and select "),e("code",null,"Stop Panel")]),e("li",null,[t("Compress the "),e("code",null,"/opt/nezha"),t(" folder to the same path as the new server")]),e("li",null,[t("Run the one-click script in the new server, select "),e("code",null,"Launch Panel")])],-1),c=[n,d];function l(i,h,p,u,m,_){return o(),r("div",null,c)}var v=a(s,[["render",l]]);export{f as __pageData,v as default};
      diff --git a/assets/en_US_guide_q5.md.4ef1f642.lean.js b/assets/en_US_guide_q5.md.023197e3.lean.js
      similarity index 93%
      rename from assets/en_US_guide_q5.md.4ef1f642.lean.js
      rename to assets/en_US_guide_q5.md.023197e3.lean.js
      index 084b06f9..218a147c 100644
      --- a/assets/en_US_guide_q5.md.4ef1f642.lean.js
      +++ b/assets/en_US_guide_q5.md.023197e3.lean.js
      @@ -1 +1 @@
      -import{_ as a,c as r,o,b as e,d as t}from"./app.3817bf4e.js";const f='{"title":"How do I migrate my data to the new server and restore my backups?","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/q5.md","lastUpdated":1681026579000}',s={},n=e("h4",{id:"how-do-i-migrate-my-data-to-the-new-server-and-restore-my-backups",tabindex:"-1"},[t("How do I migrate my data to the new server and restore my backups? "),e("a",{class:"header-anchor",href:"#how-do-i-migrate-my-data-to-the-new-server-and-restore-my-backups","aria-hidden":"true"},"#")],-1),d=e("ol",null,[e("li",null,[t("First use the one-click script and select "),e("code",null,"Stop Panel")]),e("li",null,[t("Compress the "),e("code",null,"/opt/nezha"),t(" folder to the same path as the new server")]),e("li",null,[t("Run the one-click script in the new server, select "),e("code",null,"Launch Panel")])],-1),c=[n,d];function l(i,h,p,u,m,_){return o(),r("div",null,c)}var v=a(s,[["render",l]]);export{f as __pageData,v as default};
      +import{_ as a,c as r,o,b as e,d as t}from"./app.3817bf4e.js";const f='{"title":"How do I migrate my data to the new server and restore my backups?","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/q5.md","lastUpdated":1682076617000}',s={},n=e("h4",{id:"how-do-i-migrate-my-data-to-the-new-server-and-restore-my-backups",tabindex:"-1"},[t("How do I migrate my data to the new server and restore my backups? "),e("a",{class:"header-anchor",href:"#how-do-i-migrate-my-data-to-the-new-server-and-restore-my-backups","aria-hidden":"true"},"#")],-1),d=e("ol",null,[e("li",null,[t("First use the one-click script and select "),e("code",null,"Stop Panel")]),e("li",null,[t("Compress the "),e("code",null,"/opt/nezha"),t(" folder to the same path as the new server")]),e("li",null,[t("Run the one-click script in the new server, select "),e("code",null,"Launch Panel")])],-1),c=[n,d];function l(i,h,p,u,m,_){return o(),r("div",null,c)}var v=a(s,[["render",l]]);export{f as __pageData,v as default};
      diff --git a/assets/en_US_guide_q6.md.3188fa5d.js b/assets/en_US_guide_q6.md.e76b06c2.js
      similarity index 95%
      rename from assets/en_US_guide_q6.md.3188fa5d.js
      rename to assets/en_US_guide_q6.md.e76b06c2.js
      index a1d46ba6..8804f964 100644
      --- a/assets/en_US_guide_q6.md.3188fa5d.js
      +++ b/assets/en_US_guide_q6.md.e76b06c2.js
      @@ -1 +1 @@
      -import{_ as t,c as e,o as s,a}from"./app.3817bf4e.js";const m='{"title":"How to set up a monthly reset of transfer statistics?","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/q6.md","lastUpdated":1681026579000}',o={},i=a('

      How to set up a monthly reset of transfer statistics?

      In the home page, the traffic statistics will be reset when the server is restarted.
      If you want to set the traffic statistics to be reset once a month, you can do it like this:

      1. Go to the Notification page of the admin panel
      2. Refer to this document to create a monthly transfer statistics notification
      3. Return to the home page and you can see the monthly transfer statistics in the Service page, where the statistics will not be reset when the server is restarted

      TIP

      This method can be set to any period, including and not limited to hourly/daily/weekly/monthly/yearly reset transfer statistics, very flexible!

      ',4),r=[i];function n(c,l,h,d,f,p){return s(),e("div",null,r)}var u=t(o,[["render",n]]);export{m as __pageData,u as default}; +import{_ as t,c as e,o as s,a}from"./app.3817bf4e.js";const m='{"title":"How to set up a monthly reset of transfer statistics?","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/q6.md","lastUpdated":1682076617000}',o={},i=a('

      How to set up a monthly reset of transfer statistics?

      In the home page, the traffic statistics will be reset when the server is restarted.
      If you want to set the traffic statistics to be reset once a month, you can do it like this:

      1. Go to the Notification page of the admin panel
      2. Refer to this document to create a monthly transfer statistics notification
      3. Return to the home page and you can see the monthly transfer statistics in the Service page, where the statistics will not be reset when the server is restarted

      TIP

      This method can be set to any period, including and not limited to hourly/daily/weekly/monthly/yearly reset transfer statistics, very flexible!

      ',4),r=[i];function n(c,l,h,d,f,p){return s(),e("div",null,r)}var u=t(o,[["render",n]]);export{m as __pageData,u as default}; diff --git a/assets/en_US_guide_q6.md.3188fa5d.lean.js b/assets/en_US_guide_q6.md.e76b06c2.lean.js similarity index 82% rename from assets/en_US_guide_q6.md.3188fa5d.lean.js rename to assets/en_US_guide_q6.md.e76b06c2.lean.js index d4948488..605f759b 100644 --- a/assets/en_US_guide_q6.md.3188fa5d.lean.js +++ b/assets/en_US_guide_q6.md.e76b06c2.lean.js @@ -1 +1 @@ -import{_ as t,c as e,o as s,a}from"./app.3817bf4e.js";const m='{"title":"How to set up a monthly reset of transfer statistics?","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/q6.md","lastUpdated":1681026579000}',o={},i=a("",4),r=[i];function n(c,l,h,d,f,p){return s(),e("div",null,r)}var u=t(o,[["render",n]]);export{m as __pageData,u as default}; +import{_ as t,c as e,o as s,a}from"./app.3817bf4e.js";const m='{"title":"How to set up a monthly reset of transfer statistics?","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/q6.md","lastUpdated":1682076617000}',o={},i=a("",4),r=[i];function n(c,l,h,d,f,p){return s(),e("div",null,r)}var u=t(o,[["render",n]]);export{m as __pageData,u as default}; diff --git a/assets/en_US_guide_q7.md.df773917.js b/assets/en_US_guide_q7.md.fbaf7d36.js similarity index 97% rename from assets/en_US_guide_q7.md.df773917.js rename to assets/en_US_guide_q7.md.fbaf7d36.js index c2eb974e..2be172c1 100644 --- a/assets/en_US_guide_q7.md.df773917.js +++ b/assets/en_US_guide_q7.md.fbaf7d36.js @@ -1 +1 @@ -import{_ as e,c as t,o,a}from"./app.3817bf4e.js";const p='{"title":"Customize Agent","description":"","frontmatter":{},"headers":[{"level":2,"title":"Customize Agent","slug":"customize-agent"}],"relativePath":"en_US/guide/q7.md","lastUpdated":1681026579000}',i={},n=a('

      Customize Agent

      Customize the NIC and hard drive partitions to be monitored

      • Run /opt/nezha/agent/nezha-agent --edit-agent-config to select a custom NIC and partition, and then restart Agent

      Other Flags

      Run ./nezha-agent --help to view supported flags\uFF0Cif you are already using the one-click script, you can edit /etc/systemd/system/nezha-agent.service\uFF0Cat the end of this line ExecStart= add:

      • --report-delay System information reporting interval, default is 1 second, can be set to 3 to reduce the system resource usage on the agent side (configuration range 1-4)
      • --skip-conn Not monitoring the number of connections, if it is a server with a large number of connections, the CPU usage will be high. It is recommended to set this to reduce CPU usage
      • --skip-procs Disable monitoring the number of processes can also reduce CPU and memory usage
      • --disable-auto-update Disable Automatic Update Agent (security feature)
      • --disable-force-update Disable Forced Update Agent (security feature)
      • --disable-command-execute Disable execution of scheduled tasks, disallow WebShell (security feature)
      • --tls Enable SSL/TLS encryption (If you are using nginx to reverse proxy Agent\xB4s grpc connections, and if nginx has SSL/TLS enabled, you need to enable this configuration)
      ',6),s=[n];function r(d,c,l,u,h,g){return o(),t("div",null,s)}var f=e(i,[["render",r]]);export{p as __pageData,f as default}; +import{_ as e,c as t,o,a}from"./app.3817bf4e.js";const p='{"title":"Customize Agent","description":"","frontmatter":{},"headers":[{"level":2,"title":"Customize Agent","slug":"customize-agent"}],"relativePath":"en_US/guide/q7.md","lastUpdated":1682076617000}',i={},n=a('

      Customize Agent

      Customize the NIC and hard drive partitions to be monitored

      • Run /opt/nezha/agent/nezha-agent --edit-agent-config to select a custom NIC and partition, and then restart Agent

      Other Flags

      Run ./nezha-agent --help to view supported flags\uFF0Cif you are already using the one-click script, you can edit /etc/systemd/system/nezha-agent.service\uFF0Cat the end of this line ExecStart= add:

      • --report-delay System information reporting interval, default is 1 second, can be set to 3 to reduce the system resource usage on the agent side (configuration range 1-4)
      • --skip-conn Not monitoring the number of connections, if it is a server with a large number of connections, the CPU usage will be high. It is recommended to set this to reduce CPU usage
      • --skip-procs Disable monitoring the number of processes can also reduce CPU and memory usage
      • --disable-auto-update Disable Automatic Update Agent (security feature)
      • --disable-force-update Disable Forced Update Agent (security feature)
      • --disable-command-execute Disable execution of scheduled tasks, disallow WebShell (security feature)
      • --tls Enable SSL/TLS encryption (If you are using nginx to reverse proxy Agent\xB4s grpc connections, and if nginx has SSL/TLS enabled, you need to enable this configuration)
      ',6),s=[n];function r(d,c,l,u,h,g){return o(),t("div",null,s)}var f=e(i,[["render",r]]);export{p as __pageData,f as default}; diff --git a/assets/en_US_guide_q7.md.df773917.lean.js b/assets/en_US_guide_q7.md.fbaf7d36.lean.js similarity index 83% rename from assets/en_US_guide_q7.md.df773917.lean.js rename to assets/en_US_guide_q7.md.fbaf7d36.lean.js index ec5c0406..b7247c9d 100644 --- a/assets/en_US_guide_q7.md.df773917.lean.js +++ b/assets/en_US_guide_q7.md.fbaf7d36.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o,a}from"./app.3817bf4e.js";const p='{"title":"Customize Agent","description":"","frontmatter":{},"headers":[{"level":2,"title":"Customize Agent","slug":"customize-agent"}],"relativePath":"en_US/guide/q7.md","lastUpdated":1681026579000}',i={},n=a("",6),s=[n];function r(d,c,l,u,h,g){return o(),t("div",null,s)}var f=e(i,[["render",r]]);export{p as __pageData,f as default}; +import{_ as e,c as t,o,a}from"./app.3817bf4e.js";const p='{"title":"Customize Agent","description":"","frontmatter":{},"headers":[{"level":2,"title":"Customize Agent","slug":"customize-agent"}],"relativePath":"en_US/guide/q7.md","lastUpdated":1682076617000}',i={},n=a("",6),s=[n];function r(d,c,l,u,h,g){return o(),t("div",null,s)}var f=e(i,[["render",r]]);export{p as __pageData,f as default}; diff --git a/assets/en_US_guide_servers.md.86631cfc.js b/assets/en_US_guide_servers.md.907abee0.js similarity index 98% rename from assets/en_US_guide_servers.md.86631cfc.js rename to assets/en_US_guide_servers.md.907abee0.js index f75ec10a..f1b97d9d 100644 --- a/assets/en_US_guide_servers.md.86631cfc.js +++ b/assets/en_US_guide_servers.md.907abee0.js @@ -1 +1 @@ -import{_ as e,c as t,o as a,a as n}from"./app.3817bf4e.js";const p='{"title":"Servers","description":"","frontmatter":{},"headers":[{"level":2,"title":"Introduction","slug":"introduction"},{"level":2,"title":"Add a server","slug":"add-a-server"},{"level":2,"title":"Install Agent","slug":"install-agent"},{"level":2,"title":"Forced Updates","slug":"forced-updates"},{"level":2,"title":"Data List","slug":"data-list"},{"level":2,"title":"Webshell","slug":"webshell"}],"relativePath":"en_US/guide/servers.md","lastUpdated":1681026579000}',r={},i=n('

      Servers

      Introduction

      The Servers area is responsible for managing the Agent, the most basic area in Nezha Monitoring, and the basis for other functions.

      Add a server

      The first step is to add a servers, which can be customized with names, groups, display index and notes.
      Servers in the same group will be displayed in groups in supported themes, and notes will only be displayed in the admin panel, no need to worry about leaking information.

      Install Agent

      Please refer to the previous article: Install Agent
      We recommend using one-click installation, that is, after configuring the communication domain name, click the button on the column one-click installation and copy it to the monitored servers for installation.

      Forced Updates

      The flags related to the update of the Agent are: --disable-auto-update and --disable-force-update. Please refer to Customize Agent
      By default, the Agent is updated automatically, but when the user turns off automatic updates, the specified servers can also be selected for forced updates.
      This feature does not take effect when -disable-force-update is turned on.

      Data List

      • Version number: Record the current version of Agent
      • Secret: Used when configuring the Agent
      • One-Click Installation: A more convenient way to install Agent
      • Manage: WebShell on the left, Edit in the middle, Delete on the right

      Webshell

      This feature does not take effect when disable-command-execute is turned on.
      Both Linux and Windows are available and can be pasted using Ctrl+Shift+V.
      For connection failure, please refer to Real-time channel disconnection/online terminal connection failure.
      Note that in theWebShell function, the Agent also connects to the Domain names for public access via WebSocket, not via grpc.

      ',13),s=[i];function o(d,l,h,c,u,f){return a(),t("div",null,s)}var b=e(r,[["render",o]]);export{p as __pageData,b as default}; +import{_ as e,c as t,o as a,a as n}from"./app.3817bf4e.js";const p='{"title":"Servers","description":"","frontmatter":{},"headers":[{"level":2,"title":"Introduction","slug":"introduction"},{"level":2,"title":"Add a server","slug":"add-a-server"},{"level":2,"title":"Install Agent","slug":"install-agent"},{"level":2,"title":"Forced Updates","slug":"forced-updates"},{"level":2,"title":"Data List","slug":"data-list"},{"level":2,"title":"Webshell","slug":"webshell"}],"relativePath":"en_US/guide/servers.md","lastUpdated":1682076617000}',r={},i=n('

      Servers

      Introduction

      The Servers area is responsible for managing the Agent, the most basic area in Nezha Monitoring, and the basis for other functions.

      Add a server

      The first step is to add a servers, which can be customized with names, groups, display index and notes.
      Servers in the same group will be displayed in groups in supported themes, and notes will only be displayed in the admin panel, no need to worry about leaking information.

      Install Agent

      Please refer to the previous article: Install Agent
      We recommend using one-click installation, that is, after configuring the communication domain name, click the button on the column one-click installation and copy it to the monitored servers for installation.

      Forced Updates

      The flags related to the update of the Agent are: --disable-auto-update and --disable-force-update. Please refer to Customize Agent
      By default, the Agent is updated automatically, but when the user turns off automatic updates, the specified servers can also be selected for forced updates.
      This feature does not take effect when -disable-force-update is turned on.

      Data List

      • Version number: Record the current version of Agent
      • Secret: Used when configuring the Agent
      • One-Click Installation: A more convenient way to install Agent
      • Manage: WebShell on the left, Edit in the middle, Delete on the right

      Webshell

      This feature does not take effect when disable-command-execute is turned on.
      Both Linux and Windows are available and can be pasted using Ctrl+Shift+V.
      For connection failure, please refer to Real-time channel disconnection/online terminal connection failure.
      Note that in theWebShell function, the Agent also connects to the Domain names for public access via WebSocket, not via grpc.

      ',13),s=[i];function o(d,l,h,c,u,f){return a(),t("div",null,s)}var b=e(r,[["render",o]]);export{p as __pageData,b as default}; diff --git a/assets/en_US_guide_servers.md.86631cfc.lean.js b/assets/en_US_guide_servers.md.907abee0.lean.js similarity index 90% rename from assets/en_US_guide_servers.md.86631cfc.lean.js rename to assets/en_US_guide_servers.md.907abee0.lean.js index 63ba245c..7bec9e40 100644 --- a/assets/en_US_guide_servers.md.86631cfc.lean.js +++ b/assets/en_US_guide_servers.md.907abee0.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o as a,a as n}from"./app.3817bf4e.js";const p='{"title":"Servers","description":"","frontmatter":{},"headers":[{"level":2,"title":"Introduction","slug":"introduction"},{"level":2,"title":"Add a server","slug":"add-a-server"},{"level":2,"title":"Install Agent","slug":"install-agent"},{"level":2,"title":"Forced Updates","slug":"forced-updates"},{"level":2,"title":"Data List","slug":"data-list"},{"level":2,"title":"Webshell","slug":"webshell"}],"relativePath":"en_US/guide/servers.md","lastUpdated":1681026579000}',r={},i=n("",13),s=[i];function o(d,l,h,c,u,f){return a(),t("div",null,s)}var b=e(r,[["render",o]]);export{p as __pageData,b as default}; +import{_ as e,c as t,o as a,a as n}from"./app.3817bf4e.js";const p='{"title":"Servers","description":"","frontmatter":{},"headers":[{"level":2,"title":"Introduction","slug":"introduction"},{"level":2,"title":"Add a server","slug":"add-a-server"},{"level":2,"title":"Install Agent","slug":"install-agent"},{"level":2,"title":"Forced Updates","slug":"forced-updates"},{"level":2,"title":"Data List","slug":"data-list"},{"level":2,"title":"Webshell","slug":"webshell"}],"relativePath":"en_US/guide/servers.md","lastUpdated":1682076617000}',r={},i=n("",13),s=[i];function o(d,l,h,c,u,f){return a(),t("div",null,s)}var b=e(r,[["render",o]]);export{p as __pageData,b as default}; diff --git a/assets/en_US_guide_services.md.0b2735c5.js b/assets/en_US_guide_services.md.9aead7e8.js similarity index 98% rename from assets/en_US_guide_services.md.0b2735c5.js rename to assets/en_US_guide_services.md.9aead7e8.js index 665aa636..41420174 100644 --- a/assets/en_US_guide_services.md.0b2735c5.js +++ b/assets/en_US_guide_services.md.9aead7e8.js @@ -1 +1 @@ -import{_ as e,c as t,o,a as i}from"./app.3817bf4e.js";const m='{"title":"How to use","description":"","frontmatter":{},"headers":[{"level":2,"title":"How to use","slug":"how-to-use"},{"level":2,"title":"Notification of delay changes","slug":"notification-of-delay-changes"},{"level":2,"title":"Management Monitor","slug":"management-monitor"}],"relativePath":"en_US/guide/services.md","lastUpdated":1681026579000}',n={},a=i('

      Service area is a function setting area for setting up Agents to monitor external websites or servers
      The monitoring results can be viewed on the "Services" page in the home page

      How to use

      To add a new monitor, you can go to the "Services" page in the administration panel and click "Add Service Monitor".

      To add a service monitor, you need to complete the following settings:

      • Name - Customize a name

      • Type - Select a monitoring type. Nezha currently supports three monitoring types: "HTTP-GET", "ICMP-Ping" and "TCP-Ping".

      • Target - Depending on the type you choose, the target is set in different ways

      • HTTP-GET: Selecting this type, you should enter a URL as the target, the URL should be added with http:// or https:// If your target URL is https://, it will also monitor the SSL certificate of that URL and trigger a notification when the SSL certificate expires or changes.
        For example: https://example.com
      • ICMP-Ping: When selecting this type, you should enter a domain name or IP without a port number
        For example: 1.1.1.1 or example.com
      • TCP-Ping: When selecting this type, you should enter a domain name or IP and include the port number
        For example: 1.1.1.1:80 or example.com:22
      • Interval\uFF1A Sets the time interval in seconds between each time Agent sends requests to the target

      • Coverage\uFF1A Select a rule to determine which Agents to use to send requests to the target

      • Specific Servers\uFF1A Use with coverage to select the Agent to be excluded from the rule

      • Notification Group\uFF1A Select the notification method you have set up on the "Notification" page. Click here for more information

      • Enable Failure Notification\uFF1A Select whether to receive target failure notifications as needed, default is inactive

      After setting, click "Add" and you are done.
      Wait for a moment to go to the "Services" page on the home page to view the monitoring results

      Notification of delay changes

      Nezha Monitoring monitors and statistics the delay between the Agent and the target server, and sends notifications in case of significant changes
      Use this feature to help you monitor your server's routes for changes

      • Enable delay notifications\uFF1AWhen enabled, notifications will be sent when the Agent to target server delay is higher than the Max delay or lower than the Min delay

      Management Monitor

      To manage existing service monitoring, you can go to the "Services" page in the administration panel
      Select a monitoring configuration and click the icon on the right to edit or delete it

      ',15),r=[a];function c(s,l,d,h,u,p){return o(),t("div",null,r)}var f=e(n,[["render",c]]);export{m as __pageData,f as default}; +import{_ as e,c as t,o,a as i}from"./app.3817bf4e.js";const m='{"title":"How to use","description":"","frontmatter":{},"headers":[{"level":2,"title":"How to use","slug":"how-to-use"},{"level":2,"title":"Notification of delay changes","slug":"notification-of-delay-changes"},{"level":2,"title":"Management Monitor","slug":"management-monitor"}],"relativePath":"en_US/guide/services.md","lastUpdated":1682076617000}',n={},a=i('

      Service area is a function setting area for setting up Agents to monitor external websites or servers
      The monitoring results can be viewed on the "Services" page in the home page

      How to use

      To add a new monitor, you can go to the "Services" page in the administration panel and click "Add Service Monitor".

      To add a service monitor, you need to complete the following settings:

      • Name - Customize a name

      • Type - Select a monitoring type. Nezha currently supports three monitoring types: "HTTP-GET", "ICMP-Ping" and "TCP-Ping".

      • Target - Depending on the type you choose, the target is set in different ways

      • HTTP-GET: Selecting this type, you should enter a URL as the target, the URL should be added with http:// or https:// If your target URL is https://, it will also monitor the SSL certificate of that URL and trigger a notification when the SSL certificate expires or changes.
        For example: https://example.com
      • ICMP-Ping: When selecting this type, you should enter a domain name or IP without a port number
        For example: 1.1.1.1 or example.com
      • TCP-Ping: When selecting this type, you should enter a domain name or IP and include the port number
        For example: 1.1.1.1:80 or example.com:22
      • Interval\uFF1A Sets the time interval in seconds between each time Agent sends requests to the target

      • Coverage\uFF1A Select a rule to determine which Agents to use to send requests to the target

      • Specific Servers\uFF1A Use with coverage to select the Agent to be excluded from the rule

      • Notification Group\uFF1A Select the notification method you have set up on the "Notification" page. Click here for more information

      • Enable Failure Notification\uFF1A Select whether to receive target failure notifications as needed, default is inactive

      After setting, click "Add" and you are done.
      Wait for a moment to go to the "Services" page on the home page to view the monitoring results

      Notification of delay changes

      Nezha Monitoring monitors and statistics the delay between the Agent and the target server, and sends notifications in case of significant changes
      Use this feature to help you monitor your server's routes for changes

      • Enable delay notifications\uFF1AWhen enabled, notifications will be sent when the Agent to target server delay is higher than the Max delay or lower than the Min delay

      Management Monitor

      To manage existing service monitoring, you can go to the "Services" page in the administration panel
      Select a monitoring configuration and click the icon on the right to edit or delete it

      ',15),r=[a];function c(s,l,d,h,u,p){return o(),t("div",null,r)}var f=e(n,[["render",c]]);export{m as __pageData,f as default}; diff --git a/assets/en_US_guide_services.md.0b2735c5.lean.js b/assets/en_US_guide_services.md.9aead7e8.lean.js similarity index 88% rename from assets/en_US_guide_services.md.0b2735c5.lean.js rename to assets/en_US_guide_services.md.9aead7e8.lean.js index f541622e..72a9ec84 100644 --- a/assets/en_US_guide_services.md.0b2735c5.lean.js +++ b/assets/en_US_guide_services.md.9aead7e8.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o,a as i}from"./app.3817bf4e.js";const m='{"title":"How to use","description":"","frontmatter":{},"headers":[{"level":2,"title":"How to use","slug":"how-to-use"},{"level":2,"title":"Notification of delay changes","slug":"notification-of-delay-changes"},{"level":2,"title":"Management Monitor","slug":"management-monitor"}],"relativePath":"en_US/guide/services.md","lastUpdated":1681026579000}',n={},a=i("",15),r=[a];function c(s,l,d,h,u,p){return o(),t("div",null,r)}var f=e(n,[["render",c]]);export{m as __pageData,f as default}; +import{_ as e,c as t,o,a as i}from"./app.3817bf4e.js";const m='{"title":"How to use","description":"","frontmatter":{},"headers":[{"level":2,"title":"How to use","slug":"how-to-use"},{"level":2,"title":"Notification of delay changes","slug":"notification-of-delay-changes"},{"level":2,"title":"Management Monitor","slug":"management-monitor"}],"relativePath":"en_US/guide/services.md","lastUpdated":1682076617000}',n={},a=i("",15),r=[a];function c(s,l,d,h,u,p){return o(),t("div",null,r)}var f=e(n,[["render",c]]);export{m as __pageData,f as default}; diff --git a/assets/en_US_guide_settings.md.6bae2d67.js b/assets/en_US_guide_settings.md.2c039877.js similarity index 99% rename from assets/en_US_guide_settings.md.6bae2d67.js rename to assets/en_US_guide_settings.md.2c039877.js index 24570e49..0a810621 100644 --- a/assets/en_US_guide_settings.md.6bae2d67.js +++ b/assets/en_US_guide_settings.md.2c039877.js @@ -1,4 +1,4 @@ -import{_ as a,c as n,o as s,a as t}from"./app.3817bf4e.js";const g='{"title":"Site Title","description":"","frontmatter":{},"headers":[{"level":2,"title":"Site Title","slug":"site-title"},{"level":2,"title":"Admin List","slug":"admin-list"},{"level":2,"title":"Theme","slug":"theme"},{"level":2,"title":"Language","slug":"language"},{"level":2,"title":"Custom code (style, script)","slug":"custom-code-style-script"},{"level":2,"title":"Access Password","slug":"access-password"},{"level":2,"title":"CDN Bypassed Domain/IP","slug":"cdn-bypassed-domain-ip"},{"level":2,"title":"IP Change Alert","slug":"ip-change-alert"}],"relativePath":"en_US/guide/settings.md","lastUpdated":1681026579000}',e={},o=t(`

      Site Title

      You can customize your site title here

      Admin List

      • If you have changed your Github, Gitlab, Jihulab, Gitee username, you can change it in this item, otherwise you can't log in, please separate multiple users with commas: user1,user2

      • To change your administrator account, please go to /opt/nezha/dashboard/data/config.yaml to set the new administrator Client ID and Client Secret.

      Theme

      Select the home page theme here, and update the panel if there is not an existing theme in the options

      Language

      Nezha Monitoring currently supports the following languages:

      • \u7B80\u4F53\u4E2D\u6587
      • English
      • Espa\xF1ol


      We welcome corrections to translations and contributions of additional languages

      Custom code (style, script)

      Change logo, change color tone, add statistics code, etc.

      WARNING

      The custom code only takes effect in the visitor's home page, not in the admin panel.
      Since the code of different themes is different, if you really need to modify the content of the admin panel, please enter Docker to changes it by yourself.


      Example of changing the default theme progress bar color

      <style>
      +import{_ as a,c as n,o as s,a as t}from"./app.3817bf4e.js";const g='{"title":"Site Title","description":"","frontmatter":{},"headers":[{"level":2,"title":"Site Title","slug":"site-title"},{"level":2,"title":"Admin List","slug":"admin-list"},{"level":2,"title":"Theme","slug":"theme"},{"level":2,"title":"Language","slug":"language"},{"level":2,"title":"Custom code (style, script)","slug":"custom-code-style-script"},{"level":2,"title":"Access Password","slug":"access-password"},{"level":2,"title":"CDN Bypassed Domain/IP","slug":"cdn-bypassed-domain-ip"},{"level":2,"title":"IP Change Alert","slug":"ip-change-alert"}],"relativePath":"en_US/guide/settings.md","lastUpdated":1682076617000}',e={},o=t(`

      Site Title

      You can customize your site title here

      Admin List

      • If you have changed your Github, Gitlab, Jihulab, Gitee username, you can change it in this item, otherwise you can't log in, please separate multiple users with commas: user1,user2

      • To change your administrator account, please go to /opt/nezha/dashboard/data/config.yaml to set the new administrator Client ID and Client Secret.

      Theme

      Select the home page theme here, and update the panel if there is not an existing theme in the options

      Language

      Nezha Monitoring currently supports the following languages:

      • \u7B80\u4F53\u4E2D\u6587
      • English
      • Espa\xF1ol


      We welcome corrections to translations and contributions of additional languages

      Custom code (style, script)

      Change logo, change color tone, add statistics code, etc.

      WARNING

      The custom code only takes effect in the visitor's home page, not in the admin panel.
      Since the code of different themes is different, if you really need to modify the content of the admin panel, please enter Docker to changes it by yourself.


      Example of changing the default theme progress bar color

      <style>
       .ui.fine.progress> .bar {
           background-color: pink !important;
       }
      diff --git a/assets/en_US_guide_settings.md.6bae2d67.lean.js b/assets/en_US_guide_settings.md.2c039877.lean.js
      similarity index 92%
      rename from assets/en_US_guide_settings.md.6bae2d67.lean.js
      rename to assets/en_US_guide_settings.md.2c039877.lean.js
      index 7b722fea..f5d734b1 100644
      --- a/assets/en_US_guide_settings.md.6bae2d67.lean.js
      +++ b/assets/en_US_guide_settings.md.2c039877.lean.js
      @@ -1 +1 @@
      -import{_ as a,c as n,o as s,a as t}from"./app.3817bf4e.js";const g='{"title":"Site Title","description":"","frontmatter":{},"headers":[{"level":2,"title":"Site Title","slug":"site-title"},{"level":2,"title":"Admin List","slug":"admin-list"},{"level":2,"title":"Theme","slug":"theme"},{"level":2,"title":"Language","slug":"language"},{"level":2,"title":"Custom code (style, script)","slug":"custom-code-style-script"},{"level":2,"title":"Access Password","slug":"access-password"},{"level":2,"title":"CDN Bypassed Domain/IP","slug":"cdn-bypassed-domain-ip"},{"level":2,"title":"IP Change Alert","slug":"ip-change-alert"}],"relativePath":"en_US/guide/settings.md","lastUpdated":1681026579000}',e={},o=t("",37),p=[o];function c(i,l,r,u,d,h){return s(),n("div",null,p)}var f=a(e,[["render",c]]);export{g as __pageData,f as default};
      +import{_ as a,c as n,o as s,a as t}from"./app.3817bf4e.js";const g='{"title":"Site Title","description":"","frontmatter":{},"headers":[{"level":2,"title":"Site Title","slug":"site-title"},{"level":2,"title":"Admin List","slug":"admin-list"},{"level":2,"title":"Theme","slug":"theme"},{"level":2,"title":"Language","slug":"language"},{"level":2,"title":"Custom code (style, script)","slug":"custom-code-style-script"},{"level":2,"title":"Access Password","slug":"access-password"},{"level":2,"title":"CDN Bypassed Domain/IP","slug":"cdn-bypassed-domain-ip"},{"level":2,"title":"IP Change Alert","slug":"ip-change-alert"}],"relativePath":"en_US/guide/settings.md","lastUpdated":1682076617000}',e={},o=t("",37),p=[o];function c(i,l,r,u,d,h){return s(),n("div",null,p)}var f=a(e,[["render",c]]);export{g as __pageData,f as default};
      diff --git a/assets/en_US_guide_tasks.md.99cd12e1.js b/assets/en_US_guide_tasks.md.7db037a5.js
      similarity index 98%
      rename from assets/en_US_guide_tasks.md.99cd12e1.js
      rename to assets/en_US_guide_tasks.md.7db037a5.js
      index c174cd85..49cd22ad 100644
      --- a/assets/en_US_guide_tasks.md.99cd12e1.js
      +++ b/assets/en_US_guide_tasks.md.7db037a5.js
      @@ -1 +1 @@
      -import{_ as e,c as t,o,a}from"./app.3817bf4e.js";const m='{"title":"How to use","description":"","frontmatter":{},"headers":[{"level":2,"title":"How to use","slug":"how-to-use"},{"level":2,"title":"Manage tasks","slug":"manage-tasks"},{"level":2,"title":"FAQ","slug":"faq"}],"relativePath":"en_US/guide/tasks.md","lastUpdated":1681026579000}',i={},s=a('

      In the task area, you can set up scheduled tasks, Trigger tasks, and multi-server batch execution tasks

      Nezha monitoring supports pushing commands to the Agent for execution, so this feature is very flexible and can be used to periodically back up the server in conjunction with restic, rclone. Periodically restart a service to reset the network connection. It can also be used with notifications to perform a task when a notification is triggered, such as running a script when the CPU is at high occupancy for a long period of time.

      How to use

      Go to the "Tasks" page of the admin panel and click "Add Scheduled Task"
      To add a scheduled task you need to make the following settings:

      • Name - Customize a task name

      • Task Type - select the type of task
        Scheduled Tasks - Tasks are executed periodically at the scheduled time set below
        Trigger Tasks - Tasks that are triggered only by API or notification rules and are executed once per trigger

      • Cron Expression - (Not valid when using the trigger task type) Set schedule time, the Cron Expression is like:\uFF1A * * * * * * sec min hour day month week, see details in CRON Expression Format
        For example: 0 0 3 * * * is Every day at 3 o'clock

      • Command - Just like writing shell/bat scripts, but line wrap is not recommended, Multiple Commands should be connected with &&/&
        For example, to execute a periodic reboot command, you can type reboot here

      • Coverage and Specific Servers - Similar to the settings on the Services page, select rules to determine which Agents need to execute scheduled tasks
        When using the trigger task type, you can select Only servers that are included in the notification rule

      • Notification Group - Select the notification method you have set up on the "Notification" page. Click here for more information

      • Send Success Notification - When this item is activated, a message notification will be triggered when the task is successfully executed

      Manage tasks

      To manage existing scheduled tasks, you can go to the "Tasks" page in the administration panel
      Select a task configuration and the three icons on the right, which are:

      • Execute Now - When clicked, the scheduled time will be ignored and the task will be executed immediately
      • Edit - Click to modify the task configuration
      • Delete - Delete this scheduled task

      FAQ

      1. Command not found
        Command not found may cause by missing PATH environment variable, for Linux Server, you may try adding source ~/.bashrc at beginning of your command or execute by absolute path.
      ',10),n=[s];function r(c,d,l,h,u,p){return o(),t("div",null,n)}var f=e(i,[["render",r]]);export{m as __pageData,f as default}; +import{_ as e,c as t,o,a}from"./app.3817bf4e.js";const m='{"title":"How to use","description":"","frontmatter":{},"headers":[{"level":2,"title":"How to use","slug":"how-to-use"},{"level":2,"title":"Manage tasks","slug":"manage-tasks"},{"level":2,"title":"FAQ","slug":"faq"}],"relativePath":"en_US/guide/tasks.md","lastUpdated":1682076617000}',i={},s=a('

      In the task area, you can set up scheduled tasks, Trigger tasks, and multi-server batch execution tasks

      Nezha monitoring supports pushing commands to the Agent for execution, so this feature is very flexible and can be used to periodically back up the server in conjunction with restic, rclone. Periodically restart a service to reset the network connection. It can also be used with notifications to perform a task when a notification is triggered, such as running a script when the CPU is at high occupancy for a long period of time.

      How to use

      Go to the "Tasks" page of the admin panel and click "Add Scheduled Task"
      To add a scheduled task you need to make the following settings:

      • Name - Customize a task name

      • Task Type - select the type of task
        Scheduled Tasks - Tasks are executed periodically at the scheduled time set below
        Trigger Tasks - Tasks that are triggered only by API or notification rules and are executed once per trigger

      • Cron Expression - (Not valid when using the trigger task type) Set schedule time, the Cron Expression is like:\uFF1A * * * * * * sec min hour day month week, see details in CRON Expression Format
        For example: 0 0 3 * * * is Every day at 3 o'clock

      • Command - Just like writing shell/bat scripts, but line wrap is not recommended, Multiple Commands should be connected with &&/&
        For example, to execute a periodic reboot command, you can type reboot here

      • Coverage and Specific Servers - Similar to the settings on the Services page, select rules to determine which Agents need to execute scheduled tasks
        When using the trigger task type, you can select Only servers that are included in the notification rule

      • Notification Group - Select the notification method you have set up on the "Notification" page. Click here for more information

      • Send Success Notification - When this item is activated, a message notification will be triggered when the task is successfully executed

      Manage tasks

      To manage existing scheduled tasks, you can go to the "Tasks" page in the administration panel
      Select a task configuration and the three icons on the right, which are:

      • Execute Now - When clicked, the scheduled time will be ignored and the task will be executed immediately
      • Edit - Click to modify the task configuration
      • Delete - Delete this scheduled task

      FAQ

      1. Command not found
        Command not found may cause by missing PATH environment variable, for Linux Server, you may try adding source ~/.bashrc at beginning of your command or execute by absolute path.
      ',10),n=[s];function r(c,d,l,h,u,p){return o(),t("div",null,n)}var f=e(i,[["render",r]]);export{m as __pageData,f as default}; diff --git a/assets/en_US_guide_tasks.md.99cd12e1.lean.js b/assets/en_US_guide_tasks.md.7db037a5.lean.js similarity index 86% rename from assets/en_US_guide_tasks.md.99cd12e1.lean.js rename to assets/en_US_guide_tasks.md.7db037a5.lean.js index 4ccdf9d4..b820032f 100644 --- a/assets/en_US_guide_tasks.md.99cd12e1.lean.js +++ b/assets/en_US_guide_tasks.md.7db037a5.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o,a}from"./app.3817bf4e.js";const m='{"title":"How to use","description":"","frontmatter":{},"headers":[{"level":2,"title":"How to use","slug":"how-to-use"},{"level":2,"title":"Manage tasks","slug":"manage-tasks"},{"level":2,"title":"FAQ","slug":"faq"}],"relativePath":"en_US/guide/tasks.md","lastUpdated":1681026579000}',i={},s=a("",10),n=[s];function r(c,d,l,h,u,p){return o(),t("div",null,n)}var f=e(i,[["render",r]]);export{m as __pageData,f as default}; +import{_ as e,c as t,o,a}from"./app.3817bf4e.js";const m='{"title":"How to use","description":"","frontmatter":{},"headers":[{"level":2,"title":"How to use","slug":"how-to-use"},{"level":2,"title":"Manage tasks","slug":"manage-tasks"},{"level":2,"title":"FAQ","slug":"faq"}],"relativePath":"en_US/guide/tasks.md","lastUpdated":1682076617000}',i={},s=a("",10),n=[s];function r(c,d,l,h,u,p){return o(),t("div",null,n)}var f=e(i,[["render",r]]);export{m as __pageData,f as default}; diff --git a/assets/en_US_index.md.9a861ce5.js b/assets/en_US_index.md.11305dae.js similarity index 95% rename from assets/en_US_index.md.9a861ce5.js rename to assets/en_US_index.md.11305dae.js index 49d6e353..92a5c1da 100644 --- a/assets/en_US_index.md.9a861ce5.js +++ b/assets/en_US_index.md.11305dae.js @@ -1 +1 @@ -import{_ as o,c as a,o as s,b as e,d as t}from"./app.3817bf4e.js";const f='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://raw.githubusercontent.com/naiba/nezha/master/resource/static/brand.svg","heroText":"Nezha Monitoring","tagline":"A open source, lightweight server and website monitoring and O&M tool","actionText":"Learn More \u2192","actionLink":"/en_US/guide/dashboard","features":[{"title":"One-Click Installation","details":"Support use one-click script to install Dashboard and Agent services; Linux, WIndows, MacOS, OpenWRT and other mainstream systems are supported"},{"title":"Monitoring at any time","details":"Support monitoring the system status of multiple servers at the same time, support monitoring the status of web pages, ports, SSL certificates; support notifications in case of failure, out of data and other status. Support multiple notification methods (Telegram, email, WeChat, etc.)"},{"title":"Lightweight O&M tool","details":"Support WebSSH, support cyclic monitoring data, support setting scheduled tasks and running command on multiple servers"}],"footer":"Copyright \xA9 2022-present Nezhahq"},"headers":[],"relativePath":"en_US/index.md","lastUpdated":1681026579000}',n={},i=e("p",null,[e("br"),t("This work is licensed under a "),e("a",{rel:"license",href:"http://creativecommons.org/licenses/by-nc-sa/4.0/"},"Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License"),t(".")],-1),r=[i];function c(l,p,d,m,u,h){return s(),a("div",null,r)}var _=o(n,[["render",c]]);export{f as __pageData,_ as default}; +import{_ as o,c as a,o as s,b as e,d as t}from"./app.3817bf4e.js";const f='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://raw.githubusercontent.com/naiba/nezha/master/resource/static/brand.svg","heroText":"Nezha Monitoring","tagline":"A open source, lightweight server and website monitoring and O&M tool","actionText":"Learn More \u2192","actionLink":"/en_US/guide/dashboard","features":[{"title":"One-Click Installation","details":"Support use one-click script to install Dashboard and Agent services; Linux, WIndows, MacOS, OpenWRT and other mainstream systems are supported"},{"title":"Monitoring at any time","details":"Support monitoring the system status of multiple servers at the same time, support monitoring the status of web pages, ports, SSL certificates; support notifications in case of failure, out of data and other status. Support multiple notification methods (Telegram, email, WeChat, etc.)"},{"title":"Lightweight O&M tool","details":"Support WebSSH, support cyclic monitoring data, support setting scheduled tasks and running command on multiple servers"}],"footer":"Copyright \xA9 2022-present Nezhahq"},"headers":[],"relativePath":"en_US/index.md","lastUpdated":1682076617000}',n={},i=e("p",null,[e("br"),t("This work is licensed under a "),e("a",{rel:"license",href:"http://creativecommons.org/licenses/by-nc-sa/4.0/"},"Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License"),t(".")],-1),r=[i];function c(l,p,d,m,u,h){return s(),a("div",null,r)}var _=o(n,[["render",c]]);export{f as __pageData,_ as default}; diff --git a/assets/en_US_index.md.9a861ce5.lean.js b/assets/en_US_index.md.11305dae.lean.js similarity index 95% rename from assets/en_US_index.md.9a861ce5.lean.js rename to assets/en_US_index.md.11305dae.lean.js index 49d6e353..92a5c1da 100644 --- a/assets/en_US_index.md.9a861ce5.lean.js +++ b/assets/en_US_index.md.11305dae.lean.js @@ -1 +1 @@ -import{_ as o,c as a,o as s,b as e,d as t}from"./app.3817bf4e.js";const f='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://raw.githubusercontent.com/naiba/nezha/master/resource/static/brand.svg","heroText":"Nezha Monitoring","tagline":"A open source, lightweight server and website monitoring and O&M tool","actionText":"Learn More \u2192","actionLink":"/en_US/guide/dashboard","features":[{"title":"One-Click Installation","details":"Support use one-click script to install Dashboard and Agent services; Linux, WIndows, MacOS, OpenWRT and other mainstream systems are supported"},{"title":"Monitoring at any time","details":"Support monitoring the system status of multiple servers at the same time, support monitoring the status of web pages, ports, SSL certificates; support notifications in case of failure, out of data and other status. Support multiple notification methods (Telegram, email, WeChat, etc.)"},{"title":"Lightweight O&M tool","details":"Support WebSSH, support cyclic monitoring data, support setting scheduled tasks and running command on multiple servers"}],"footer":"Copyright \xA9 2022-present Nezhahq"},"headers":[],"relativePath":"en_US/index.md","lastUpdated":1681026579000}',n={},i=e("p",null,[e("br"),t("This work is licensed under a "),e("a",{rel:"license",href:"http://creativecommons.org/licenses/by-nc-sa/4.0/"},"Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License"),t(".")],-1),r=[i];function c(l,p,d,m,u,h){return s(),a("div",null,r)}var _=o(n,[["render",c]]);export{f as __pageData,_ as default}; +import{_ as o,c as a,o as s,b as e,d as t}from"./app.3817bf4e.js";const f='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://raw.githubusercontent.com/naiba/nezha/master/resource/static/brand.svg","heroText":"Nezha Monitoring","tagline":"A open source, lightweight server and website monitoring and O&M tool","actionText":"Learn More \u2192","actionLink":"/en_US/guide/dashboard","features":[{"title":"One-Click Installation","details":"Support use one-click script to install Dashboard and Agent services; Linux, WIndows, MacOS, OpenWRT and other mainstream systems are supported"},{"title":"Monitoring at any time","details":"Support monitoring the system status of multiple servers at the same time, support monitoring the status of web pages, ports, SSL certificates; support notifications in case of failure, out of data and other status. Support multiple notification methods (Telegram, email, WeChat, etc.)"},{"title":"Lightweight O&M tool","details":"Support WebSSH, support cyclic monitoring data, support setting scheduled tasks and running command on multiple servers"}],"footer":"Copyright \xA9 2022-present Nezhahq"},"headers":[],"relativePath":"en_US/index.md","lastUpdated":1682076617000}',n={},i=e("p",null,[e("br"),t("This work is licensed under a "),e("a",{rel:"license",href:"http://creativecommons.org/licenses/by-nc-sa/4.0/"},"Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License"),t(".")],-1),r=[i];function c(l,p,d,m,u,h){return s(),a("div",null,r)}var _=o(n,[["render",c]]);export{f as __pageData,_ as default}; diff --git a/assets/guide_agent.md.d0f22c88.js b/assets/guide_agent.md.59488614.js similarity index 99% rename from assets/guide_agent.md.d0f22c88.js rename to assets/guide_agent.md.59488614.js index b8595229..1c4bcaae 100644 --- a/assets/guide_agent.md.d0f22c88.js +++ b/assets/guide_agent.md.59488614.js @@ -1,4 +1,4 @@ -import{_ as n,c as a,o as s,a as t}from"./app.3817bf4e.js";const h='{"title":"\u4E00\u952E\u5B89\u88C5 Agent","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4E00\u952E\u5B89\u88C5 Agent","slug":"\u4E00\u952E\u5B89\u88C5-agent"},{"level":3,"title":"\u51C6\u5907\u5DE5\u4F5C","slug":"\u51C6\u5907\u5DE5\u4F5C"},{"level":3,"title":"\u5728 Linux \u4E2D\u4E00\u952E\u5B89\u88C5 (Ubuntu\u3001Debian\u3001CentOS)","slug":"\u5728-linux-\u4E2D\u4E00\u952E\u5B89\u88C5-ubuntu\u3001debian\u3001centos"},{"level":3,"title":"\u5728 Windows \u4E2D\u4E00\u952E\u5B89\u88C5","slug":"\u5728-windows-\u4E2D\u4E00\u952E\u5B89\u88C5"},{"level":2,"title":"\u5176\u4ED6\u65B9\u5F0F\u5B89\u88C5 Agent","slug":"\u5176\u4ED6\u65B9\u5F0F\u5B89\u88C5-agent"},{"level":3,"title":"\u5728 Linux \u4E2D\u5B89\u88C5 Agent (Ubuntu\u3001Debian\u3001CentOS)","slug":"\u5728-linux-\u4E2D\u5B89\u88C5-agent-ubuntu\u3001debian\u3001centos"},{"level":3,"title":"\u5728 \u5176\u4ED6 Linux \u5982 Alpine \u4F7F\u7528 Openrc \u7684\u53D1\u884C\u7248 \u5B89\u88C5 Agent","slug":"\u5728-\u5176\u4ED6-linux-\u5982-alpine-\u4F7F\u7528-openrc-\u7684\u53D1\u884C\u7248-\u5B89\u88C5-agent"},{"level":3,"title":"\u5728 Windows \u4E2D\u5B89\u88C5 Agent","slug":"\u5728-windows-\u4E2D\u5B89\u88C5-agent"},{"level":3,"title":"\u5728 \u7FA4\u6656DSM \u4E2D\u5B89\u88C5 Agent","slug":"\u5728-\u7FA4\u6656dsm-\u4E2D\u5B89\u88C5-agent"},{"level":3,"title":"\u5728 MacOS \u4E2D\u5B89\u88C5 Agent","slug":"\u5728-macos-\u4E2D\u5B89\u88C5-agent"},{"level":3,"title":"\u5728 OpenWRT \u4E2D\u5B89\u88C5 Agent","slug":"\u5728-openwrt-\u4E2D\u5B89\u88C5-agent"},{"level":2,"title":"FAQ","slug":"faq"},{"level":3,"title":"Agent \u6709 Docker \u955C\u50CF\u5417\uFF1F","slug":"agent-\u6709-docker-\u955C\u50CF\u5417\uFF1F"}],"relativePath":"guide/agent.md","lastUpdated":1681026579000}',e={},p=t(`

      \u54EA\u5412\u76D1\u63A7\u7684\u88AB\u63A7\u7AEF\u670D\u52A1\u88AB\u79F0\u4E3A Agent\uFF0C\u672C\u6587\u6863\u5C06\u4ECB\u7ECD\u5982\u4F55\u5728\u88AB\u63A7\u7AEF\u670D\u52A1\u5668\u4E0A\u5B89\u88C5 Agent\uFF0C\u5E76\u4E0E Dashboard \u8FDE\u63A5

      \u4E00\u952E\u5B89\u88C5 Agent

      \u76EE\u524D\u54EA\u5412\u76D1\u63A7\u5DF2\u652F\u6301\u5728 Windows \u548C Linux\u4E0A\u4E00\u952E\u5B89\u88C5 Agent\uFF0C\u9075\u5FAA\u672C\u6587\u6863\u7684\u6B65\u9AA4\uFF0C\u4F60\u53EF\u4EE5\u5F88\u8F7B\u677E\u7684\u5728\u670D\u52A1\u5668\u4E0A\u90E8\u7F72\u5B83

      \u51C6\u5907\u5DE5\u4F5C

      \u4F60\u9700\u8981\u63D0\u524D\u5728\u7BA1\u7406\u9762\u677F\u4E2D\u8BBE\u7F6E\u597D\u901A\u4FE1\u57DF\u540D\uFF0C\u6B64\u57DF\u540D\u4E0D\u53EF\u4EE5\u63A5\u5165CDN\uFF0C\u8FD9\u91CC\u4EE5\u524D\u9762\u63D0\u5230\u8FC7\u7684\u793A\u4F8B\u901A\u4FE1\u57DF\u540D \u201Cdata.example.com\u201D \u6765\u505A\u6F14\u793A
      \u8FDB\u5165\u540E\u53F0\u7BA1\u7406\u9762\u677F\uFF0C\u8F6C\u5230\u201C\u8BBE\u7F6E\u201D\u9875\uFF0C\u5728\u201C\u672A\u63A5\u5165 CDN \u7684\u9762\u677F\u670D\u52A1\u5668\u57DF\u540D/IP\u201D\u9879\u4E2D\u586B\u5165\u901A\u4FE1\u57DF\u540D\uFF0C\u7136\u540E\u70B9\u51FB"\u4FDD\u5B58"

      \u5728 Linux \u4E2D\u4E00\u952E\u5B89\u88C5 (Ubuntu\u3001Debian\u3001CentOS)

      • \u9996\u5148\u5728\u7BA1\u7406\u9762\u677F\u4E2D\u6DFB\u52A0\u4E00\u53F0\u670D\u52A1\u5668
      • \u70B9\u51FB\u65B0\u6DFB\u52A0\u7684\u670D\u52A1\u5668\u65C1\uFF0C\u7EFF\u8272\u7684 Linux \u56FE\u6807\u6309\u94AE\uFF0C\u590D\u5236\u4E00\u952E\u5B89\u88C5\u547D\u4EE4
      • \u5728\u88AB\u63A7\u7AEF\u670D\u52A1\u5668\u4E2D\u8FD0\u884C\u590D\u5236\u7684\u4E00\u952E\u5B89\u88C5\u547D\u4EE4\uFF0C\u7B49\u5F85\u5B89\u88C5\u5B8C\u6210\u540E\u8FD4\u56DE\u5230 Dashboard \u4E3B\u9875\u67E5\u770B\u670D\u52A1\u5668\u662F\u5426\u4E0A\u7EBF

      \u5728 Windows \u4E2D\u4E00\u952E\u5B89\u88C5

      • \u9996\u5148\u5728\u7BA1\u7406\u9762\u677F\u4E2D\u6DFB\u52A0\u4E00\u53F0\u670D\u52A1\u5668
      • \u70B9\u51FB\u65B0\u6DFB\u52A0\u7684\u670D\u52A1\u5668\u65C1\uFF0C\u7EFF\u8272\u7684 Windows \u56FE\u6807\u6309\u94AE\uFF0C\u590D\u5236\u4E00\u952E\u5B89\u88C5\u547D\u4EE4
      • \u8FDB\u5165 Windows \u670D\u52A1\u5668\uFF0C\u8FD0\u884C PowerShell\uFF0C\u5728 PowerShell \u4E2D\u8FD0\u884C\u590D\u5236\u7684\u5B89\u88C5\u547D\u4EE4
      • \u5982\u9047\u5230\u786E\u8BA4\u300C\u6267\u884C\u7B56\u7565\u53D8\u66F4\u300D\u8BF7\u9009\u62E9 Y
      • \u7B49\u5F85\u5B89\u88C5\u5B8C\u6210\u540E\u8FD4\u56DE Dashboard \u4E3B\u9875\u67E5\u770B\u670D\u52A1\u5668\u662F\u5426\u4E0A\u7EBF



      \u5176\u4ED6\u65B9\u5F0F\u5B89\u88C5 Agent

      \u5728 Linux \u4E2D\u5B89\u88C5 Agent (Ubuntu\u3001Debian\u3001CentOS)

      • \u9996\u5148\u5728\u7BA1\u7406\u9762\u677F\u4E2D\u6DFB\u52A0\u4E00\u53F0\u670D\u52A1\u5668
      • \u5728\u88AB\u63A7\u670D\u52A1\u5668\u4E2D\uFF0C\u8FD0\u884C\u811A\u672C\uFF08\u4F4D\u4E8E\u4E2D\u56FD\u5927\u9646\u7684\u670D\u52A1\u5668\u8BF7\u4F7F\u7528\u955C\u50CF\uFF09\uFF1A
      curl -L https://raw.githubusercontent.com/naiba/nezha/master/script/install.sh  -o nezha.sh && chmod +x nezha.sh && sudo ./nezha.sh
      +import{_ as n,c as a,o as s,a as t}from"./app.3817bf4e.js";const h='{"title":"\u4E00\u952E\u5B89\u88C5 Agent","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4E00\u952E\u5B89\u88C5 Agent","slug":"\u4E00\u952E\u5B89\u88C5-agent"},{"level":3,"title":"\u51C6\u5907\u5DE5\u4F5C","slug":"\u51C6\u5907\u5DE5\u4F5C"},{"level":3,"title":"\u5728 Linux \u4E2D\u4E00\u952E\u5B89\u88C5 (Ubuntu\u3001Debian\u3001CentOS)","slug":"\u5728-linux-\u4E2D\u4E00\u952E\u5B89\u88C5-ubuntu\u3001debian\u3001centos"},{"level":3,"title":"\u5728 Windows \u4E2D\u4E00\u952E\u5B89\u88C5","slug":"\u5728-windows-\u4E2D\u4E00\u952E\u5B89\u88C5"},{"level":2,"title":"\u5176\u4ED6\u65B9\u5F0F\u5B89\u88C5 Agent","slug":"\u5176\u4ED6\u65B9\u5F0F\u5B89\u88C5-agent"},{"level":3,"title":"\u5728 Linux \u4E2D\u5B89\u88C5 Agent (Ubuntu\u3001Debian\u3001CentOS)","slug":"\u5728-linux-\u4E2D\u5B89\u88C5-agent-ubuntu\u3001debian\u3001centos"},{"level":3,"title":"\u5728 \u5176\u4ED6 Linux \u5982 Alpine \u4F7F\u7528 Openrc \u7684\u53D1\u884C\u7248 \u5B89\u88C5 Agent","slug":"\u5728-\u5176\u4ED6-linux-\u5982-alpine-\u4F7F\u7528-openrc-\u7684\u53D1\u884C\u7248-\u5B89\u88C5-agent"},{"level":3,"title":"\u5728 Windows \u4E2D\u5B89\u88C5 Agent","slug":"\u5728-windows-\u4E2D\u5B89\u88C5-agent"},{"level":3,"title":"\u5728 \u7FA4\u6656DSM \u4E2D\u5B89\u88C5 Agent","slug":"\u5728-\u7FA4\u6656dsm-\u4E2D\u5B89\u88C5-agent"},{"level":3,"title":"\u5728 MacOS \u4E2D\u5B89\u88C5 Agent","slug":"\u5728-macos-\u4E2D\u5B89\u88C5-agent"},{"level":3,"title":"\u5728 OpenWRT \u4E2D\u5B89\u88C5 Agent","slug":"\u5728-openwrt-\u4E2D\u5B89\u88C5-agent"},{"level":2,"title":"FAQ","slug":"faq"},{"level":3,"title":"Agent \u6709 Docker \u955C\u50CF\u5417\uFF1F","slug":"agent-\u6709-docker-\u955C\u50CF\u5417\uFF1F"}],"relativePath":"guide/agent.md","lastUpdated":1682076617000}',e={},p=t(`

      \u54EA\u5412\u76D1\u63A7\u7684\u88AB\u63A7\u7AEF\u670D\u52A1\u88AB\u79F0\u4E3A Agent\uFF0C\u672C\u6587\u6863\u5C06\u4ECB\u7ECD\u5982\u4F55\u5728\u88AB\u63A7\u7AEF\u670D\u52A1\u5668\u4E0A\u5B89\u88C5 Agent\uFF0C\u5E76\u4E0E Dashboard \u8FDE\u63A5

      \u4E00\u952E\u5B89\u88C5 Agent

      \u76EE\u524D\u54EA\u5412\u76D1\u63A7\u5DF2\u652F\u6301\u5728 Windows \u548C Linux\u4E0A\u4E00\u952E\u5B89\u88C5 Agent\uFF0C\u9075\u5FAA\u672C\u6587\u6863\u7684\u6B65\u9AA4\uFF0C\u4F60\u53EF\u4EE5\u5F88\u8F7B\u677E\u7684\u5728\u670D\u52A1\u5668\u4E0A\u90E8\u7F72\u5B83

      \u51C6\u5907\u5DE5\u4F5C

      \u4F60\u9700\u8981\u63D0\u524D\u5728\u7BA1\u7406\u9762\u677F\u4E2D\u8BBE\u7F6E\u597D\u901A\u4FE1\u57DF\u540D\uFF0C\u6B64\u57DF\u540D\u4E0D\u53EF\u4EE5\u63A5\u5165CDN\uFF0C\u8FD9\u91CC\u4EE5\u524D\u9762\u63D0\u5230\u8FC7\u7684\u793A\u4F8B\u901A\u4FE1\u57DF\u540D \u201Cdata.example.com\u201D \u6765\u505A\u6F14\u793A
      \u8FDB\u5165\u540E\u53F0\u7BA1\u7406\u9762\u677F\uFF0C\u8F6C\u5230\u201C\u8BBE\u7F6E\u201D\u9875\uFF0C\u5728\u201C\u672A\u63A5\u5165 CDN \u7684\u9762\u677F\u670D\u52A1\u5668\u57DF\u540D/IP\u201D\u9879\u4E2D\u586B\u5165\u901A\u4FE1\u57DF\u540D\uFF0C\u7136\u540E\u70B9\u51FB"\u4FDD\u5B58"

      \u5728 Linux \u4E2D\u4E00\u952E\u5B89\u88C5 (Ubuntu\u3001Debian\u3001CentOS)

      • \u9996\u5148\u5728\u7BA1\u7406\u9762\u677F\u4E2D\u6DFB\u52A0\u4E00\u53F0\u670D\u52A1\u5668
      • \u70B9\u51FB\u65B0\u6DFB\u52A0\u7684\u670D\u52A1\u5668\u65C1\uFF0C\u7EFF\u8272\u7684 Linux \u56FE\u6807\u6309\u94AE\uFF0C\u590D\u5236\u4E00\u952E\u5B89\u88C5\u547D\u4EE4
      • \u5728\u88AB\u63A7\u7AEF\u670D\u52A1\u5668\u4E2D\u8FD0\u884C\u590D\u5236\u7684\u4E00\u952E\u5B89\u88C5\u547D\u4EE4\uFF0C\u7B49\u5F85\u5B89\u88C5\u5B8C\u6210\u540E\u8FD4\u56DE\u5230 Dashboard \u4E3B\u9875\u67E5\u770B\u670D\u52A1\u5668\u662F\u5426\u4E0A\u7EBF

      \u5728 Windows \u4E2D\u4E00\u952E\u5B89\u88C5

      • \u9996\u5148\u5728\u7BA1\u7406\u9762\u677F\u4E2D\u6DFB\u52A0\u4E00\u53F0\u670D\u52A1\u5668
      • \u70B9\u51FB\u65B0\u6DFB\u52A0\u7684\u670D\u52A1\u5668\u65C1\uFF0C\u7EFF\u8272\u7684 Windows \u56FE\u6807\u6309\u94AE\uFF0C\u590D\u5236\u4E00\u952E\u5B89\u88C5\u547D\u4EE4
      • \u8FDB\u5165 Windows \u670D\u52A1\u5668\uFF0C\u8FD0\u884C PowerShell\uFF0C\u5728 PowerShell \u4E2D\u8FD0\u884C\u590D\u5236\u7684\u5B89\u88C5\u547D\u4EE4
      • \u5982\u9047\u5230\u786E\u8BA4\u300C\u6267\u884C\u7B56\u7565\u53D8\u66F4\u300D\u8BF7\u9009\u62E9 Y
      • \u7B49\u5F85\u5B89\u88C5\u5B8C\u6210\u540E\u8FD4\u56DE Dashboard \u4E3B\u9875\u67E5\u770B\u670D\u52A1\u5668\u662F\u5426\u4E0A\u7EBF



      \u5176\u4ED6\u65B9\u5F0F\u5B89\u88C5 Agent

      \u5728 Linux \u4E2D\u5B89\u88C5 Agent (Ubuntu\u3001Debian\u3001CentOS)

      • \u9996\u5148\u5728\u7BA1\u7406\u9762\u677F\u4E2D\u6DFB\u52A0\u4E00\u53F0\u670D\u52A1\u5668
      • \u5728\u88AB\u63A7\u670D\u52A1\u5668\u4E2D\uFF0C\u8FD0\u884C\u811A\u672C\uFF08\u4F4D\u4E8E\u4E2D\u56FD\u5927\u9646\u7684\u670D\u52A1\u5668\u8BF7\u4F7F\u7528\u955C\u50CF\uFF09\uFF1A
      curl -L https://raw.githubusercontent.com/naiba/nezha/master/script/install.sh  -o nezha.sh && chmod +x nezha.sh && sudo ./nezha.sh
       

      \u5982\u679C\u4F60\u7684\u88AB\u63A7\u670D\u52A1\u5668\u4F4D\u4E8E\u4E2D\u56FD\u5927\u9646\uFF0C\u53EF\u4EE5\u4F7F\u7528\u955C\u50CF\uFF1A

      curl -L https://cdn.jsdelivr.net/gh/naiba/nezha@master/script/install.sh -o nezha.sh && chmod +x nezha.sh && sudo CN=true ./nezha.sh
       
      • \u9009\u62E9\u201C\u5B89\u88C5\u76D1\u63A7 Agent\u201D
      • \u8F93\u5165\u901A\u4FE1\u57DF\u540D\uFF0C\u5982\uFF1A\u201Ddata.example.com\u201C
      • \u8F93\u5165\u9762\u677F\u901A\u4FE1\u7AEF\u53E3\uFF08RPC\u7AEF\u53E3\uFF09\uFF0C\u9ED8\u8BA4\u4E3A 5555
      • \u8F93\u5165 Agent \u5BC6\u94A5\uFF0CAgent \u5BC6\u94A5\u5728\u7BA1\u7406\u9762\u677F\u4E2D\u6DFB\u52A0\u670D\u52A1\u5668\u65F6\u751F\u6210\uFF0C\u53EF\u4EE5\u5728\u7BA1\u7406\u9762\u677F\u4E2D\u7684\u201C\u4E3B\u673A\u201D\u9875\u4E2D\u627E\u5230
      • \u7B49\u5F85\u5B89\u88C5\u5B8C\u6210\u540E\u8FD4\u56DE Dashboard \u4E3B\u9875\u67E5\u770B\u670D\u52A1\u5668\u662F\u5426\u4E0A\u7EBF

      \u5728 \u5176\u4ED6 Linux \u5982 Alpine \u4F7F\u7528 Openrc \u7684\u53D1\u884C\u7248 \u5B89\u88C5 Agent

      \u672C\u8282\u5185\u5BB9\u7531 unknown0054 \u8D21\u732E

      • \u4FEE\u6539 SERVER\u3001SECRET\u3001TLS \u7136\u540E\u5728 shell \u4E2D\u6267\u884C
      cat >/etc/init.d/nezha-agent<< EOF
       #!/sbin/openrc-run
      diff --git a/assets/guide_agent.md.d0f22c88.lean.js b/assets/guide_agent.md.59488614.lean.js
      similarity index 96%
      rename from assets/guide_agent.md.d0f22c88.lean.js
      rename to assets/guide_agent.md.59488614.lean.js
      index e4d211b2..f43364eb 100644
      --- a/assets/guide_agent.md.d0f22c88.lean.js
      +++ b/assets/guide_agent.md.59488614.lean.js
      @@ -1 +1 @@
      -import{_ as n,c as a,o as s,a as t}from"./app.3817bf4e.js";const h='{"title":"\u4E00\u952E\u5B89\u88C5 Agent","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4E00\u952E\u5B89\u88C5 Agent","slug":"\u4E00\u952E\u5B89\u88C5-agent"},{"level":3,"title":"\u51C6\u5907\u5DE5\u4F5C","slug":"\u51C6\u5907\u5DE5\u4F5C"},{"level":3,"title":"\u5728 Linux \u4E2D\u4E00\u952E\u5B89\u88C5 (Ubuntu\u3001Debian\u3001CentOS)","slug":"\u5728-linux-\u4E2D\u4E00\u952E\u5B89\u88C5-ubuntu\u3001debian\u3001centos"},{"level":3,"title":"\u5728 Windows \u4E2D\u4E00\u952E\u5B89\u88C5","slug":"\u5728-windows-\u4E2D\u4E00\u952E\u5B89\u88C5"},{"level":2,"title":"\u5176\u4ED6\u65B9\u5F0F\u5B89\u88C5 Agent","slug":"\u5176\u4ED6\u65B9\u5F0F\u5B89\u88C5-agent"},{"level":3,"title":"\u5728 Linux \u4E2D\u5B89\u88C5 Agent (Ubuntu\u3001Debian\u3001CentOS)","slug":"\u5728-linux-\u4E2D\u5B89\u88C5-agent-ubuntu\u3001debian\u3001centos"},{"level":3,"title":"\u5728 \u5176\u4ED6 Linux \u5982 Alpine \u4F7F\u7528 Openrc \u7684\u53D1\u884C\u7248 \u5B89\u88C5 Agent","slug":"\u5728-\u5176\u4ED6-linux-\u5982-alpine-\u4F7F\u7528-openrc-\u7684\u53D1\u884C\u7248-\u5B89\u88C5-agent"},{"level":3,"title":"\u5728 Windows \u4E2D\u5B89\u88C5 Agent","slug":"\u5728-windows-\u4E2D\u5B89\u88C5-agent"},{"level":3,"title":"\u5728 \u7FA4\u6656DSM \u4E2D\u5B89\u88C5 Agent","slug":"\u5728-\u7FA4\u6656dsm-\u4E2D\u5B89\u88C5-agent"},{"level":3,"title":"\u5728 MacOS \u4E2D\u5B89\u88C5 Agent","slug":"\u5728-macos-\u4E2D\u5B89\u88C5-agent"},{"level":3,"title":"\u5728 OpenWRT \u4E2D\u5B89\u88C5 Agent","slug":"\u5728-openwrt-\u4E2D\u5B89\u88C5-agent"},{"level":2,"title":"FAQ","slug":"faq"},{"level":3,"title":"Agent \u6709 Docker \u955C\u50CF\u5417\uFF1F","slug":"agent-\u6709-docker-\u955C\u50CF\u5417\uFF1F"}],"relativePath":"guide/agent.md","lastUpdated":1681026579000}',e={},p=t("",53),o=[p];function l(c,i,r,u,g,k){return s(),a("div",null,o)}var b=n(e,[["render",l]]);export{h as __pageData,b as default};
      +import{_ as n,c as a,o as s,a as t}from"./app.3817bf4e.js";const h='{"title":"\u4E00\u952E\u5B89\u88C5 Agent","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4E00\u952E\u5B89\u88C5 Agent","slug":"\u4E00\u952E\u5B89\u88C5-agent"},{"level":3,"title":"\u51C6\u5907\u5DE5\u4F5C","slug":"\u51C6\u5907\u5DE5\u4F5C"},{"level":3,"title":"\u5728 Linux \u4E2D\u4E00\u952E\u5B89\u88C5 (Ubuntu\u3001Debian\u3001CentOS)","slug":"\u5728-linux-\u4E2D\u4E00\u952E\u5B89\u88C5-ubuntu\u3001debian\u3001centos"},{"level":3,"title":"\u5728 Windows \u4E2D\u4E00\u952E\u5B89\u88C5","slug":"\u5728-windows-\u4E2D\u4E00\u952E\u5B89\u88C5"},{"level":2,"title":"\u5176\u4ED6\u65B9\u5F0F\u5B89\u88C5 Agent","slug":"\u5176\u4ED6\u65B9\u5F0F\u5B89\u88C5-agent"},{"level":3,"title":"\u5728 Linux \u4E2D\u5B89\u88C5 Agent (Ubuntu\u3001Debian\u3001CentOS)","slug":"\u5728-linux-\u4E2D\u5B89\u88C5-agent-ubuntu\u3001debian\u3001centos"},{"level":3,"title":"\u5728 \u5176\u4ED6 Linux \u5982 Alpine \u4F7F\u7528 Openrc \u7684\u53D1\u884C\u7248 \u5B89\u88C5 Agent","slug":"\u5728-\u5176\u4ED6-linux-\u5982-alpine-\u4F7F\u7528-openrc-\u7684\u53D1\u884C\u7248-\u5B89\u88C5-agent"},{"level":3,"title":"\u5728 Windows \u4E2D\u5B89\u88C5 Agent","slug":"\u5728-windows-\u4E2D\u5B89\u88C5-agent"},{"level":3,"title":"\u5728 \u7FA4\u6656DSM \u4E2D\u5B89\u88C5 Agent","slug":"\u5728-\u7FA4\u6656dsm-\u4E2D\u5B89\u88C5-agent"},{"level":3,"title":"\u5728 MacOS \u4E2D\u5B89\u88C5 Agent","slug":"\u5728-macos-\u4E2D\u5B89\u88C5-agent"},{"level":3,"title":"\u5728 OpenWRT \u4E2D\u5B89\u88C5 Agent","slug":"\u5728-openwrt-\u4E2D\u5B89\u88C5-agent"},{"level":2,"title":"FAQ","slug":"faq"},{"level":3,"title":"Agent \u6709 Docker \u955C\u50CF\u5417\uFF1F","slug":"agent-\u6709-docker-\u955C\u50CF\u5417\uFF1F"}],"relativePath":"guide/agent.md","lastUpdated":1682076617000}',e={},p=t("",53),o=[p];function l(c,i,r,u,g,k){return s(),a("div",null,o)}var b=n(e,[["render",l]]);export{h as __pageData,b as default};
      diff --git a/assets/guide_agentq.md.1101fd10.js b/assets/guide_agentq.md.a75bbe9c.js
      similarity index 95%
      rename from assets/guide_agentq.md.1101fd10.js
      rename to assets/guide_agentq.md.a75bbe9c.js
      index 39165c18..bd787064 100644
      --- a/assets/guide_agentq.md.1101fd10.js
      +++ b/assets/guide_agentq.md.a75bbe9c.js
      @@ -1 +1 @@
      -import{_ as e,c as t,o as a,a as n}from"./app.3817bf4e.js";const p='{"title":"\u540E\u53F0\u663E\u793A\u7684 IP \u548C Agent \u5B9E\u9645 IP \u4E0D\u4E00\u81F4\uFF1F","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u540E\u53F0\u663E\u793A\u7684 IP \u548C Agent \u5B9E\u9645 IP \u4E0D\u4E00\u81F4\uFF1F","slug":"\u540E\u53F0\u663E\u793A\u7684-ip-\u548C-agent-\u5B9E\u9645-ip-\u4E0D\u4E00\u81F4\uFF1F"},{"level":2,"title":"\u4E00\u952E\u811A\u672C\u5B89\u88C5\u65F6\u51FA\u9519","slug":"\u4E00\u952E\u811A\u672C\u5B89\u88C5\u65F6\u51FA\u9519"},{"level":3,"title":"curl: Failed to connect to raw.githubusercontent.com......","slug":"curl-failed-to-connect-to-raw-githubusercontent-com"},{"level":3,"title":"sudo: command not found","slug":"sudo-command-not-found"}],"relativePath":"guide/agentq.md","lastUpdated":1681026579000}',o={},r=n('

      \u540E\u53F0\u663E\u793A\u7684 IP \u548C Agent \u5B9E\u9645 IP \u4E0D\u4E00\u81F4\uFF1F

      \u8BF7\u67E5\u770B Dashboard \u76F8\u5173-\u4E3A\u4EC0\u4E48\u7BA1\u7406\u9762\u677F\u4E2D\u663E\u793A\u7684 IP \u548C Agent \u5B9E\u9645 IP \u4E0D\u4E00\u81F4\uFF1F
      \u5728\u6B64\u4E0D\u518D\u8D58\u8FF0\u3002

      \u4E00\u952E\u811A\u672C\u5B89\u88C5\u65F6\u51FA\u9519

      curl: Failed to connect to raw.githubusercontent.com......

      \u591A\u51FA\u73B0\u5728\u56FD\u5185\u4E3B\u673A\u4E2D\uFF0C\u76EE\u524D\u4E00\u952E\u811A\u672C\u53EA\u4ECE Github \u76F4\u63A5\u83B7\u53D6\u5B89\u88C5\u811A\u672C\uFF0C\u60A8\u53EF\u4EE5\u591A\u5C1D\u8BD5\u51E0\u6B21\uFF0C\u6216\u8005\u624B\u52A8\u5B89\u88C5 Agent\uFF0C\u522B\u5FD8\u4E86\u4F7F\u7528\u955C\u50CF\u3002

      sudo: command not found

      \u8BF7\u5148\u624B\u52A8\u5B89\u88C5 sudo\u3002

      ',7),d=[r];function c(i,s,u,h,l,g){return a(),t("div",null,d)}var m=e(o,[["render",c]]);export{p as __pageData,m as default}; +import{_ as e,c as t,o as a,a as n}from"./app.3817bf4e.js";const p='{"title":"\u540E\u53F0\u663E\u793A\u7684 IP \u548C Agent \u5B9E\u9645 IP \u4E0D\u4E00\u81F4\uFF1F","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u540E\u53F0\u663E\u793A\u7684 IP \u548C Agent \u5B9E\u9645 IP \u4E0D\u4E00\u81F4\uFF1F","slug":"\u540E\u53F0\u663E\u793A\u7684-ip-\u548C-agent-\u5B9E\u9645-ip-\u4E0D\u4E00\u81F4\uFF1F"},{"level":2,"title":"\u4E00\u952E\u811A\u672C\u5B89\u88C5\u65F6\u51FA\u9519","slug":"\u4E00\u952E\u811A\u672C\u5B89\u88C5\u65F6\u51FA\u9519"},{"level":3,"title":"curl: Failed to connect to raw.githubusercontent.com......","slug":"curl-failed-to-connect-to-raw-githubusercontent-com"},{"level":3,"title":"sudo: command not found","slug":"sudo-command-not-found"}],"relativePath":"guide/agentq.md","lastUpdated":1682076617000}',o={},r=n('

      \u540E\u53F0\u663E\u793A\u7684 IP \u548C Agent \u5B9E\u9645 IP \u4E0D\u4E00\u81F4\uFF1F

      \u8BF7\u67E5\u770B Dashboard \u76F8\u5173-\u4E3A\u4EC0\u4E48\u7BA1\u7406\u9762\u677F\u4E2D\u663E\u793A\u7684 IP \u548C Agent \u5B9E\u9645 IP \u4E0D\u4E00\u81F4\uFF1F
      \u5728\u6B64\u4E0D\u518D\u8D58\u8FF0\u3002

      \u4E00\u952E\u811A\u672C\u5B89\u88C5\u65F6\u51FA\u9519

      curl: Failed to connect to raw.githubusercontent.com......

      \u591A\u51FA\u73B0\u5728\u56FD\u5185\u4E3B\u673A\u4E2D\uFF0C\u76EE\u524D\u4E00\u952E\u811A\u672C\u53EA\u4ECE Github \u76F4\u63A5\u83B7\u53D6\u5B89\u88C5\u811A\u672C\uFF0C\u60A8\u53EF\u4EE5\u591A\u5C1D\u8BD5\u51E0\u6B21\uFF0C\u6216\u8005\u624B\u52A8\u5B89\u88C5 Agent\uFF0C\u522B\u5FD8\u4E86\u4F7F\u7528\u955C\u50CF\u3002

      sudo: command not found

      \u8BF7\u5148\u624B\u52A8\u5B89\u88C5 sudo\u3002

      ',7),d=[r];function c(i,s,u,h,l,g){return a(),t("div",null,d)}var m=e(o,[["render",c]]);export{p as __pageData,m as default}; diff --git a/assets/guide_agentq.md.1101fd10.lean.js b/assets/guide_agentq.md.a75bbe9c.lean.js similarity index 86% rename from assets/guide_agentq.md.1101fd10.lean.js rename to assets/guide_agentq.md.a75bbe9c.lean.js index c04bcb7e..1242ded3 100644 --- a/assets/guide_agentq.md.1101fd10.lean.js +++ b/assets/guide_agentq.md.a75bbe9c.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o as a,a as n}from"./app.3817bf4e.js";const p='{"title":"\u540E\u53F0\u663E\u793A\u7684 IP \u548C Agent \u5B9E\u9645 IP \u4E0D\u4E00\u81F4\uFF1F","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u540E\u53F0\u663E\u793A\u7684 IP \u548C Agent \u5B9E\u9645 IP \u4E0D\u4E00\u81F4\uFF1F","slug":"\u540E\u53F0\u663E\u793A\u7684-ip-\u548C-agent-\u5B9E\u9645-ip-\u4E0D\u4E00\u81F4\uFF1F"},{"level":2,"title":"\u4E00\u952E\u811A\u672C\u5B89\u88C5\u65F6\u51FA\u9519","slug":"\u4E00\u952E\u811A\u672C\u5B89\u88C5\u65F6\u51FA\u9519"},{"level":3,"title":"curl: Failed to connect to raw.githubusercontent.com......","slug":"curl-failed-to-connect-to-raw-githubusercontent-com"},{"level":3,"title":"sudo: command not found","slug":"sudo-command-not-found"}],"relativePath":"guide/agentq.md","lastUpdated":1681026579000}',o={},r=n("",7),d=[r];function c(i,s,u,h,l,g){return a(),t("div",null,d)}var m=e(o,[["render",c]]);export{p as __pageData,m as default}; +import{_ as e,c as t,o as a,a as n}from"./app.3817bf4e.js";const p='{"title":"\u540E\u53F0\u663E\u793A\u7684 IP \u548C Agent \u5B9E\u9645 IP \u4E0D\u4E00\u81F4\uFF1F","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u540E\u53F0\u663E\u793A\u7684 IP \u548C Agent \u5B9E\u9645 IP \u4E0D\u4E00\u81F4\uFF1F","slug":"\u540E\u53F0\u663E\u793A\u7684-ip-\u548C-agent-\u5B9E\u9645-ip-\u4E0D\u4E00\u81F4\uFF1F"},{"level":2,"title":"\u4E00\u952E\u811A\u672C\u5B89\u88C5\u65F6\u51FA\u9519","slug":"\u4E00\u952E\u811A\u672C\u5B89\u88C5\u65F6\u51FA\u9519"},{"level":3,"title":"curl: Failed to connect to raw.githubusercontent.com......","slug":"curl-failed-to-connect-to-raw-githubusercontent-com"},{"level":3,"title":"sudo: command not found","slug":"sudo-command-not-found"}],"relativePath":"guide/agentq.md","lastUpdated":1682076617000}',o={},r=n("",7),d=[r];function c(i,s,u,h,l,g){return a(),t("div",null,d)}var m=e(o,[["render",c]]);export{p as __pageData,m as default}; diff --git a/assets/guide_api.md.92319056.js b/assets/guide_api.md.13d6fa7e.js similarity index 99% rename from assets/guide_api.md.92319056.js rename to assets/guide_api.md.13d6fa7e.js index f36e7131..ee50c01a 100644 --- a/assets/guide_api.md.92319056.js +++ b/assets/guide_api.md.13d6fa7e.js @@ -1,4 +1,4 @@ -import{_ as t,c as o,o as u,a as q}from"./app.3817bf4e.js";const T='{"title":"\u521B\u5EFA Token","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u521B\u5EFA Token","slug":"\u521B\u5EFA-token"},{"level":2,"title":"\u8BA4\u8BC1\u65B9\u5F0F","slug":"\u8BA4\u8BC1\u65B9\u5F0F"},{"level":2,"title":"\u4F7F\u7528\u8BF4\u660E","slug":"\u4F7F\u7528\u8BF4\u660E"}],"relativePath":"guide/api.md","lastUpdated":1681026579000}',n={},e=q(`

      \u54EA\u5412\u9762\u677F\u73B0\u5728\u5DF2\u7ECF\u652F\u6301\u4F7F\u7528 API \u63A5\u53E3\u67E5\u8BE2\u9762\u677F\u4E2D Agent \u7684\u72B6\u6001\u4FE1\u606F

      \u521B\u5EFA Token

      \u54EA\u5412\u9762\u677F\u7684 API \u63A5\u53E3\u5141\u8BB8\u4F7F\u7528 Token \u8BA4\u8BC1\u4E0E Cookies \u8BA4\u8BC1
      \u8981\u65B0\u5EFA\u4E00\u4E2A Token\uFF0C\u5728\u8FDB\u5165\u7BA1\u7406\u9762\u677F\u540E\uFF0C\u70B9\u51FB\u53F3\u4E0A\u89D2\u7684\u5934\u50CF\uFF0C\u9009\u62E9 \u201CAPI Token\u201D\uFF0C\u8FDB\u5165 Token \u7BA1\u7406\u9875\u9762
      \u70B9\u51FB \u201C\u6DFB\u52A0 Token\u201D\uFF0C\u81EA\u5B9A\u4E49\u5907\u6CE8\u540E\uFF0C\u70B9\u51FB \u201C\u6DFB\u52A0\u201D
      \u5982\u9700\u5220\u9664\u4E00\u4E2A Token\uFF0C\u8BF7\u9009\u62E9\u76F8\u5E94\u7684 Token\uFF0C\u70B9\u51FB\u53F3\u4FA7\u7684\u5220\u9664\u56FE\u6807

      WARNING

      Token \u662F API \u63A5\u53E3\u7684\u9274\u6743\u5DE5\u5177\uFF0C\u5B83\u5BF9\u4F60\u7684\u9762\u677F\u7684\u4FE1\u606F\u5B89\u5168\u975E\u5E38\u91CD\u8981\uFF0C\u8BF7\u4E0D\u8981\u6CC4\u6F0F\u4F60\u7684 Token \u7ED9\u4ED6\u4EBA

      \u8BA4\u8BC1\u65B9\u5F0F

      Token \u8BA4\u8BC1\u65B9\u5F0F\uFF1A

      Request Headers:  
      +import{_ as t,c as o,o as u,a as q}from"./app.3817bf4e.js";const T='{"title":"\u521B\u5EFA Token","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u521B\u5EFA Token","slug":"\u521B\u5EFA-token"},{"level":2,"title":"\u8BA4\u8BC1\u65B9\u5F0F","slug":"\u8BA4\u8BC1\u65B9\u5F0F"},{"level":2,"title":"\u4F7F\u7528\u8BF4\u660E","slug":"\u4F7F\u7528\u8BF4\u660E"}],"relativePath":"guide/api.md","lastUpdated":1682076617000}',n={},e=q(`

      \u54EA\u5412\u9762\u677F\u73B0\u5728\u5DF2\u7ECF\u652F\u6301\u4F7F\u7528 API \u63A5\u53E3\u67E5\u8BE2\u9762\u677F\u4E2D Agent \u7684\u72B6\u6001\u4FE1\u606F

      \u521B\u5EFA Token

      \u54EA\u5412\u9762\u677F\u7684 API \u63A5\u53E3\u5141\u8BB8\u4F7F\u7528 Token \u8BA4\u8BC1\u4E0E Cookies \u8BA4\u8BC1
      \u8981\u65B0\u5EFA\u4E00\u4E2A Token\uFF0C\u5728\u8FDB\u5165\u7BA1\u7406\u9762\u677F\u540E\uFF0C\u70B9\u51FB\u53F3\u4E0A\u89D2\u7684\u5934\u50CF\uFF0C\u9009\u62E9 \u201CAPI Token\u201D\uFF0C\u8FDB\u5165 Token \u7BA1\u7406\u9875\u9762
      \u70B9\u51FB \u201C\u6DFB\u52A0 Token\u201D\uFF0C\u81EA\u5B9A\u4E49\u5907\u6CE8\u540E\uFF0C\u70B9\u51FB \u201C\u6DFB\u52A0\u201D
      \u5982\u9700\u5220\u9664\u4E00\u4E2A Token\uFF0C\u8BF7\u9009\u62E9\u76F8\u5E94\u7684 Token\uFF0C\u70B9\u51FB\u53F3\u4FA7\u7684\u5220\u9664\u56FE\u6807

      WARNING

      Token \u662F API \u63A5\u53E3\u7684\u9274\u6743\u5DE5\u5177\uFF0C\u5B83\u5BF9\u4F60\u7684\u9762\u677F\u7684\u4FE1\u606F\u5B89\u5168\u975E\u5E38\u91CD\u8981\uFF0C\u8BF7\u4E0D\u8981\u6CC4\u6F0F\u4F60\u7684 Token \u7ED9\u4ED6\u4EBA

      \u8BA4\u8BC1\u65B9\u5F0F

      Token \u8BA4\u8BC1\u65B9\u5F0F\uFF1A

      Request Headers:  
       Authorization: Token
       

      \u4F7F\u7528\u8BF4\u660E

      WARNING

      \u4E0B\u9762\u793A\u4F8B\u4E2D\u7684\u8D1F\u6570\u65F6\u95F4\u6233\u4E3A\uFF080000-00-00\uFF09
      \u76EE\u524D\u8868\u793A Dashboard \u4E0A\u7EBF\u540E\u8BE5 Agent \u4ECE\u672A\u6C47\u62A5\u8FC7
      \u4F46\u4E0D\u5EFA\u8BAE\u7528\u6B63\u8D1F\u6027\u5224\u65AD\u72B6\u6001

      TIP

      \u8BF7\u6C42\u65B9\u5F0F\u4E3A Get\uFF0C\u8FD4\u56DE\u683C\u5F0F\u4E3A JSON

      • \u83B7\u53D6\u670D\u52A1\u5668\u5217\u8868\uFF1AGET /api/v1/server/list?tag=
        query: tag (ServerTag \u662F\u670D\u52A1\u5668\u7684\u5206\u7EC4\uFF0C\u63D0\u4F9B\u6B64\u53C2\u6570\u5219\u4EC5\u67E5\u8BE2\u8BE5\u5206\u7EC4\u4E2D\u7684\u670D\u52A1\u5668)

      JSON \u8FD4\u56DE\u793A\u4F8B\uFF1A

      {
           "code": 0,
      diff --git a/assets/guide_api.md.92319056.lean.js b/assets/guide_api.md.13d6fa7e.lean.js
      similarity index 88%
      rename from assets/guide_api.md.92319056.lean.js
      rename to assets/guide_api.md.13d6fa7e.lean.js
      index f05b718e..f98e9add 100644
      --- a/assets/guide_api.md.92319056.lean.js
      +++ b/assets/guide_api.md.13d6fa7e.lean.js
      @@ -1 +1 @@
      -import{_ as t,c as o,o as u,a as q}from"./app.3817bf4e.js";const T='{"title":"\u521B\u5EFA Token","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u521B\u5EFA Token","slug":"\u521B\u5EFA-token"},{"level":2,"title":"\u8BA4\u8BC1\u65B9\u5F0F","slug":"\u8BA4\u8BC1\u65B9\u5F0F"},{"level":2,"title":"\u4F7F\u7528\u8BF4\u660E","slug":"\u4F7F\u7528\u8BF4\u660E"}],"relativePath":"guide/api.md","lastUpdated":1681026579000}',n={},e=q("",16),a=[e];function s(r,i,d,l,c,p){return u(),o("div",null,a)}var g=t(n,[["render",s]]);export{T as __pageData,g as default};
      +import{_ as t,c as o,o as u,a as q}from"./app.3817bf4e.js";const T='{"title":"\u521B\u5EFA Token","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u521B\u5EFA Token","slug":"\u521B\u5EFA-token"},{"level":2,"title":"\u8BA4\u8BC1\u65B9\u5F0F","slug":"\u8BA4\u8BC1\u65B9\u5F0F"},{"level":2,"title":"\u4F7F\u7528\u8BF4\u660E","slug":"\u4F7F\u7528\u8BF4\u660E"}],"relativePath":"guide/api.md","lastUpdated":1682076617000}',n={},e=q("",16),a=[e];function s(r,i,d,l,c,p){return u(),o("div",null,a)}var g=t(n,[["render",s]]);export{T as __pageData,g as default};
      diff --git a/assets/guide_dashboard.md.0569080c.js b/assets/guide_dashboard.md.81760078.js
      similarity index 99%
      rename from assets/guide_dashboard.md.0569080c.js
      rename to assets/guide_dashboard.md.81760078.js
      index a3a20705..cfd02767 100644
      --- a/assets/guide_dashboard.md.0569080c.js
      +++ b/assets/guide_dashboard.md.81760078.js
      @@ -1,4 +1,4 @@
      -import{_ as e,c as a,o as t,a as n}from"./app.3817bf4e.js";const k='{"title":"\u51C6\u5907\u5DE5\u4F5C","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u51C6\u5907\u5DE5\u4F5C","slug":"\u51C6\u5907\u5DE5\u4F5C"},{"level":2,"title":"\u83B7\u53D6 Github/Jihulab \u7684 Client ID \u548C\u5BC6\u94A5","slug":"\u83B7\u53D6-github-jihulab-\u7684-client-id-\u548C\u5BC6\u94A5"},{"level":2,"title":"\u5728\u670D\u52A1\u5668\u4E2D\u5B89\u88C5 Dashboard","slug":"\u5728\u670D\u52A1\u5668\u4E2D\u5B89\u88C5-dashboard"},{"level":2,"title":"\u914D\u7F6E\u53CD\u5411\u4EE3\u7406","slug":"\u914D\u7F6E\u53CD\u5411\u4EE3\u7406"},{"level":2,"title":"\u5728\u5B9D\u5854\u9762\u677F\u4E2D\u914D\u7F6E SSL","slug":"\u5728\u5B9D\u5854\u9762\u677F\u4E2D\u914D\u7F6E-ssl"},{"level":2,"title":"FAQ","slug":"faq"},{"level":3,"title":"\u542F\u7528HTTPS\u540E/terminal\u6216/ws\u4E0D\u80FD\u6B63\u5E38\u8FDE\u63A5\u600E\u4E48\u529E?","slug":"\u542F\u7528https\u540E-terminal\u6216-ws\u4E0D\u80FD\u6B63\u5E38\u8FDE\u63A5\u600E\u4E48\u529E"},{"level":3,"title":"\u6211\u5BF9\u9762\u677F\u63D0\u4F9B\u7684\u6570\u636E\u4FEE\u6539/\u589E\u52A0\u529F\u80FD\u4E0D\u6EE1\u610F\uFF0C\u6211\u60F3\u8981\u81EA\u5DF1\u4FEE\u6539/\u589E\u52A0\u6570\u636E\u600E\u4E48\u529E\uFF1F","slug":"\u6211\u5BF9\u9762\u677F\u63D0\u4F9B\u7684\u6570\u636E\u4FEE\u6539-\u589E\u52A0\u529F\u80FD\u4E0D\u6EE1\u610F\uFF0C\u6211\u60F3\u8981\u81EA\u5DF1\u4FEE\u6539-\u589E\u52A0\u6570\u636E\u600E\u4E48\u529E\uFF1F"},{"level":3,"title":"\u6570\u636E\u5E93\u4E2D\u5404\u8868/\u5217\u662F\u4EC0\u4E48\u610F\u601D\uFF1F","slug":"\u6570\u636E\u5E93\u4E2D\u5404\u8868-\u5217\u662F\u4EC0\u4E48\u610F\u601D\uFF1F"},{"level":3,"title":"Dashboard \u4F1A\u81EA\u52A8\u66F4\u65B0\u5417\uFF1F","slug":"dashboard-\u4F1A\u81EA\u52A8\u66F4\u65B0\u5417\uFF1F"},{"level":3,"title":"\u5982\u4F55\u66F4\u65B0 Dashboard\uFF1F","slug":"\u5982\u4F55\u66F4\u65B0-dashboard\uFF1F"}],"relativePath":"guide/dashboard.md","lastUpdated":1681026579000}',s={},o=n(`

      \u51C6\u5907\u5DE5\u4F5C

      \u642D\u5EFA\u4E00\u4E2A\u54EA\u5412\u76D1\u63A7\uFF0C\u4F60\u9700\u8981\uFF1A

      1. \u4E00\u53F0\u53EF\u4EE5\u8FDE\u63A5\u516C\u7F51\u7684 VPS\uFF0C\u9632\u706B\u5899\u548C\u5B89\u5168\u7B56\u7565\u9700\u8981\u653E\u884C 8008 \u548C 5555 \u7AEF\u53E3\uFF0C\u5426\u5219\u4F1A\u65E0\u6CD5\u8BBF\u95EE\u548C\u65E0\u6CD5\u63A5\u6536\u6570\u636E\u3002\u5355\u6838 512MB \u5185\u5B58\u7684\u670D\u52A1\u5668\u914D\u7F6E\u5C31\u8DB3\u4EE5\u6EE1\u8DB3\u5927\u591A\u6570\u4F7F\u7528\u573A\u666F
      2. \u4E00\u4E2A\u5DF2\u7ECF\u8BBE\u7F6E\u597D A \u8BB0\u5F55\uFF0C\u6307\u5411 Dashboard \u670D\u52A1\u5668 ip \u7684\u57DF\u540D

      TIP

      \u5982\u679C\u4F60\u60F3\u4F7F\u7528 CDN\uFF0C\u8BF7\u51C6\u5907\u4E24\u4E2A\u57DF\u540D\uFF0C\u4E00\u4E2A\u914D\u7F6E\u597D CDN \u7528\u4F5C\u516C\u5F00\u8BBF\u95EE\uFF0CCDN \u9700\u8981\u652F\u6301WebSocket \u534F\u8BAE\uFF1B\u53E6\u4E00\u4E2A\u57DF\u540D\u4E0D\u8981\u4F7F\u7528 CDN\uFF0C\u7528\u4F5C Agent \u7AEF\u4E0E Dashboard \u7684\u901A\u4FE1
      \u672C\u6587\u6863\u5206\u522B\u4EE5 "cdn.example.com" \u548C "data.example.com" \u4E24\u4E2A\u57DF\u540D\u6765\u6F14\u793A

      1. \u4E00\u4E2A Github \u8D26\u53F7\uFF08\u6216\uFF1AGitlab\u3001Jihulab\u3001Gitee\uFF09

      TIP

      \u5982\u679C\u60A8\u4F4D\u4E8E\u4E2D\u56FD\u5927\u9646\uFF0C\u8BBF\u95EE Github \u6709\u56F0\u96BE\uFF0C\u6211\u4EEC\u5EFA\u8BAE\u60A8\u9009\u62E9 Jihulab \u4F5C\u4E3A OAuth \u63D0\u4F9B\u5546

      \u672C\u6587\u6863\u5C06\u4EE5\u5B9D\u5854\u9762\u677F\u53CD\u4EE3\u9762\u677F\u7684\u8FC7\u7A0B\u4F5C\u4E3A\u8303\u4F8B\uFF0C\u968F\u7740\u672A\u6765\u7248\u672C\u7684\u53D8\u5316\uFF0C\u90E8\u5206\u529F\u80FD\u7684\u5165\u53E3\u53EF\u80FD\u4F1A\u53D1\u751F\u6539\u53D8\uFF0C\u672C\u6587\u6863\u4EC5\u4F9B\u53C2\u8003

      WARNING

      \u672C\u9879\u76EE\u5E76\u4E0D\u4F9D\u8D56\u5B9D\u5854\uFF0C\u4F60\u53EF\u4EE5\u9009\u62E9\u4F7F\u7528\u4F60\u559C\u6B22\u7684\u4EFB\u4F55\u670D\u52A1\u5668\u9762\u677F\uFF0C\u5982\u679C\u4F60\u80FD\u529B\u8DB3\u591F\uFF0C\u53EF\u4EE5\u624B\u52A8\u5B89\u88C5 NginX \u6216 Caddy \u6765\u914D\u7F6E SSL \u548C\u53CD\u4EE3\u3002
      \u5982\u679C\u4F60\u8BA4\u4E3A\u6CA1\u6709\u5FC5\u8981\u4F7F\u7528 80\u3001443 \u7AEF\u53E3\u6765\u8BBF\u95EE Dashboard\uFF0C\u4F60\u751A\u81F3\u4E0D\u9700\u8981\u5B89\u88C5 NginX \u5C31\u53EF\u4EE5\u76F4\u63A5\u4F7F\u7528\u5B89\u88C5\u811A\u672C\u3002



      \u83B7\u53D6 Github/Jihulab \u7684 Client ID \u548C\u5BC6\u94A5

      \u54EA\u5412\u76D1\u63A7\u63A5\u5165 Github\u3001Gitlab\u3001Jihulab\u3001Gitee \u4F5C\u4E3A\u540E\u53F0\u7BA1\u7406\u5458\u8D26\u53F7

      • \u9996\u5148\u6211\u4EEC\u9700\u8981\u65B0\u5EFA\u4E00\u4E2A\u9A8C\u8BC1\u5E94\u7528\uFF0C\u4EE5 Github \u4E3A\u4F8B\uFF0C\u767B\u5F55 Github \u540E\uFF0C\u6253\u5F00 https://github.com/settings/developers \uFF0C\u4F9D\u6B21\u9009\u62E9\u201COAuth Apps\u201D - \u201CNew OAuth App\u201D
        Application name - \u968F\u610F\u586B\u5199
        Homepage URL - \u586B\u5199\u9762\u677F\u7684\u8BBF\u95EE\u57DF\u540D\uFF0C\u5982\uFF1A"http://cdn.example.com"
        Authorization callback URL - \u586B\u5199\u56DE\u8C03\u5730\u5740\uFF0C\u5982\uFF1A"http://cdn.example.com/oauth2/callback"
      • \u70B9\u51FB \u201CRegister application\u201D
      • \u4FDD\u5B58\u9875\u9762\u4E2D\u7684 Client ID\uFF0C\u7136\u540E\u70B9\u51FB \u201CGenerate a new client secret\u201C\uFF0C\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684 Client Secret\uFF0C\u65B0\u5EFA\u7684\u5BC6\u94A5\u4EC5\u4F1A\u663E\u793A\u4E00\u6B21\uFF0C\u8BF7\u59A5\u5584\u4FDD\u5B58

      • JihuLab \u7684\u5E94\u7528\u521B\u5EFA\u5165\u53E3\u4E3A\uFF1Ahttps://jihulab.com/-/profile/applications
      • Redirect URL \u4E2D\u5E94\u586B\u5165\u56DE\u8C03\u5730\u5740
      • \u5728\u4E0B\u65B9\u8303\u56F4\u4E2D\u52FE\u9009 read_user \u548C read_api
      • \u521B\u5EFA\u5B8C\u6210\u540E\uFF0C\u4FDD\u5B58\u597D\u5E94\u7528\u7A0B\u5E8F ID \u548C\u5BC6\u7801

      \u5728\u670D\u52A1\u5668\u4E2D\u5B89\u88C5 Dashboard

      • \u5728\u9762\u677F\u670D\u52A1\u5668\u4E2D\uFF0C\u8FD0\u884C\u5B89\u88C5\u811A\u672C\uFF1A
      curl -L https://raw.githubusercontent.com/naiba/nezha/master/script/install.sh  -o nezha.sh && chmod +x nezha.sh && sudo ./nezha.sh
      +import{_ as e,c as a,o as t,a as n}from"./app.3817bf4e.js";const k='{"title":"\u51C6\u5907\u5DE5\u4F5C","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u51C6\u5907\u5DE5\u4F5C","slug":"\u51C6\u5907\u5DE5\u4F5C"},{"level":2,"title":"\u83B7\u53D6 Github/Jihulab \u7684 Client ID \u548C\u5BC6\u94A5","slug":"\u83B7\u53D6-github-jihulab-\u7684-client-id-\u548C\u5BC6\u94A5"},{"level":2,"title":"\u5728\u670D\u52A1\u5668\u4E2D\u5B89\u88C5 Dashboard","slug":"\u5728\u670D\u52A1\u5668\u4E2D\u5B89\u88C5-dashboard"},{"level":2,"title":"\u914D\u7F6E\u53CD\u5411\u4EE3\u7406","slug":"\u914D\u7F6E\u53CD\u5411\u4EE3\u7406"},{"level":2,"title":"\u5728\u5B9D\u5854\u9762\u677F\u4E2D\u914D\u7F6E SSL","slug":"\u5728\u5B9D\u5854\u9762\u677F\u4E2D\u914D\u7F6E-ssl"},{"level":2,"title":"FAQ","slug":"faq"},{"level":3,"title":"\u542F\u7528HTTPS\u540E/terminal\u6216/ws\u4E0D\u80FD\u6B63\u5E38\u8FDE\u63A5\u600E\u4E48\u529E?","slug":"\u542F\u7528https\u540E-terminal\u6216-ws\u4E0D\u80FD\u6B63\u5E38\u8FDE\u63A5\u600E\u4E48\u529E"},{"level":3,"title":"\u6211\u5BF9\u9762\u677F\u63D0\u4F9B\u7684\u6570\u636E\u4FEE\u6539/\u589E\u52A0\u529F\u80FD\u4E0D\u6EE1\u610F\uFF0C\u6211\u60F3\u8981\u81EA\u5DF1\u4FEE\u6539/\u589E\u52A0\u6570\u636E\u600E\u4E48\u529E\uFF1F","slug":"\u6211\u5BF9\u9762\u677F\u63D0\u4F9B\u7684\u6570\u636E\u4FEE\u6539-\u589E\u52A0\u529F\u80FD\u4E0D\u6EE1\u610F\uFF0C\u6211\u60F3\u8981\u81EA\u5DF1\u4FEE\u6539-\u589E\u52A0\u6570\u636E\u600E\u4E48\u529E\uFF1F"},{"level":3,"title":"\u6570\u636E\u5E93\u4E2D\u5404\u8868/\u5217\u662F\u4EC0\u4E48\u610F\u601D\uFF1F","slug":"\u6570\u636E\u5E93\u4E2D\u5404\u8868-\u5217\u662F\u4EC0\u4E48\u610F\u601D\uFF1F"},{"level":3,"title":"Dashboard \u4F1A\u81EA\u52A8\u66F4\u65B0\u5417\uFF1F","slug":"dashboard-\u4F1A\u81EA\u52A8\u66F4\u65B0\u5417\uFF1F"},{"level":3,"title":"\u5982\u4F55\u66F4\u65B0 Dashboard\uFF1F","slug":"\u5982\u4F55\u66F4\u65B0-dashboard\uFF1F"}],"relativePath":"guide/dashboard.md","lastUpdated":1682076617000}',s={},o=n(`

      \u51C6\u5907\u5DE5\u4F5C

      \u642D\u5EFA\u4E00\u4E2A\u54EA\u5412\u76D1\u63A7\uFF0C\u4F60\u9700\u8981\uFF1A

      1. \u4E00\u53F0\u53EF\u4EE5\u8FDE\u63A5\u516C\u7F51\u7684 VPS\uFF0C\u9632\u706B\u5899\u548C\u5B89\u5168\u7B56\u7565\u9700\u8981\u653E\u884C 8008 \u548C 5555 \u7AEF\u53E3\uFF0C\u5426\u5219\u4F1A\u65E0\u6CD5\u8BBF\u95EE\u548C\u65E0\u6CD5\u63A5\u6536\u6570\u636E\u3002\u5355\u6838 512MB \u5185\u5B58\u7684\u670D\u52A1\u5668\u914D\u7F6E\u5C31\u8DB3\u4EE5\u6EE1\u8DB3\u5927\u591A\u6570\u4F7F\u7528\u573A\u666F
      2. \u4E00\u4E2A\u5DF2\u7ECF\u8BBE\u7F6E\u597D A \u8BB0\u5F55\uFF0C\u6307\u5411 Dashboard \u670D\u52A1\u5668 ip \u7684\u57DF\u540D

      TIP

      \u5982\u679C\u4F60\u60F3\u4F7F\u7528 CDN\uFF0C\u8BF7\u51C6\u5907\u4E24\u4E2A\u57DF\u540D\uFF0C\u4E00\u4E2A\u914D\u7F6E\u597D CDN \u7528\u4F5C\u516C\u5F00\u8BBF\u95EE\uFF0CCDN \u9700\u8981\u652F\u6301WebSocket \u534F\u8BAE\uFF1B\u53E6\u4E00\u4E2A\u57DF\u540D\u4E0D\u8981\u4F7F\u7528 CDN\uFF0C\u7528\u4F5C Agent \u7AEF\u4E0E Dashboard \u7684\u901A\u4FE1
      \u672C\u6587\u6863\u5206\u522B\u4EE5 "cdn.example.com" \u548C "data.example.com" \u4E24\u4E2A\u57DF\u540D\u6765\u6F14\u793A

      1. \u4E00\u4E2A Github \u8D26\u53F7\uFF08\u6216\uFF1AGitlab\u3001Jihulab\u3001Gitee\uFF09

      TIP

      \u5982\u679C\u60A8\u4F4D\u4E8E\u4E2D\u56FD\u5927\u9646\uFF0C\u8BBF\u95EE Github \u6709\u56F0\u96BE\uFF0C\u6211\u4EEC\u5EFA\u8BAE\u60A8\u9009\u62E9 Jihulab \u4F5C\u4E3A OAuth \u63D0\u4F9B\u5546

      \u672C\u6587\u6863\u5C06\u4EE5\u5B9D\u5854\u9762\u677F\u53CD\u4EE3\u9762\u677F\u7684\u8FC7\u7A0B\u4F5C\u4E3A\u8303\u4F8B\uFF0C\u968F\u7740\u672A\u6765\u7248\u672C\u7684\u53D8\u5316\uFF0C\u90E8\u5206\u529F\u80FD\u7684\u5165\u53E3\u53EF\u80FD\u4F1A\u53D1\u751F\u6539\u53D8\uFF0C\u672C\u6587\u6863\u4EC5\u4F9B\u53C2\u8003

      WARNING

      \u672C\u9879\u76EE\u5E76\u4E0D\u4F9D\u8D56\u5B9D\u5854\uFF0C\u4F60\u53EF\u4EE5\u9009\u62E9\u4F7F\u7528\u4F60\u559C\u6B22\u7684\u4EFB\u4F55\u670D\u52A1\u5668\u9762\u677F\uFF0C\u5982\u679C\u4F60\u80FD\u529B\u8DB3\u591F\uFF0C\u53EF\u4EE5\u624B\u52A8\u5B89\u88C5 NginX \u6216 Caddy \u6765\u914D\u7F6E SSL \u548C\u53CD\u4EE3\u3002
      \u5982\u679C\u4F60\u8BA4\u4E3A\u6CA1\u6709\u5FC5\u8981\u4F7F\u7528 80\u3001443 \u7AEF\u53E3\u6765\u8BBF\u95EE Dashboard\uFF0C\u4F60\u751A\u81F3\u4E0D\u9700\u8981\u5B89\u88C5 NginX \u5C31\u53EF\u4EE5\u76F4\u63A5\u4F7F\u7528\u5B89\u88C5\u811A\u672C\u3002



      \u83B7\u53D6 Github/Jihulab \u7684 Client ID \u548C\u5BC6\u94A5

      \u54EA\u5412\u76D1\u63A7\u63A5\u5165 Github\u3001Gitlab\u3001Jihulab\u3001Gitee \u4F5C\u4E3A\u540E\u53F0\u7BA1\u7406\u5458\u8D26\u53F7

      • \u9996\u5148\u6211\u4EEC\u9700\u8981\u65B0\u5EFA\u4E00\u4E2A\u9A8C\u8BC1\u5E94\u7528\uFF0C\u4EE5 Github \u4E3A\u4F8B\uFF0C\u767B\u5F55 Github \u540E\uFF0C\u6253\u5F00 https://github.com/settings/developers \uFF0C\u4F9D\u6B21\u9009\u62E9\u201COAuth Apps\u201D - \u201CNew OAuth App\u201D
        Application name - \u968F\u610F\u586B\u5199
        Homepage URL - \u586B\u5199\u9762\u677F\u7684\u8BBF\u95EE\u57DF\u540D\uFF0C\u5982\uFF1A"http://cdn.example.com"
        Authorization callback URL - \u586B\u5199\u56DE\u8C03\u5730\u5740\uFF0C\u5982\uFF1A"http://cdn.example.com/oauth2/callback"
      • \u70B9\u51FB \u201CRegister application\u201D
      • \u4FDD\u5B58\u9875\u9762\u4E2D\u7684 Client ID\uFF0C\u7136\u540E\u70B9\u51FB \u201CGenerate a new client secret\u201C\uFF0C\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684 Client Secret\uFF0C\u65B0\u5EFA\u7684\u5BC6\u94A5\u4EC5\u4F1A\u663E\u793A\u4E00\u6B21\uFF0C\u8BF7\u59A5\u5584\u4FDD\u5B58

      • JihuLab \u7684\u5E94\u7528\u521B\u5EFA\u5165\u53E3\u4E3A\uFF1Ahttps://jihulab.com/-/profile/applications
      • Redirect URL \u4E2D\u5E94\u586B\u5165\u56DE\u8C03\u5730\u5740
      • \u5728\u4E0B\u65B9\u8303\u56F4\u4E2D\u52FE\u9009 read_user \u548C read_api
      • \u521B\u5EFA\u5B8C\u6210\u540E\uFF0C\u4FDD\u5B58\u597D\u5E94\u7528\u7A0B\u5E8F ID \u548C\u5BC6\u7801

      \u5728\u670D\u52A1\u5668\u4E2D\u5B89\u88C5 Dashboard

      • \u5728\u9762\u677F\u670D\u52A1\u5668\u4E2D\uFF0C\u8FD0\u884C\u5B89\u88C5\u811A\u672C\uFF1A
      curl -L https://raw.githubusercontent.com/naiba/nezha/master/script/install.sh  -o nezha.sh && chmod +x nezha.sh && sudo ./nezha.sh
       

      \u5982\u679C\u4F60\u7684\u9762\u677F\u670D\u52A1\u5668\u4F4D\u4E8E\u4E2D\u56FD\u5927\u9646\uFF0C\u53EF\u4EE5\u4F7F\u7528\u955C\u50CF\uFF1A

      curl -L https://cdn.jsdelivr.net/gh/naiba/nezha@master/script/install.sh -o nezha.sh && chmod +x nezha.sh && sudo CN=true ./nezha.sh
       
      • \u7B49\u5F85Docker\u5B89\u88C5\u5B8C\u6BD5\u540E\uFF0C\u5206\u522B\u8F93\u5165\u4EE5\u4E0B\u503C\uFF1A
        OAuth\u63D0\u4F9B\u5546 - Github\uFF0CGitlab\uFF0CJihulab\uFF0CGitee \u4E2D\u9009\u62E9\u4E00\u4E2A
        Client ID - \u4E4B\u524D\u4FDD\u5B58\u7684 Client ID
        Client Secret - \u4E4B\u524D\u4FDD\u5B58\u7684\u5BC6\u94A5
        \u7528\u6237\u540D - OAuth \u63D0\u4F9B\u5546\u4E2D\u7684\u7528\u6237\u540D
        \u7AD9\u70B9\u6807\u9898 - \u81EA\u5B9A\u4E49\u7AD9\u70B9\u6807\u9898
        \u8BBF\u95EE\u7AEF\u53E3 - \u516C\u5F00\u8BBF\u95EE\u7AEF\u53E3\uFF0C\u53EF\u81EA\u5B9A\u4E49\uFF0C\u9ED8\u8BA4 8008
        Agent\u7684\u901A\u4FE1\u7AEF\u53E3 - Agent\u4E0EDashboard\u7684\u901A\u4FE1\u7AEF\u53E3\uFF0C\u9ED8\u8BA4 5555

      • \u8F93\u5165\u5B8C\u6210\u540E\uFF0C\u7B49\u5F85\u62C9\u53D6\u955C\u50CF
        \u5B89\u88C5\u7ED3\u675F\u540E\uFF0C\u5982\u679C\u4E00\u5207\u6B63\u5E38\uFF0C\u6B64\u65F6\u4F60\u53EF\u4EE5\u8BBF\u95EE\u57DF\u540D+\u7AEF\u53E3\u53F7\uFF0C\u5982 \u201Chttp://cdn.example.com:8008\u201D \u6765\u67E5\u770B\u9762\u677F

      • \u5C06\u6765\u5982\u679C\u9700\u8981\u518D\u6B21\u8FD0\u884C\u811A\u672C\uFF0C\u53EF\u4EE5\u8FD0\u884C\uFF1A

      ./nezha.sh
       

      \u6765\u6253\u5F00\u7BA1\u7406\u811A\u672C


      \u914D\u7F6E\u53CD\u5411\u4EE3\u7406

      • \u5728\u5B9D\u5854\u9762\u677F\u4E2D\u65B0\u5EFA\u4E00\u4E2A\u7AD9\u70B9\uFF0C\u57DF\u540D\u586B\u5199\u516C\u5F00\u8BBF\u95EE\u57DF\u540D\uFF0C\u5982 \u201Chttp://cdn.example.com\u201C \uFF0C\u7136\u540E\u70B9\u51FB\u201C\u8BBE\u7F6E\u201D\u8FDB\u5165\u7AD9\u70B9\u8BBE\u7F6E\u9009\u9879\uFF0C\u9009\u62E9\u201C\u53CD\u5411\u4EE3\u7406\u201D - \u201C\u65B0\u5EFA\u53CD\u5411\u4EE3\u7406\u201D

      • \u81EA\u5B9A\u4E49\u4E00\u4E2A\u4EE3\u7406\u540D\u79F0\uFF0C\u5728\u4E0B\u65B9\u201C\u76EE\u6807 URL\u201D\u4E2D\u586B\u5165 http://127.0.0.1 \u7136\u540E\u70B9\u51FB\u201C\u4FDD\u5B58\u201D

      • \u6253\u5F00\u521A\u521A\u65B0\u5EFA\u7684\u53CD\u5411\u4EE3\u7406\u53F3\u8FB9\u7684\u201C\u914D\u7F6E\u6587\u4EF6\u201D\uFF0C\u5C06\u914D\u7F6E\u6587\u4EF6\u66FF\u6362\u4E3A\u4EE5\u4E0B\u5185\u5BB9\uFF1A

      #PROXY-START/
      diff --git a/assets/guide_dashboard.md.0569080c.lean.js b/assets/guide_dashboard.md.81760078.lean.js
      similarity index 96%
      rename from assets/guide_dashboard.md.0569080c.lean.js
      rename to assets/guide_dashboard.md.81760078.lean.js
      index 9c5a607e..0229f36b 100644
      --- a/assets/guide_dashboard.md.0569080c.lean.js
      +++ b/assets/guide_dashboard.md.81760078.lean.js
      @@ -1 +1 @@
      -import{_ as e,c as a,o as t,a as n}from"./app.3817bf4e.js";const k='{"title":"\u51C6\u5907\u5DE5\u4F5C","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u51C6\u5907\u5DE5\u4F5C","slug":"\u51C6\u5907\u5DE5\u4F5C"},{"level":2,"title":"\u83B7\u53D6 Github/Jihulab \u7684 Client ID \u548C\u5BC6\u94A5","slug":"\u83B7\u53D6-github-jihulab-\u7684-client-id-\u548C\u5BC6\u94A5"},{"level":2,"title":"\u5728\u670D\u52A1\u5668\u4E2D\u5B89\u88C5 Dashboard","slug":"\u5728\u670D\u52A1\u5668\u4E2D\u5B89\u88C5-dashboard"},{"level":2,"title":"\u914D\u7F6E\u53CD\u5411\u4EE3\u7406","slug":"\u914D\u7F6E\u53CD\u5411\u4EE3\u7406"},{"level":2,"title":"\u5728\u5B9D\u5854\u9762\u677F\u4E2D\u914D\u7F6E SSL","slug":"\u5728\u5B9D\u5854\u9762\u677F\u4E2D\u914D\u7F6E-ssl"},{"level":2,"title":"FAQ","slug":"faq"},{"level":3,"title":"\u542F\u7528HTTPS\u540E/terminal\u6216/ws\u4E0D\u80FD\u6B63\u5E38\u8FDE\u63A5\u600E\u4E48\u529E?","slug":"\u542F\u7528https\u540E-terminal\u6216-ws\u4E0D\u80FD\u6B63\u5E38\u8FDE\u63A5\u600E\u4E48\u529E"},{"level":3,"title":"\u6211\u5BF9\u9762\u677F\u63D0\u4F9B\u7684\u6570\u636E\u4FEE\u6539/\u589E\u52A0\u529F\u80FD\u4E0D\u6EE1\u610F\uFF0C\u6211\u60F3\u8981\u81EA\u5DF1\u4FEE\u6539/\u589E\u52A0\u6570\u636E\u600E\u4E48\u529E\uFF1F","slug":"\u6211\u5BF9\u9762\u677F\u63D0\u4F9B\u7684\u6570\u636E\u4FEE\u6539-\u589E\u52A0\u529F\u80FD\u4E0D\u6EE1\u610F\uFF0C\u6211\u60F3\u8981\u81EA\u5DF1\u4FEE\u6539-\u589E\u52A0\u6570\u636E\u600E\u4E48\u529E\uFF1F"},{"level":3,"title":"\u6570\u636E\u5E93\u4E2D\u5404\u8868/\u5217\u662F\u4EC0\u4E48\u610F\u601D\uFF1F","slug":"\u6570\u636E\u5E93\u4E2D\u5404\u8868-\u5217\u662F\u4EC0\u4E48\u610F\u601D\uFF1F"},{"level":3,"title":"Dashboard \u4F1A\u81EA\u52A8\u66F4\u65B0\u5417\uFF1F","slug":"dashboard-\u4F1A\u81EA\u52A8\u66F4\u65B0\u5417\uFF1F"},{"level":3,"title":"\u5982\u4F55\u66F4\u65B0 Dashboard\uFF1F","slug":"\u5982\u4F55\u66F4\u65B0-dashboard\uFF1F"}],"relativePath":"guide/dashboard.md","lastUpdated":1681026579000}',s={},o=n("",44),r=[o];function p(l,c,i,d,h,u){return t(),a("div",null,r)}var m=e(s,[["render",p]]);export{k as __pageData,m as default};
      +import{_ as e,c as a,o as t,a as n}from"./app.3817bf4e.js";const k='{"title":"\u51C6\u5907\u5DE5\u4F5C","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u51C6\u5907\u5DE5\u4F5C","slug":"\u51C6\u5907\u5DE5\u4F5C"},{"level":2,"title":"\u83B7\u53D6 Github/Jihulab \u7684 Client ID \u548C\u5BC6\u94A5","slug":"\u83B7\u53D6-github-jihulab-\u7684-client-id-\u548C\u5BC6\u94A5"},{"level":2,"title":"\u5728\u670D\u52A1\u5668\u4E2D\u5B89\u88C5 Dashboard","slug":"\u5728\u670D\u52A1\u5668\u4E2D\u5B89\u88C5-dashboard"},{"level":2,"title":"\u914D\u7F6E\u53CD\u5411\u4EE3\u7406","slug":"\u914D\u7F6E\u53CD\u5411\u4EE3\u7406"},{"level":2,"title":"\u5728\u5B9D\u5854\u9762\u677F\u4E2D\u914D\u7F6E SSL","slug":"\u5728\u5B9D\u5854\u9762\u677F\u4E2D\u914D\u7F6E-ssl"},{"level":2,"title":"FAQ","slug":"faq"},{"level":3,"title":"\u542F\u7528HTTPS\u540E/terminal\u6216/ws\u4E0D\u80FD\u6B63\u5E38\u8FDE\u63A5\u600E\u4E48\u529E?","slug":"\u542F\u7528https\u540E-terminal\u6216-ws\u4E0D\u80FD\u6B63\u5E38\u8FDE\u63A5\u600E\u4E48\u529E"},{"level":3,"title":"\u6211\u5BF9\u9762\u677F\u63D0\u4F9B\u7684\u6570\u636E\u4FEE\u6539/\u589E\u52A0\u529F\u80FD\u4E0D\u6EE1\u610F\uFF0C\u6211\u60F3\u8981\u81EA\u5DF1\u4FEE\u6539/\u589E\u52A0\u6570\u636E\u600E\u4E48\u529E\uFF1F","slug":"\u6211\u5BF9\u9762\u677F\u63D0\u4F9B\u7684\u6570\u636E\u4FEE\u6539-\u589E\u52A0\u529F\u80FD\u4E0D\u6EE1\u610F\uFF0C\u6211\u60F3\u8981\u81EA\u5DF1\u4FEE\u6539-\u589E\u52A0\u6570\u636E\u600E\u4E48\u529E\uFF1F"},{"level":3,"title":"\u6570\u636E\u5E93\u4E2D\u5404\u8868/\u5217\u662F\u4EC0\u4E48\u610F\u601D\uFF1F","slug":"\u6570\u636E\u5E93\u4E2D\u5404\u8868-\u5217\u662F\u4EC0\u4E48\u610F\u601D\uFF1F"},{"level":3,"title":"Dashboard \u4F1A\u81EA\u52A8\u66F4\u65B0\u5417\uFF1F","slug":"dashboard-\u4F1A\u81EA\u52A8\u66F4\u65B0\u5417\uFF1F"},{"level":3,"title":"\u5982\u4F55\u66F4\u65B0 Dashboard\uFF1F","slug":"\u5982\u4F55\u66F4\u65B0-dashboard\uFF1F"}],"relativePath":"guide/dashboard.md","lastUpdated":1682076617000}',s={},o=n("",44),r=[o];function p(l,c,i,d,h,u){return t(),a("div",null,r)}var m=e(s,[["render",p]]);export{k as __pageData,m as default};
      diff --git a/assets/guide_dashboardq.md.61e04fcd.js b/assets/guide_dashboardq.md.7139c1fb.js
      similarity index 99%
      rename from assets/guide_dashboardq.md.61e04fcd.js
      rename to assets/guide_dashboardq.md.7139c1fb.js
      index b9f8f1bc..753351a6 100644
      --- a/assets/guide_dashboardq.md.61e04fcd.js
      +++ b/assets/guide_dashboardq.md.7139c1fb.js
      @@ -1,4 +1,4 @@
      -import{_ as a,c as s,o as e,a as n}from"./app.3817bf4e.js";const b='{"title":"\u4E3A\u4EC0\u4E48\u7BA1\u7406\u9762\u677F\u4E2D\u663E\u793A\u7684 IP \u548C Agent \u5B9E\u9645 IP \u4E0D\u4E00\u81F4\uFF1F","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4E3A\u4EC0\u4E48\u7BA1\u7406\u9762\u677F\u4E2D\u663E\u793A\u7684 IP \u548C Agent \u5B9E\u9645 IP \u4E0D\u4E00\u81F4\uFF1F","slug":"\u4E3A\u4EC0\u4E48\u7BA1\u7406\u9762\u677F\u4E2D\u663E\u793A\u7684-ip-\u548C-agent-\u5B9E\u9645-ip-\u4E0D\u4E00\u81F4\uFF1F"},{"level":2,"title":"\u5FD8\u8BB0\u67E5\u770B\u5BC6\u7801\\\\\u5220\u9664\u67E5\u770B\u5BC6\u7801","slug":"\u5FD8\u8BB0\u67E5\u770B\u5BC6\u7801-\u5220\u9664\u67E5\u770B\u5BC6\u7801"},{"level":2,"title":"\u9762\u677F\u5B89\u88C5/\u91CD\u542F/\u66F4\u65B0\u5931\u8D25: iptables ......","slug":"\u9762\u677F\u5B89\u88C5-\u91CD\u542F-\u66F4\u65B0\u5931\u8D25-iptables"},{"level":2,"title":"\u9762\u677F\u91CD\u542F\u5931\u8D25\uFF1AInvalid hostPort: nzsiteport \u7B49","slug":"\u9762\u677F\u91CD\u542F\u5931\u8D25\uFF1Ainvalid-hostport-nz-site-port-\u7B49"},{"level":2,"title":"\u9762\u677F\u5E03\u5C40\u9519\u8BEF\u3001CSS \u8D44\u6E90\u65E0\u6CD5\u88AB\u52A0\u8F7D","slug":"\u9762\u677F\u5E03\u5C40\u9519\u8BEF\u3001css-\u8D44\u6E90\u65E0\u6CD5\u88AB\u52A0\u8F7D"}],"relativePath":"guide/dashboardq.md","lastUpdated":1681026579000}',t={},o=n(`

      \u4E3A\u4EC0\u4E48\u7BA1\u7406\u9762\u677F\u4E2D\u663E\u793A\u7684 IP \u548C Agent \u5B9E\u9645 IP \u4E0D\u4E00\u81F4\uFF1F

      \u9996\u5148\u89E3\u91CA\u7BA1\u7406\u9762\u677F\u4E2D\u663E\u793A\u7684IP\u662F\u600E\u4E48\u5F97\u5230\u7684\uFF1AAgent \u4F1A\u6BCF\u9694\u4E00\u6BB5\u65F6\u95F4\u8BF7\u6C42\u4E00\u904D IP-API\uFF0C\u83B7\u53D6\u5230 IP \u4FE1\u606F\u540E\u4E0A\u62A5\u5230 Dashboard\uFF0C\u76EE\u524D\u4F7F\u7528\u7684 IP-API \u53EF\u5728\u6B64\u67E5\u770B\uFF1Amyip.go\u3002
      \u5982\u60A8\u53D1\u73B0\u7BA1\u7406\u9762\u677F\u4E2D\u663E\u793A\u7684 IP \u548C\u670D\u52A1\u5546\u63D0\u4F9B\u7ED9\u60A8\u7684 IP \u4E0D\u4E00\u81F4\uFF0C\u6700\u5927\u7684\u53EF\u80FD\u662F\u670D\u52A1\u5546\u7ED9\u60A8\u7684\u662F\u5165\u53E3 IP\uFF0C\u4F46Agent\u6D4B\u8BD5\u7684\u662F\u60A8\u7684\u51FA\u53E3 IP\u3002\u8FD9\u4E2A\u95EE\u9898\u4E5F\u53EF\u80FD\u4F1A\u51FA\u73B0\u5728\u591A\u7EBF\u670D\u52A1\u5668\u548C IPLC \u4E13\u7EBF\u4E2D\u3002

      TIP

      \u4E3E\u4E2A\u7B80\u5355\u4E5F\u5341\u5206\u5E38\u89C1\u7684\u4F8B\u5B50\uFF0C\u670D\u52A1\u5546\u7ED9\u60A8\u63D0\u4F9B\u7684\u662F\u4E00\u53F0\u9AD8\u9632\u670D\u52A1\u5668\uFF0C\u4E3A\u4E86\u540C\u65F6\u6EE1\u8DB3\u9AD8\u9632\u548C\u4F4E\u7F51\u7EDC\u4E2D\u65AD\u7387\u7684\u76EE\u6807\uFF0C\u63D0\u4F9B\u7ED9\u60A8\u7684 IP \u53EF\u80FD\u662F\u7ECF\u8FC7\u6620\u5C04\u540E\u7684\u9AD8\u9632 IP \u800C\u5E76\u975E\u60A8\u670D\u52A1\u5668\u7684\u771F\u5B9E\u51FA\u53E3 IP

      \u60A8\u4E5F\u53EF\u4EE5\u5728 Agent \u670D\u52A1\u5668\u4E2D\u8FD0\u884C\u4EE5\u4E0B\u547D\u4EE4\u6D4B\u8BD5\u51FA\u53E3IP:

      curl api.myip.la
      +import{_ as a,c as s,o as e,a as n}from"./app.3817bf4e.js";const b='{"title":"\u4E3A\u4EC0\u4E48\u7BA1\u7406\u9762\u677F\u4E2D\u663E\u793A\u7684 IP \u548C Agent \u5B9E\u9645 IP \u4E0D\u4E00\u81F4\uFF1F","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4E3A\u4EC0\u4E48\u7BA1\u7406\u9762\u677F\u4E2D\u663E\u793A\u7684 IP \u548C Agent \u5B9E\u9645 IP \u4E0D\u4E00\u81F4\uFF1F","slug":"\u4E3A\u4EC0\u4E48\u7BA1\u7406\u9762\u677F\u4E2D\u663E\u793A\u7684-ip-\u548C-agent-\u5B9E\u9645-ip-\u4E0D\u4E00\u81F4\uFF1F"},{"level":2,"title":"\u5FD8\u8BB0\u67E5\u770B\u5BC6\u7801\\\\\u5220\u9664\u67E5\u770B\u5BC6\u7801","slug":"\u5FD8\u8BB0\u67E5\u770B\u5BC6\u7801-\u5220\u9664\u67E5\u770B\u5BC6\u7801"},{"level":2,"title":"\u9762\u677F\u5B89\u88C5/\u91CD\u542F/\u66F4\u65B0\u5931\u8D25: iptables ......","slug":"\u9762\u677F\u5B89\u88C5-\u91CD\u542F-\u66F4\u65B0\u5931\u8D25-iptables"},{"level":2,"title":"\u9762\u677F\u91CD\u542F\u5931\u8D25\uFF1AInvalid hostPort: nzsiteport \u7B49","slug":"\u9762\u677F\u91CD\u542F\u5931\u8D25\uFF1Ainvalid-hostport-nz-site-port-\u7B49"},{"level":2,"title":"\u9762\u677F\u5E03\u5C40\u9519\u8BEF\u3001CSS \u8D44\u6E90\u65E0\u6CD5\u88AB\u52A0\u8F7D","slug":"\u9762\u677F\u5E03\u5C40\u9519\u8BEF\u3001css-\u8D44\u6E90\u65E0\u6CD5\u88AB\u52A0\u8F7D"}],"relativePath":"guide/dashboardq.md","lastUpdated":1682076617000}',t={},o=n(`

      \u4E3A\u4EC0\u4E48\u7BA1\u7406\u9762\u677F\u4E2D\u663E\u793A\u7684 IP \u548C Agent \u5B9E\u9645 IP \u4E0D\u4E00\u81F4\uFF1F

      \u9996\u5148\u89E3\u91CA\u7BA1\u7406\u9762\u677F\u4E2D\u663E\u793A\u7684IP\u662F\u600E\u4E48\u5F97\u5230\u7684\uFF1AAgent \u4F1A\u6BCF\u9694\u4E00\u6BB5\u65F6\u95F4\u8BF7\u6C42\u4E00\u904D IP-API\uFF0C\u83B7\u53D6\u5230 IP \u4FE1\u606F\u540E\u4E0A\u62A5\u5230 Dashboard\uFF0C\u76EE\u524D\u4F7F\u7528\u7684 IP-API \u53EF\u5728\u6B64\u67E5\u770B\uFF1Amyip.go\u3002
      \u5982\u60A8\u53D1\u73B0\u7BA1\u7406\u9762\u677F\u4E2D\u663E\u793A\u7684 IP \u548C\u670D\u52A1\u5546\u63D0\u4F9B\u7ED9\u60A8\u7684 IP \u4E0D\u4E00\u81F4\uFF0C\u6700\u5927\u7684\u53EF\u80FD\u662F\u670D\u52A1\u5546\u7ED9\u60A8\u7684\u662F\u5165\u53E3 IP\uFF0C\u4F46Agent\u6D4B\u8BD5\u7684\u662F\u60A8\u7684\u51FA\u53E3 IP\u3002\u8FD9\u4E2A\u95EE\u9898\u4E5F\u53EF\u80FD\u4F1A\u51FA\u73B0\u5728\u591A\u7EBF\u670D\u52A1\u5668\u548C IPLC \u4E13\u7EBF\u4E2D\u3002

      TIP

      \u4E3E\u4E2A\u7B80\u5355\u4E5F\u5341\u5206\u5E38\u89C1\u7684\u4F8B\u5B50\uFF0C\u670D\u52A1\u5546\u7ED9\u60A8\u63D0\u4F9B\u7684\u662F\u4E00\u53F0\u9AD8\u9632\u670D\u52A1\u5668\uFF0C\u4E3A\u4E86\u540C\u65F6\u6EE1\u8DB3\u9AD8\u9632\u548C\u4F4E\u7F51\u7EDC\u4E2D\u65AD\u7387\u7684\u76EE\u6807\uFF0C\u63D0\u4F9B\u7ED9\u60A8\u7684 IP \u53EF\u80FD\u662F\u7ECF\u8FC7\u6620\u5C04\u540E\u7684\u9AD8\u9632 IP \u800C\u5E76\u975E\u60A8\u670D\u52A1\u5668\u7684\u771F\u5B9E\u51FA\u53E3 IP

      \u60A8\u4E5F\u53EF\u4EE5\u5728 Agent \u670D\u52A1\u5668\u4E2D\u8FD0\u884C\u4EE5\u4E0B\u547D\u4EE4\u6D4B\u8BD5\u51FA\u53E3IP:

      curl api.myip.la
       curl ip.sb
       curl ip-api.com
       

      \u5FD8\u8BB0\u67E5\u770B\u5BC6\u7801\\\u5220\u9664\u67E5\u770B\u5BC6\u7801

      \u8BF7\u67E5\u770B\u6216\u7F16\u8F91 /opt/nezha/dashboard/data/config.yaml \u6587\u4EF6\u3002
      \u5BC6\u7801\u4F4D\u4E8E site-viewpassword \u9879\u4E2D\u3002

      \u9762\u677F\u5B89\u88C5/\u91CD\u542F/\u66F4\u65B0\u5931\u8D25: iptables ......

      \u9996\u5148\u5C1D\u8BD5\u91CD\u542F Docker \u518D\u64CD\u4F5C

      systemctl status docker
      diff --git a/assets/guide_dashboardq.md.61e04fcd.lean.js b/assets/guide_dashboardq.md.7139c1fb.lean.js
      similarity index 95%
      rename from assets/guide_dashboardq.md.61e04fcd.lean.js
      rename to assets/guide_dashboardq.md.7139c1fb.lean.js
      index a0d7b849..b5dba7e2 100644
      --- a/assets/guide_dashboardq.md.61e04fcd.lean.js
      +++ b/assets/guide_dashboardq.md.7139c1fb.lean.js
      @@ -1 +1 @@
      -import{_ as a,c as s,o as e,a as n}from"./app.3817bf4e.js";const b='{"title":"\u4E3A\u4EC0\u4E48\u7BA1\u7406\u9762\u677F\u4E2D\u663E\u793A\u7684 IP \u548C Agent \u5B9E\u9645 IP \u4E0D\u4E00\u81F4\uFF1F","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4E3A\u4EC0\u4E48\u7BA1\u7406\u9762\u677F\u4E2D\u663E\u793A\u7684 IP \u548C Agent \u5B9E\u9645 IP \u4E0D\u4E00\u81F4\uFF1F","slug":"\u4E3A\u4EC0\u4E48\u7BA1\u7406\u9762\u677F\u4E2D\u663E\u793A\u7684-ip-\u548C-agent-\u5B9E\u9645-ip-\u4E0D\u4E00\u81F4\uFF1F"},{"level":2,"title":"\u5FD8\u8BB0\u67E5\u770B\u5BC6\u7801\\\\\u5220\u9664\u67E5\u770B\u5BC6\u7801","slug":"\u5FD8\u8BB0\u67E5\u770B\u5BC6\u7801-\u5220\u9664\u67E5\u770B\u5BC6\u7801"},{"level":2,"title":"\u9762\u677F\u5B89\u88C5/\u91CD\u542F/\u66F4\u65B0\u5931\u8D25: iptables ......","slug":"\u9762\u677F\u5B89\u88C5-\u91CD\u542F-\u66F4\u65B0\u5931\u8D25-iptables"},{"level":2,"title":"\u9762\u677F\u91CD\u542F\u5931\u8D25\uFF1AInvalid hostPort: nzsiteport \u7B49","slug":"\u9762\u677F\u91CD\u542F\u5931\u8D25\uFF1Ainvalid-hostport-nz-site-port-\u7B49"},{"level":2,"title":"\u9762\u677F\u5E03\u5C40\u9519\u8BEF\u3001CSS \u8D44\u6E90\u65E0\u6CD5\u88AB\u52A0\u8F7D","slug":"\u9762\u677F\u5E03\u5C40\u9519\u8BEF\u3001css-\u8D44\u6E90\u65E0\u6CD5\u88AB\u52A0\u8F7D"}],"relativePath":"guide/dashboardq.md","lastUpdated":1681026579000}',t={},o=n("",18),i=[o];function p(l,r,c,d,h,u){return e(),s("div",null,i)}var k=a(t,[["render",p]]);export{b as __pageData,k as default};
      +import{_ as a,c as s,o as e,a as n}from"./app.3817bf4e.js";const b='{"title":"\u4E3A\u4EC0\u4E48\u7BA1\u7406\u9762\u677F\u4E2D\u663E\u793A\u7684 IP \u548C Agent \u5B9E\u9645 IP \u4E0D\u4E00\u81F4\uFF1F","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4E3A\u4EC0\u4E48\u7BA1\u7406\u9762\u677F\u4E2D\u663E\u793A\u7684 IP \u548C Agent \u5B9E\u9645 IP \u4E0D\u4E00\u81F4\uFF1F","slug":"\u4E3A\u4EC0\u4E48\u7BA1\u7406\u9762\u677F\u4E2D\u663E\u793A\u7684-ip-\u548C-agent-\u5B9E\u9645-ip-\u4E0D\u4E00\u81F4\uFF1F"},{"level":2,"title":"\u5FD8\u8BB0\u67E5\u770B\u5BC6\u7801\\\\\u5220\u9664\u67E5\u770B\u5BC6\u7801","slug":"\u5FD8\u8BB0\u67E5\u770B\u5BC6\u7801-\u5220\u9664\u67E5\u770B\u5BC6\u7801"},{"level":2,"title":"\u9762\u677F\u5B89\u88C5/\u91CD\u542F/\u66F4\u65B0\u5931\u8D25: iptables ......","slug":"\u9762\u677F\u5B89\u88C5-\u91CD\u542F-\u66F4\u65B0\u5931\u8D25-iptables"},{"level":2,"title":"\u9762\u677F\u91CD\u542F\u5931\u8D25\uFF1AInvalid hostPort: nzsiteport \u7B49","slug":"\u9762\u677F\u91CD\u542F\u5931\u8D25\uFF1Ainvalid-hostport-nz-site-port-\u7B49"},{"level":2,"title":"\u9762\u677F\u5E03\u5C40\u9519\u8BEF\u3001CSS \u8D44\u6E90\u65E0\u6CD5\u88AB\u52A0\u8F7D","slug":"\u9762\u677F\u5E03\u5C40\u9519\u8BEF\u3001css-\u8D44\u6E90\u65E0\u6CD5\u88AB\u52A0\u8F7D"}],"relativePath":"guide/dashboardq.md","lastUpdated":1682076617000}',t={},o=n("",18),i=[o];function p(l,r,c,d,h,u){return e(),s("div",null,i)}var k=a(t,[["render",p]]);export{b as __pageData,k as default};
      diff --git a/assets/guide_loginq.md.6646f83a.js b/assets/guide_loginq.md.f3f9f895.js
      similarity index 99%
      rename from assets/guide_loginq.md.6646f83a.js
      rename to assets/guide_loginq.md.f3f9f895.js
      index 004a67e0..f7c74b67 100644
      --- a/assets/guide_loginq.md.6646f83a.js
      +++ b/assets/guide_loginq.md.f3f9f895.js
      @@ -1 +1 @@
      -import{_ as e,c as t,o as a,a as i}from"./app.3817bf4e.js";const b='{"title":"\u767B\u5F55\u56DE\u8C03\u540E\u9875\u9762\u5361\u4F4F\\\\\u62D2\u7EDD\u8FDE\u63A5\\\\\u54CD\u5E94\u65F6\u95F4\u8FC7\u957F","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u767B\u5F55\u56DE\u8C03\u540E\u9875\u9762\u5361\u4F4F\\\\\u62D2\u7EDD\u8FDE\u63A5\\\\\u54CD\u5E94\u65F6\u95F4\u8FC7\u957F","slug":"\u767B\u5F55\u56DE\u8C03\u540E\u9875\u9762\u5361\u4F4F-\u62D2\u7EDD\u8FDE\u63A5-\u54CD\u5E94\u65F6\u95F4\u8FC7\u957F"},{"level":3,"title":"\u5982\u4F55\u68C0\u67E5\u6211\u7684\u56DE\u8C03\u5730\u5740\u662F\u5426\u9519\u8BEF\uFF1F","slug":"\u5982\u4F55\u68C0\u67E5\u6211\u7684\u56DE\u8C03\u5730\u5740\u662F\u5426\u9519\u8BEF\uFF1F"},{"level":2,"title":"\u767B\u5F55\u540E\u9762\u677F\u62A5\u9519","slug":"\u767B\u5F55\u540E\u9762\u677F\u62A5\u9519"},{"level":3,"title":"http: named cookie not present","slug":"http-named-cookie-not-present"},{"level":3,"title":"lookup xxx","slug":"lookup-xxx"},{"level":3,"title":"\u6388\u6743\u65B9\u5F0F\u65E0\u6548\uFF0C\u6216\u8005\u767B\u5F55\u56DE\u8C03\u5730\u5740\u65E0\u6548\u3001\u8FC7\u671F\u6216\u5DF2\u88AB\u64A4\u9500","slug":"\u6388\u6743\u65B9\u5F0F\u65E0\u6548\uFF0C\u6216\u8005\u767B\u5F55\u56DE\u8C03\u5730\u5740\u65E0\u6548\u3001\u8FC7\u671F\u6216\u5DF2\u88AB\u64A4\u9500"},{"level":3,"title":"oauth2: server response missing access_token","slug":"oauth2-server-response-missing-access-token"},{"level":3,"title":"\u8BE5\u7528\u6237\u4E0D\u662F\u672C\u7AD9\u70B9\u7BA1\u7406\u5458\uFF0C\u65E0\u6CD5\u767B\u5F55","slug":"\u8BE5\u7528\u6237\u4E0D\u662F\u672C\u7AD9\u70B9\u7BA1\u7406\u5458\uFF0C\u65E0\u6CD5\u767B\u5F55"},{"level":3,"title":"dial tcp xxx:443 i/o timeout","slug":"dial-tcp-xxx-443-i-o-timeout"},{"level":3,"title":"net/http: TLS handshake timeout","slug":"net-http-tls-handshake-timeout"}],"relativePath":"guide/loginq.md","lastUpdated":1681026579000}',o={},s=i('

      \u767B\u5F55\u56DE\u8C03\u540E\u9875\u9762\u5361\u4F4F\\\u62D2\u7EDD\u8FDE\u63A5\\\u54CD\u5E94\u65F6\u95F4\u8FC7\u957F

      \u8FD8\u6709\u5176\u4ED6\u4E00\u4E9B\u8868\u73B0\u5F62\u5F0F\uFF0C\u603B\u4E4B\u767B\u5F55\u540E\u6D4F\u89C8\u5668\u65E0\u6CD5\u6B63\u5E38\u663E\u793A\u3002

      1. \u60A8\u7684\u670D\u52A1\u5668\u65E0\u6CD5\u8FDE\u63A5\u5230 Github/Gitee\uFF0C\u6700\u5E38\u89C1\u4E8E\u56FD\u5185\u670D\u52A1\u5668\u914D\u7F6E Github \u60C5\u51B5\u4E0B\uFF0C\u53EF\u4EE5\u8003\u8651\u591A\u5C1D\u8BD5\u51E0\u6B21\u6216\u8005\u5207\u6362\u5230 Jihulab/Gitee\u3002
      2. \u60A8\u914D\u7F6E\u9519\u4E86\u56DE\u8C03\u5730\u5740\uFF0C\u786E\u4FDD\u60A8\u7684\u56DE\u8C03\u5730\u5740\u6B63\u786E\u4E14\u7AEF\u53E3\u4E0E\u534F\u8BAE\u5747\u6B63\u786E\uFF01
      3. Dashboard \u53D1\u751F\u672A\u77E5\u9519\u8BEF\uFF0C\u60A8\u53EF\u4EE5\u4F7F\u7528\u811A\u672C\u67E5\u770B\u65E5\u5FD7\uFF0C\u4F46\u6B64\u9879\u53EF\u80FD\u6027\u8F83\u4F4E\u3002

      TIP

      \u4EC0\u4E48\u662F\u534F\u8BAE\uFF1F
      \u5728\u6D4F\u89C8\u5668\u4E2D\uFF0C\u60A8\u7684\u57DF\u540D\u4EE5://\u7ED3\u5C3E\u7684\u5B57\u7B26\u4E32\u5373\u4E3A\u534F\u8BAE\uFF0C\u901A\u5E38\u4E3A http \u548C https \u4E24\u79CD\u3002\u7531\u4E8E\u6B63\u5E38\u90E8\u7F72\u60C5\u51B5\u4E0B\u9762\u677F\u53EF\u80FD\u6709\u591A\u79CD\u534F\u8BAE+\u57DF\u540D+\u7AEF\u53E3\u7EC4\u5408\u5747\u53EF\u8BBF\u95EE\uFF0C\u8BF7\u52A1\u5FC5\u9009\u4E00\u4E2A\u6700\u5408\u9002\u7684\u4F5C\u4E3A\u56DE\u8C03\u3002

      \u5982\u4F55\u68C0\u67E5\u6211\u7684\u56DE\u8C03\u5730\u5740\u662F\u5426\u9519\u8BEF\uFF1F

      \u8BF7\u786E\u4FDD\u767B\u5F55\u524D\u6D4F\u89C8\u5668\u663E\u793A\u7684\u534F\u8BAE+\u57DF\u540D+\u7AEF\u53E3\u548C\u767B\u5F55\u540E\u8DF3\u8F6C\u5230\u7684\u534F\u8BAE+\u57DF\u540D+\u7AEF\u53E3\u4E00\u81F4\u3002
      \u8BF7\u786E\u4FDD\u60A8\u7684\u8DEF\u5F84\u4E3A/oauth2/callback\uFF0C\u5168\u90E8\u5C0F\u5199

      \u767B\u5F55\u540E\u9762\u677F\u62A5\u9519

      \u6E05\u7406cookies\u540E\u91CD\u65B0\u767B\u5F55\uFF0C\u6216\u6362\u4E2A\u6D4F\u89C8\u5668

      lookup xxx

      \u5BB9\u5668DNS\u89E3\u6790\u5931\u8D25\uFF0C\u591A\u6570\u60C5\u51B5\u4E0B\u4E3A\u4FEE\u6539\u4E86iptables\u76F8\u5173\u914D\u7F6E\u3002
      \u5EFA\u8BAE\u5148\u91CD\u542Fdocker\uFF0Csudo systemctl restart docker\uFF0C\u518D\u4F7F\u7528\u811A\u672C\u91CD\u542F\u9762\u677F\u3002
      \u4ECD\u7136\u51FA\u73B0lookup\u9519\u8BEF\u5EFA\u8BAE\u67E5\u770B\u662F\u5426\u6709\u5176\u4ED6\u63A7\u5236iptables\u7684\u5DE5\u5177\uFF0C\u5982\u5B9D\u5854\u9632\u706B\u5899\u7B49\u3002
      \u8FD9\u4E2A\u95EE\u9898\u4E5F\u53EF\u80FD\u4E0E\u5185\u6838\u6709\u5173\u7CFB\uFF0C\u8BF7\u5C1D\u8BD5\u66F4\u6362\u5B98\u65B9\u5185\u6838\u3002

      \u6388\u6743\u65B9\u5F0F\u65E0\u6548\uFF0C\u6216\u8005\u767B\u5F55\u56DE\u8C03\u5730\u5740\u65E0\u6548\u3001\u8FC7\u671F\u6216\u5DF2\u88AB\u64A4\u9500

      \u53EA\u51FA\u73B0\u5728 Gitee \u767B\u5F55\u65B9\u5F0F\u4E2D\uFF0C\u539F\u56E0\u4E0D\u660E\uFF0C\u5EFA\u8BAE\u66F4\u6362\u5230 Jihulab\u3002

      oauth2: server response missing access_token

      \u53EF\u80FD\u7531\u591A\u79CD\u56E0\u7D20\u5F15\u8D77\uFF0C\u6700\u5927\u53EF\u80FD\u6027\u662F\u7F51\u7EDC\u95EE\u9898\uFF0C\u5EFA\u8BAE\u68C0\u67E5\u7F51\u7EDC\u540E\u91CD\u8BD5\u3002
      \u65E0\u6CD5\u89E3\u51B3\u7684\u8BDD\u5EFA\u8BAE\u66F4\u6362 Github/Jihulab \u7B49\u3002

      \u8BE5\u7528\u6237\u4E0D\u662F\u672C\u7AD9\u70B9\u7BA1\u7406\u5458\uFF0C\u65E0\u6CD5\u767B\u5F55

      \u60A8\u767B\u9646\u9519\u4E86\u8D26\u53F7\u6216\u8005\u914D\u7F6E\u9519\u4E86\u7528\u6237\u540D\uFF0C\u6CE8\u610F\u7528\u6237\u540D\u4E0D\u662F\u90AE\u7BB1\uFF0C\u53EF\u4F7F\u7528\u811A\u672C\u4FEE\u6539\u3002

      dial tcp xxx:443 i/o timeout

      \u7F51\u7EDC\u95EE\u9898\uFF0C\u53EF\u5148\u91CD\u542F Docker\uFF0Csudo systemctl restart docker\uFF0C\u518D\u4F7F\u7528\u811A\u672C\u91CD\u542F\u9762\u677F\u3002
      \u5982\u4E3A\u56FD\u5185\u670D\u52A1\u5668\u914D\u7F6E Github \u767B\u9646\u65B9\u5F0F\uFF0C\u5219\u5EFA\u8BAE\u5207\u6362\u5230Jihulab\u4EE5\u907F\u514D\u7F51\u7EDC\u5E72\u6270\u3002

      net/http: TLS handshake timeout

      \u540C\u4E0A\u3002

      ',21),r=[s];function h(d,l,n,c,p,u){return a(),t("div",null,r)}var k=e(o,[["render",h]]);export{b as __pageData,k as default}; +import{_ as e,c as t,o as a,a as i}from"./app.3817bf4e.js";const b='{"title":"\u767B\u5F55\u56DE\u8C03\u540E\u9875\u9762\u5361\u4F4F\\\\\u62D2\u7EDD\u8FDE\u63A5\\\\\u54CD\u5E94\u65F6\u95F4\u8FC7\u957F","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u767B\u5F55\u56DE\u8C03\u540E\u9875\u9762\u5361\u4F4F\\\\\u62D2\u7EDD\u8FDE\u63A5\\\\\u54CD\u5E94\u65F6\u95F4\u8FC7\u957F","slug":"\u767B\u5F55\u56DE\u8C03\u540E\u9875\u9762\u5361\u4F4F-\u62D2\u7EDD\u8FDE\u63A5-\u54CD\u5E94\u65F6\u95F4\u8FC7\u957F"},{"level":3,"title":"\u5982\u4F55\u68C0\u67E5\u6211\u7684\u56DE\u8C03\u5730\u5740\u662F\u5426\u9519\u8BEF\uFF1F","slug":"\u5982\u4F55\u68C0\u67E5\u6211\u7684\u56DE\u8C03\u5730\u5740\u662F\u5426\u9519\u8BEF\uFF1F"},{"level":2,"title":"\u767B\u5F55\u540E\u9762\u677F\u62A5\u9519","slug":"\u767B\u5F55\u540E\u9762\u677F\u62A5\u9519"},{"level":3,"title":"http: named cookie not present","slug":"http-named-cookie-not-present"},{"level":3,"title":"lookup xxx","slug":"lookup-xxx"},{"level":3,"title":"\u6388\u6743\u65B9\u5F0F\u65E0\u6548\uFF0C\u6216\u8005\u767B\u5F55\u56DE\u8C03\u5730\u5740\u65E0\u6548\u3001\u8FC7\u671F\u6216\u5DF2\u88AB\u64A4\u9500","slug":"\u6388\u6743\u65B9\u5F0F\u65E0\u6548\uFF0C\u6216\u8005\u767B\u5F55\u56DE\u8C03\u5730\u5740\u65E0\u6548\u3001\u8FC7\u671F\u6216\u5DF2\u88AB\u64A4\u9500"},{"level":3,"title":"oauth2: server response missing access_token","slug":"oauth2-server-response-missing-access-token"},{"level":3,"title":"\u8BE5\u7528\u6237\u4E0D\u662F\u672C\u7AD9\u70B9\u7BA1\u7406\u5458\uFF0C\u65E0\u6CD5\u767B\u5F55","slug":"\u8BE5\u7528\u6237\u4E0D\u662F\u672C\u7AD9\u70B9\u7BA1\u7406\u5458\uFF0C\u65E0\u6CD5\u767B\u5F55"},{"level":3,"title":"dial tcp xxx:443 i/o timeout","slug":"dial-tcp-xxx-443-i-o-timeout"},{"level":3,"title":"net/http: TLS handshake timeout","slug":"net-http-tls-handshake-timeout"}],"relativePath":"guide/loginq.md","lastUpdated":1682076617000}',o={},s=i('

      \u767B\u5F55\u56DE\u8C03\u540E\u9875\u9762\u5361\u4F4F\\\u62D2\u7EDD\u8FDE\u63A5\\\u54CD\u5E94\u65F6\u95F4\u8FC7\u957F

      \u8FD8\u6709\u5176\u4ED6\u4E00\u4E9B\u8868\u73B0\u5F62\u5F0F\uFF0C\u603B\u4E4B\u767B\u5F55\u540E\u6D4F\u89C8\u5668\u65E0\u6CD5\u6B63\u5E38\u663E\u793A\u3002

      1. \u60A8\u7684\u670D\u52A1\u5668\u65E0\u6CD5\u8FDE\u63A5\u5230 Github/Gitee\uFF0C\u6700\u5E38\u89C1\u4E8E\u56FD\u5185\u670D\u52A1\u5668\u914D\u7F6E Github \u60C5\u51B5\u4E0B\uFF0C\u53EF\u4EE5\u8003\u8651\u591A\u5C1D\u8BD5\u51E0\u6B21\u6216\u8005\u5207\u6362\u5230 Jihulab/Gitee\u3002
      2. \u60A8\u914D\u7F6E\u9519\u4E86\u56DE\u8C03\u5730\u5740\uFF0C\u786E\u4FDD\u60A8\u7684\u56DE\u8C03\u5730\u5740\u6B63\u786E\u4E14\u7AEF\u53E3\u4E0E\u534F\u8BAE\u5747\u6B63\u786E\uFF01
      3. Dashboard \u53D1\u751F\u672A\u77E5\u9519\u8BEF\uFF0C\u60A8\u53EF\u4EE5\u4F7F\u7528\u811A\u672C\u67E5\u770B\u65E5\u5FD7\uFF0C\u4F46\u6B64\u9879\u53EF\u80FD\u6027\u8F83\u4F4E\u3002

      TIP

      \u4EC0\u4E48\u662F\u534F\u8BAE\uFF1F
      \u5728\u6D4F\u89C8\u5668\u4E2D\uFF0C\u60A8\u7684\u57DF\u540D\u4EE5://\u7ED3\u5C3E\u7684\u5B57\u7B26\u4E32\u5373\u4E3A\u534F\u8BAE\uFF0C\u901A\u5E38\u4E3A http \u548C https \u4E24\u79CD\u3002\u7531\u4E8E\u6B63\u5E38\u90E8\u7F72\u60C5\u51B5\u4E0B\u9762\u677F\u53EF\u80FD\u6709\u591A\u79CD\u534F\u8BAE+\u57DF\u540D+\u7AEF\u53E3\u7EC4\u5408\u5747\u53EF\u8BBF\u95EE\uFF0C\u8BF7\u52A1\u5FC5\u9009\u4E00\u4E2A\u6700\u5408\u9002\u7684\u4F5C\u4E3A\u56DE\u8C03\u3002

      \u5982\u4F55\u68C0\u67E5\u6211\u7684\u56DE\u8C03\u5730\u5740\u662F\u5426\u9519\u8BEF\uFF1F

      \u8BF7\u786E\u4FDD\u767B\u5F55\u524D\u6D4F\u89C8\u5668\u663E\u793A\u7684\u534F\u8BAE+\u57DF\u540D+\u7AEF\u53E3\u548C\u767B\u5F55\u540E\u8DF3\u8F6C\u5230\u7684\u534F\u8BAE+\u57DF\u540D+\u7AEF\u53E3\u4E00\u81F4\u3002
      \u8BF7\u786E\u4FDD\u60A8\u7684\u8DEF\u5F84\u4E3A/oauth2/callback\uFF0C\u5168\u90E8\u5C0F\u5199

      \u767B\u5F55\u540E\u9762\u677F\u62A5\u9519

      \u6E05\u7406cookies\u540E\u91CD\u65B0\u767B\u5F55\uFF0C\u6216\u6362\u4E2A\u6D4F\u89C8\u5668

      lookup xxx

      \u5BB9\u5668DNS\u89E3\u6790\u5931\u8D25\uFF0C\u591A\u6570\u60C5\u51B5\u4E0B\u4E3A\u4FEE\u6539\u4E86iptables\u76F8\u5173\u914D\u7F6E\u3002
      \u5EFA\u8BAE\u5148\u91CD\u542Fdocker\uFF0Csudo systemctl restart docker\uFF0C\u518D\u4F7F\u7528\u811A\u672C\u91CD\u542F\u9762\u677F\u3002
      \u4ECD\u7136\u51FA\u73B0lookup\u9519\u8BEF\u5EFA\u8BAE\u67E5\u770B\u662F\u5426\u6709\u5176\u4ED6\u63A7\u5236iptables\u7684\u5DE5\u5177\uFF0C\u5982\u5B9D\u5854\u9632\u706B\u5899\u7B49\u3002
      \u8FD9\u4E2A\u95EE\u9898\u4E5F\u53EF\u80FD\u4E0E\u5185\u6838\u6709\u5173\u7CFB\uFF0C\u8BF7\u5C1D\u8BD5\u66F4\u6362\u5B98\u65B9\u5185\u6838\u3002

      \u6388\u6743\u65B9\u5F0F\u65E0\u6548\uFF0C\u6216\u8005\u767B\u5F55\u56DE\u8C03\u5730\u5740\u65E0\u6548\u3001\u8FC7\u671F\u6216\u5DF2\u88AB\u64A4\u9500

      \u53EA\u51FA\u73B0\u5728 Gitee \u767B\u5F55\u65B9\u5F0F\u4E2D\uFF0C\u539F\u56E0\u4E0D\u660E\uFF0C\u5EFA\u8BAE\u66F4\u6362\u5230 Jihulab\u3002

      oauth2: server response missing access_token

      \u53EF\u80FD\u7531\u591A\u79CD\u56E0\u7D20\u5F15\u8D77\uFF0C\u6700\u5927\u53EF\u80FD\u6027\u662F\u7F51\u7EDC\u95EE\u9898\uFF0C\u5EFA\u8BAE\u68C0\u67E5\u7F51\u7EDC\u540E\u91CD\u8BD5\u3002
      \u65E0\u6CD5\u89E3\u51B3\u7684\u8BDD\u5EFA\u8BAE\u66F4\u6362 Github/Jihulab \u7B49\u3002

      \u8BE5\u7528\u6237\u4E0D\u662F\u672C\u7AD9\u70B9\u7BA1\u7406\u5458\uFF0C\u65E0\u6CD5\u767B\u5F55

      \u60A8\u767B\u9646\u9519\u4E86\u8D26\u53F7\u6216\u8005\u914D\u7F6E\u9519\u4E86\u7528\u6237\u540D\uFF0C\u6CE8\u610F\u7528\u6237\u540D\u4E0D\u662F\u90AE\u7BB1\uFF0C\u53EF\u4F7F\u7528\u811A\u672C\u4FEE\u6539\u3002

      dial tcp xxx:443 i/o timeout

      \u7F51\u7EDC\u95EE\u9898\uFF0C\u53EF\u5148\u91CD\u542F Docker\uFF0Csudo systemctl restart docker\uFF0C\u518D\u4F7F\u7528\u811A\u672C\u91CD\u542F\u9762\u677F\u3002
      \u5982\u4E3A\u56FD\u5185\u670D\u52A1\u5668\u914D\u7F6E Github \u767B\u9646\u65B9\u5F0F\uFF0C\u5219\u5EFA\u8BAE\u5207\u6362\u5230Jihulab\u4EE5\u907F\u514D\u7F51\u7EDC\u5E72\u6270\u3002

      net/http: TLS handshake timeout

      \u540C\u4E0A\u3002

      ',21),r=[s];function h(d,l,n,c,p,u){return a(),t("div",null,r)}var k=e(o,[["render",h]]);export{b as __pageData,k as default}; diff --git a/assets/guide_loginq.md.6646f83a.lean.js b/assets/guide_loginq.md.f3f9f895.lean.js similarity index 96% rename from assets/guide_loginq.md.6646f83a.lean.js rename to assets/guide_loginq.md.f3f9f895.lean.js index c6e6309c..9cebc186 100644 --- a/assets/guide_loginq.md.6646f83a.lean.js +++ b/assets/guide_loginq.md.f3f9f895.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o as a,a as i}from"./app.3817bf4e.js";const b='{"title":"\u767B\u5F55\u56DE\u8C03\u540E\u9875\u9762\u5361\u4F4F\\\\\u62D2\u7EDD\u8FDE\u63A5\\\\\u54CD\u5E94\u65F6\u95F4\u8FC7\u957F","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u767B\u5F55\u56DE\u8C03\u540E\u9875\u9762\u5361\u4F4F\\\\\u62D2\u7EDD\u8FDE\u63A5\\\\\u54CD\u5E94\u65F6\u95F4\u8FC7\u957F","slug":"\u767B\u5F55\u56DE\u8C03\u540E\u9875\u9762\u5361\u4F4F-\u62D2\u7EDD\u8FDE\u63A5-\u54CD\u5E94\u65F6\u95F4\u8FC7\u957F"},{"level":3,"title":"\u5982\u4F55\u68C0\u67E5\u6211\u7684\u56DE\u8C03\u5730\u5740\u662F\u5426\u9519\u8BEF\uFF1F","slug":"\u5982\u4F55\u68C0\u67E5\u6211\u7684\u56DE\u8C03\u5730\u5740\u662F\u5426\u9519\u8BEF\uFF1F"},{"level":2,"title":"\u767B\u5F55\u540E\u9762\u677F\u62A5\u9519","slug":"\u767B\u5F55\u540E\u9762\u677F\u62A5\u9519"},{"level":3,"title":"http: named cookie not present","slug":"http-named-cookie-not-present"},{"level":3,"title":"lookup xxx","slug":"lookup-xxx"},{"level":3,"title":"\u6388\u6743\u65B9\u5F0F\u65E0\u6548\uFF0C\u6216\u8005\u767B\u5F55\u56DE\u8C03\u5730\u5740\u65E0\u6548\u3001\u8FC7\u671F\u6216\u5DF2\u88AB\u64A4\u9500","slug":"\u6388\u6743\u65B9\u5F0F\u65E0\u6548\uFF0C\u6216\u8005\u767B\u5F55\u56DE\u8C03\u5730\u5740\u65E0\u6548\u3001\u8FC7\u671F\u6216\u5DF2\u88AB\u64A4\u9500"},{"level":3,"title":"oauth2: server response missing access_token","slug":"oauth2-server-response-missing-access-token"},{"level":3,"title":"\u8BE5\u7528\u6237\u4E0D\u662F\u672C\u7AD9\u70B9\u7BA1\u7406\u5458\uFF0C\u65E0\u6CD5\u767B\u5F55","slug":"\u8BE5\u7528\u6237\u4E0D\u662F\u672C\u7AD9\u70B9\u7BA1\u7406\u5458\uFF0C\u65E0\u6CD5\u767B\u5F55"},{"level":3,"title":"dial tcp xxx:443 i/o timeout","slug":"dial-tcp-xxx-443-i-o-timeout"},{"level":3,"title":"net/http: TLS handshake timeout","slug":"net-http-tls-handshake-timeout"}],"relativePath":"guide/loginq.md","lastUpdated":1681026579000}',o={},s=i("",21),r=[s];function h(d,l,n,c,p,u){return a(),t("div",null,r)}var k=e(o,[["render",h]]);export{b as __pageData,k as default}; +import{_ as e,c as t,o as a,a as i}from"./app.3817bf4e.js";const b='{"title":"\u767B\u5F55\u56DE\u8C03\u540E\u9875\u9762\u5361\u4F4F\\\\\u62D2\u7EDD\u8FDE\u63A5\\\\\u54CD\u5E94\u65F6\u95F4\u8FC7\u957F","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u767B\u5F55\u56DE\u8C03\u540E\u9875\u9762\u5361\u4F4F\\\\\u62D2\u7EDD\u8FDE\u63A5\\\\\u54CD\u5E94\u65F6\u95F4\u8FC7\u957F","slug":"\u767B\u5F55\u56DE\u8C03\u540E\u9875\u9762\u5361\u4F4F-\u62D2\u7EDD\u8FDE\u63A5-\u54CD\u5E94\u65F6\u95F4\u8FC7\u957F"},{"level":3,"title":"\u5982\u4F55\u68C0\u67E5\u6211\u7684\u56DE\u8C03\u5730\u5740\u662F\u5426\u9519\u8BEF\uFF1F","slug":"\u5982\u4F55\u68C0\u67E5\u6211\u7684\u56DE\u8C03\u5730\u5740\u662F\u5426\u9519\u8BEF\uFF1F"},{"level":2,"title":"\u767B\u5F55\u540E\u9762\u677F\u62A5\u9519","slug":"\u767B\u5F55\u540E\u9762\u677F\u62A5\u9519"},{"level":3,"title":"http: named cookie not present","slug":"http-named-cookie-not-present"},{"level":3,"title":"lookup xxx","slug":"lookup-xxx"},{"level":3,"title":"\u6388\u6743\u65B9\u5F0F\u65E0\u6548\uFF0C\u6216\u8005\u767B\u5F55\u56DE\u8C03\u5730\u5740\u65E0\u6548\u3001\u8FC7\u671F\u6216\u5DF2\u88AB\u64A4\u9500","slug":"\u6388\u6743\u65B9\u5F0F\u65E0\u6548\uFF0C\u6216\u8005\u767B\u5F55\u56DE\u8C03\u5730\u5740\u65E0\u6548\u3001\u8FC7\u671F\u6216\u5DF2\u88AB\u64A4\u9500"},{"level":3,"title":"oauth2: server response missing access_token","slug":"oauth2-server-response-missing-access-token"},{"level":3,"title":"\u8BE5\u7528\u6237\u4E0D\u662F\u672C\u7AD9\u70B9\u7BA1\u7406\u5458\uFF0C\u65E0\u6CD5\u767B\u5F55","slug":"\u8BE5\u7528\u6237\u4E0D\u662F\u672C\u7AD9\u70B9\u7BA1\u7406\u5458\uFF0C\u65E0\u6CD5\u767B\u5F55"},{"level":3,"title":"dial tcp xxx:443 i/o timeout","slug":"dial-tcp-xxx-443-i-o-timeout"},{"level":3,"title":"net/http: TLS handshake timeout","slug":"net-http-tls-handshake-timeout"}],"relativePath":"guide/loginq.md","lastUpdated":1682076617000}',o={},s=i("",21),r=[s];function h(d,l,n,c,p,u){return a(),t("div",null,r)}var k=e(o,[["render",h]]);export{b as __pageData,k as default}; diff --git a/assets/guide_notifications.md.704bcb6a.js b/assets/guide_notifications.md.401936ef.js similarity index 99% rename from assets/guide_notifications.md.704bcb6a.js rename to assets/guide_notifications.md.401936ef.js index a6929a6c..553b8c76 100644 --- a/assets/guide_notifications.md.704bcb6a.js +++ b/assets/guide_notifications.md.401936ef.js @@ -1,4 +1,4 @@ -import{_ as o,c as t,o as n,a as e}from"./app.3817bf4e.js";const g='{"title":"\u7075\u6D3B\u7684\u901A\u77E5\u65B9\u5F0F","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u7075\u6D3B\u7684\u901A\u77E5\u65B9\u5F0F","slug":"\u7075\u6D3B\u7684\u901A\u77E5\u65B9\u5F0F"},{"level":2,"title":"\u62A5\u8B66\u89C4\u5219\u8BF4\u660E","slug":"\u62A5\u8B66\u89C4\u5219\u8BF4\u660E"},{"level":3,"title":"\u57FA\u672C\u89C4\u5219","slug":"\u57FA\u672C\u89C4\u5219"},{"level":3,"title":"\u7279\u6B8A\uFF1A\u4EFB\u610F\u5468\u671F\u6D41\u91CF\u62A5\u8B66","slug":"\u7279\u6B8A\uFF1A\u4EFB\u610F\u5468\u671F\u6D41\u91CF\u62A5\u8B66"},{"level":2,"title":"\u901A\u77E5\u89E6\u53D1\u6A21\u5F0F\u8BF4\u660E","slug":"\u901A\u77E5\u89E6\u53D1\u6A21\u5F0F\u8BF4\u660E"},{"level":2,"title":"\u8BBE\u7F6E\u62A5\u8B66\u65F6\u6267\u884C\u4EFB\u52A1","slug":"\u8BBE\u7F6E\u62A5\u8B66\u65F6\u6267\u884C\u4EFB\u52A1"}],"relativePath":"guide/notifications.md","lastUpdated":1681026579000}',a={},s=e(`

      \u54EA\u5412\u76D1\u63A7\u652F\u6301\u5BF9\u670D\u52A1\u5668\u7684\u8D1F\u8F7D\u3001CPU\u3001\u5185\u5B58\u3001\u786C\u76D8\u3001\u6D41\u91CF\u3001\u6708\u6D41\u91CF\u3001\u8FDB\u7A0B\u6570\u3001\u8FDE\u63A5\u6570\u8FDB\u884C\u76D1\u63A7\uFF0C\u5E76\u5728\u5176\u4E2D\u67D0\u9879\u8FBE\u5230\u7528\u6237\u8BBE\u5B9A\u503C\u65F6\u53D1\u9001\u62A5\u8B66\u901A\u77E5

      \u7075\u6D3B\u7684\u901A\u77E5\u65B9\u5F0F

      #NEZHA# \u662F\u9762\u677F\u6D88\u606F\u5360\u4F4D\u7B26\uFF0C\u9762\u677F\u89E6\u53D1\u901A\u77E5\u65F6\u4F1A\u81EA\u52A8\u7528\u5B9E\u9645\u6D88\u606F\u66FF\u6362\u5360\u4F4D\u7B26

      Body \u5185\u5BB9\u662FJSON \u683C\u5F0F\u7684\uFF1A\u5F53\u8BF7\u6C42\u7C7B\u578B\u4E3A FORM \u65F6\uFF0C\u503C\u4E3A key:value \u7684\u5F62\u5F0F\uFF0Cvalue \u91CC\u9762\u53EF\u653E\u7F6E\u5360\u4F4D\u7B26\uFF0C\u901A\u77E5\u65F6\u4F1A\u81EA\u52A8\u66FF\u6362\u3002\u5F53\u8BF7\u6C42\u7C7B\u578B\u4E3A JSON \u65F6 \u53EA\u4F1A\u7B80\u5355\u8FDB\u884C\u5B57\u7B26\u4E32\u66FF\u6362\u540E\u76F4\u63A5\u63D0\u4EA4\u5230URL\u3002

      URL \u91CC\u9762\u4E5F\u53EF\u653E\u7F6E\u5360\u4F4D\u7B26\uFF0C\u8BF7\u6C42\u65F6\u4F1A\u8FDB\u884C\u7B80\u5355\u7684\u5B57\u7B26\u4E32\u66FF\u6362\u3002

      \u4F60\u53EF\u4EE5\u53C2\u8003\u4EE5\u4E0B\u7684\u901A\u77E5\u65B9\u5F0F\u793A\u4F8B\uFF0C\u4E5F\u53EF\u4EE5\u6839\u636E\u81EA\u5DF1\u7684\u9700\u6C42\u7075\u6D3B\u8BBE\u7F6E\u63A8\u9001\u65B9\u5F0F

      • Bark \u793A\u4F8B

        • \u540D\u79F0\uFF1ABark
        • URL \u7EC4\u6210: \u7B2C\u4E00\u4E2A\u90E8\u5206\u662F key,\u4E4B\u540E\u6709\u4E09\u4E2A\u5339\u914D /:key/:body or /:key/:title/:body or /:key/:category/:title/:body
        • \u8BF7\u6C42\u65B9\u5F0F: GET
        • \u8BF7\u6C42\u7C7B\u578B: \u9ED8\u8BA4
        • Body: \u7A7A
        • \u540D\u79F0\uFF1ABark
        • URL \u7EC4\u6210: /push
        • \u8BF7\u6C42\u65B9\u5F0F: POST
        • \u8BF7\u6C42\u7C7B\u578B: form
        • Body: {"title": "#SERVER.NAME#","device_key":"xxxxxxxxx","body":"#NEZHA#","icon":"https://xxxxxxxx/nz.png"}
      • Server \u9171\u793A\u4F8B

      • Server \u9171\u8FDB\u9636

        {
        +import{_ as o,c as t,o as n,a as e}from"./app.3817bf4e.js";const g='{"title":"\u7075\u6D3B\u7684\u901A\u77E5\u65B9\u5F0F","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u7075\u6D3B\u7684\u901A\u77E5\u65B9\u5F0F","slug":"\u7075\u6D3B\u7684\u901A\u77E5\u65B9\u5F0F"},{"level":2,"title":"\u62A5\u8B66\u89C4\u5219\u8BF4\u660E","slug":"\u62A5\u8B66\u89C4\u5219\u8BF4\u660E"},{"level":3,"title":"\u57FA\u672C\u89C4\u5219","slug":"\u57FA\u672C\u89C4\u5219"},{"level":3,"title":"\u7279\u6B8A\uFF1A\u4EFB\u610F\u5468\u671F\u6D41\u91CF\u62A5\u8B66","slug":"\u7279\u6B8A\uFF1A\u4EFB\u610F\u5468\u671F\u6D41\u91CF\u62A5\u8B66"},{"level":2,"title":"\u901A\u77E5\u89E6\u53D1\u6A21\u5F0F\u8BF4\u660E","slug":"\u901A\u77E5\u89E6\u53D1\u6A21\u5F0F\u8BF4\u660E"},{"level":2,"title":"\u8BBE\u7F6E\u62A5\u8B66\u65F6\u6267\u884C\u4EFB\u52A1","slug":"\u8BBE\u7F6E\u62A5\u8B66\u65F6\u6267\u884C\u4EFB\u52A1"}],"relativePath":"guide/notifications.md","lastUpdated":1682076617000}',a={},s=e(`

        \u54EA\u5412\u76D1\u63A7\u652F\u6301\u5BF9\u670D\u52A1\u5668\u7684\u8D1F\u8F7D\u3001CPU\u3001\u5185\u5B58\u3001\u786C\u76D8\u3001\u6D41\u91CF\u3001\u6708\u6D41\u91CF\u3001\u8FDB\u7A0B\u6570\u3001\u8FDE\u63A5\u6570\u8FDB\u884C\u76D1\u63A7\uFF0C\u5E76\u5728\u5176\u4E2D\u67D0\u9879\u8FBE\u5230\u7528\u6237\u8BBE\u5B9A\u503C\u65F6\u53D1\u9001\u62A5\u8B66\u901A\u77E5

        \u7075\u6D3B\u7684\u901A\u77E5\u65B9\u5F0F

        #NEZHA# \u662F\u9762\u677F\u6D88\u606F\u5360\u4F4D\u7B26\uFF0C\u9762\u677F\u89E6\u53D1\u901A\u77E5\u65F6\u4F1A\u81EA\u52A8\u7528\u5B9E\u9645\u6D88\u606F\u66FF\u6362\u5360\u4F4D\u7B26

        Body \u5185\u5BB9\u662FJSON \u683C\u5F0F\u7684\uFF1A\u5F53\u8BF7\u6C42\u7C7B\u578B\u4E3A FORM \u65F6\uFF0C\u503C\u4E3A key:value \u7684\u5F62\u5F0F\uFF0Cvalue \u91CC\u9762\u53EF\u653E\u7F6E\u5360\u4F4D\u7B26\uFF0C\u901A\u77E5\u65F6\u4F1A\u81EA\u52A8\u66FF\u6362\u3002\u5F53\u8BF7\u6C42\u7C7B\u578B\u4E3A JSON \u65F6 \u53EA\u4F1A\u7B80\u5355\u8FDB\u884C\u5B57\u7B26\u4E32\u66FF\u6362\u540E\u76F4\u63A5\u63D0\u4EA4\u5230URL\u3002

        URL \u91CC\u9762\u4E5F\u53EF\u653E\u7F6E\u5360\u4F4D\u7B26\uFF0C\u8BF7\u6C42\u65F6\u4F1A\u8FDB\u884C\u7B80\u5355\u7684\u5B57\u7B26\u4E32\u66FF\u6362\u3002

        \u4F60\u53EF\u4EE5\u53C2\u8003\u4EE5\u4E0B\u7684\u901A\u77E5\u65B9\u5F0F\u793A\u4F8B\uFF0C\u4E5F\u53EF\u4EE5\u6839\u636E\u81EA\u5DF1\u7684\u9700\u6C42\u7075\u6D3B\u8BBE\u7F6E\u63A8\u9001\u65B9\u5F0F

        • Bark \u793A\u4F8B

          • \u540D\u79F0\uFF1ABark
          • URL \u7EC4\u6210: \u7B2C\u4E00\u4E2A\u90E8\u5206\u662F key,\u4E4B\u540E\u6709\u4E09\u4E2A\u5339\u914D /:key/:body or /:key/:title/:body or /:key/:category/:title/:body
          • \u8BF7\u6C42\u65B9\u5F0F: GET
          • \u8BF7\u6C42\u7C7B\u578B: \u9ED8\u8BA4
          • Body: \u7A7A
          • \u540D\u79F0\uFF1ABark
          • URL \u7EC4\u6210: /push
          • \u8BF7\u6C42\u65B9\u5F0F: POST
          • \u8BF7\u6C42\u7C7B\u578B: form
          • Body: {"title": "#SERVER.NAME#","device_key":"xxxxxxxxx","body":"#NEZHA#","icon":"https://xxxxxxxx/nz.png"}
        • Server \u9171\u793A\u4F8B

        • Server \u9171\u8FDB\u9636

          {
            "title": "#SERVER.NAME#",
            "desp":"**#NEZHA#\\n\\n
            \u5E73\u5747\u8D1F\u8F7D: \\"#SERVER.LOAD1#\\",\\"#SERVER.LOAD5#\\",\\"#SERVER.LOAD15#\\"\\n\\n
          diff --git a/assets/guide_notifications.md.704bcb6a.lean.js b/assets/guide_notifications.md.401936ef.lean.js
          similarity index 94%
          rename from assets/guide_notifications.md.704bcb6a.lean.js
          rename to assets/guide_notifications.md.401936ef.lean.js
          index e2117e20..702c226e 100644
          --- a/assets/guide_notifications.md.704bcb6a.lean.js
          +++ b/assets/guide_notifications.md.401936ef.lean.js
          @@ -1 +1 @@
          -import{_ as o,c as t,o as n,a as e}from"./app.3817bf4e.js";const g='{"title":"\u7075\u6D3B\u7684\u901A\u77E5\u65B9\u5F0F","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u7075\u6D3B\u7684\u901A\u77E5\u65B9\u5F0F","slug":"\u7075\u6D3B\u7684\u901A\u77E5\u65B9\u5F0F"},{"level":2,"title":"\u62A5\u8B66\u89C4\u5219\u8BF4\u660E","slug":"\u62A5\u8B66\u89C4\u5219\u8BF4\u660E"},{"level":3,"title":"\u57FA\u672C\u89C4\u5219","slug":"\u57FA\u672C\u89C4\u5219"},{"level":3,"title":"\u7279\u6B8A\uFF1A\u4EFB\u610F\u5468\u671F\u6D41\u91CF\u62A5\u8B66","slug":"\u7279\u6B8A\uFF1A\u4EFB\u610F\u5468\u671F\u6D41\u91CF\u62A5\u8B66"},{"level":2,"title":"\u901A\u77E5\u89E6\u53D1\u6A21\u5F0F\u8BF4\u660E","slug":"\u901A\u77E5\u89E6\u53D1\u6A21\u5F0F\u8BF4\u660E"},{"level":2,"title":"\u8BBE\u7F6E\u62A5\u8B66\u65F6\u6267\u884C\u4EFB\u52A1","slug":"\u8BBE\u7F6E\u62A5\u8B66\u65F6\u6267\u884C\u4EFB\u52A1"}],"relativePath":"guide/notifications.md","lastUpdated":1681026579000}',a={},s=e("",27),p=[s];function l(u,r,i,c,q,d){return n(),t("div",null,p)}var E=o(a,[["render",l]]);export{g as __pageData,E as default};
          +import{_ as o,c as t,o as n,a as e}from"./app.3817bf4e.js";const g='{"title":"\u7075\u6D3B\u7684\u901A\u77E5\u65B9\u5F0F","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u7075\u6D3B\u7684\u901A\u77E5\u65B9\u5F0F","slug":"\u7075\u6D3B\u7684\u901A\u77E5\u65B9\u5F0F"},{"level":2,"title":"\u62A5\u8B66\u89C4\u5219\u8BF4\u660E","slug":"\u62A5\u8B66\u89C4\u5219\u8BF4\u660E"},{"level":3,"title":"\u57FA\u672C\u89C4\u5219","slug":"\u57FA\u672C\u89C4\u5219"},{"level":3,"title":"\u7279\u6B8A\uFF1A\u4EFB\u610F\u5468\u671F\u6D41\u91CF\u62A5\u8B66","slug":"\u7279\u6B8A\uFF1A\u4EFB\u610F\u5468\u671F\u6D41\u91CF\u62A5\u8B66"},{"level":2,"title":"\u901A\u77E5\u89E6\u53D1\u6A21\u5F0F\u8BF4\u660E","slug":"\u901A\u77E5\u89E6\u53D1\u6A21\u5F0F\u8BF4\u660E"},{"level":2,"title":"\u8BBE\u7F6E\u62A5\u8B66\u65F6\u6267\u884C\u4EFB\u52A1","slug":"\u8BBE\u7F6E\u62A5\u8B66\u65F6\u6267\u884C\u4EFB\u52A1"}],"relativePath":"guide/notifications.md","lastUpdated":1682076617000}',a={},s=e("",27),p=[s];function l(u,r,i,c,q,d){return n(),t("div",null,p)}var E=o(a,[["render",l]]);export{g as __pageData,E as default};
          diff --git a/assets/guide_q1.md.3cb73fa3.js b/assets/guide_q1.md.cfb89f63.js
          similarity index 98%
          rename from assets/guide_q1.md.3cb73fa3.js
          rename to assets/guide_q1.md.cfb89f63.js
          index 1933f24d..18faede2 100644
          --- a/assets/guide_q1.md.3cb73fa3.js
          +++ b/assets/guide_q1.md.cfb89f63.js
          @@ -1,4 +1,4 @@
          -import{_ as n,c as s,o as a,a as e}from"./app.3817bf4e.js";const v='{"title":"\u51C6\u5907\u5DE5\u4F5C","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u51C6\u5907\u5DE5\u4F5C","slug":"\u51C6\u5907\u5DE5\u4F5C"},{"level":2,"title":"NGINX \u914D\u7F6E","slug":"nginx-\u914D\u7F6E"},{"level":2,"title":"\u4F7F\u7528\u65B9\u5F0F","slug":"\u4F7F\u7528\u65B9\u5F0F"},{"level":2,"title":"\u9632\u6B62\u76D7\u7528","slug":"\u9632\u6B62\u76D7\u7528"}],"relativePath":"guide/q1.md","lastUpdated":1681026579000}',t={},p=e(`

          \u51C6\u5907\u5DE5\u4F5C

          \u4F60\u53EF\u4EE5\u9009\u62E9 CloudFlare \u7684 workers \u8FDB\u884C\u53CD\u4EE3\uFF0C\u4F46\u5927\u9646\u7684\u7F51\u7EDC\u4F60\u61C2\u7684\uFF0C\u8FD9\u91CC\u4ECB\u7ECD\u7528\u4F60\u81EA\u5DF1\u670D\u52A1\u5668\u53CD\u4EE3\u65B9\u5F0F
          \u642D\u5EFA\u4E00\u4E2A TGbot api \u53CD\u4EE3\uFF0C\u4F60\u9700\u8981\uFF1A
          1.\u4E00\u4E2A\u4E0D\u53D7 GFW \u5C01\u9501\u7684\u670D\u52A1\u5668(\u4E14\u5B89\u88C5\u597D Nginx)
          2.\u4E00\u4E2A\u57DF\u540D(\u63D0\u524D\u7533\u8BF7 SSL \u8BC1\u4E66)

          NGINX \u914D\u7F6E

          \u7F16\u8F91\u4F60 Nginx \u7684\u914D\u7F6E\u6587\u4EF6,\u5728 http{} \u4E2D\u52A0\u4E0A\u5982\u4E0B\u914D\u7F6E

          # http\u5F3A\u5236\u8DF3\u8F6C\u5230htpps
          +import{_ as n,c as s,o as a,a as e}from"./app.3817bf4e.js";const v='{"title":"\u51C6\u5907\u5DE5\u4F5C","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u51C6\u5907\u5DE5\u4F5C","slug":"\u51C6\u5907\u5DE5\u4F5C"},{"level":2,"title":"NGINX \u914D\u7F6E","slug":"nginx-\u914D\u7F6E"},{"level":2,"title":"\u4F7F\u7528\u65B9\u5F0F","slug":"\u4F7F\u7528\u65B9\u5F0F"},{"level":2,"title":"\u9632\u6B62\u76D7\u7528","slug":"\u9632\u6B62\u76D7\u7528"}],"relativePath":"guide/q1.md","lastUpdated":1682076617000}',t={},p=e(`

          \u51C6\u5907\u5DE5\u4F5C

          \u4F60\u53EF\u4EE5\u9009\u62E9 CloudFlare \u7684 workers \u8FDB\u884C\u53CD\u4EE3\uFF0C\u4F46\u5927\u9646\u7684\u7F51\u7EDC\u4F60\u61C2\u7684\uFF0C\u8FD9\u91CC\u4ECB\u7ECD\u7528\u4F60\u81EA\u5DF1\u670D\u52A1\u5668\u53CD\u4EE3\u65B9\u5F0F
          \u642D\u5EFA\u4E00\u4E2A TGbot api \u53CD\u4EE3\uFF0C\u4F60\u9700\u8981\uFF1A
          1.\u4E00\u4E2A\u4E0D\u53D7 GFW \u5C01\u9501\u7684\u670D\u52A1\u5668(\u4E14\u5B89\u88C5\u597D Nginx)
          2.\u4E00\u4E2A\u57DF\u540D(\u63D0\u524D\u7533\u8BF7 SSL \u8BC1\u4E66)

          NGINX \u914D\u7F6E

          \u7F16\u8F91\u4F60 Nginx \u7684\u914D\u7F6E\u6587\u4EF6,\u5728 http{} \u4E2D\u52A0\u4E0A\u5982\u4E0B\u914D\u7F6E

          # http\u5F3A\u5236\u8DF3\u8F6C\u5230htpps
           server {
               listen 80;
               listen [::]:80;
          diff --git a/assets/guide_q1.md.3cb73fa3.lean.js b/assets/guide_q1.md.cfb89f63.lean.js
          similarity index 80%
          rename from assets/guide_q1.md.3cb73fa3.lean.js
          rename to assets/guide_q1.md.cfb89f63.lean.js
          index d226c4ae..badb3f05 100644
          --- a/assets/guide_q1.md.3cb73fa3.lean.js
          +++ b/assets/guide_q1.md.cfb89f63.lean.js
          @@ -1 +1 @@
          -import{_ as n,c as s,o as a,a as e}from"./app.3817bf4e.js";const v='{"title":"\u51C6\u5907\u5DE5\u4F5C","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u51C6\u5907\u5DE5\u4F5C","slug":"\u51C6\u5907\u5DE5\u4F5C"},{"level":2,"title":"NGINX \u914D\u7F6E","slug":"nginx-\u914D\u7F6E"},{"level":2,"title":"\u4F7F\u7528\u65B9\u5F0F","slug":"\u4F7F\u7528\u65B9\u5F0F"},{"level":2,"title":"\u9632\u6B62\u76D7\u7528","slug":"\u9632\u6B62\u76D7\u7528"}],"relativePath":"guide/q1.md","lastUpdated":1681026579000}',t={},p=e("",11),o=[p];function c(r,l,i,k,d,u){return a(),s("div",null,o)}var _=n(t,[["render",c]]);export{v as __pageData,_ as default};
          +import{_ as n,c as s,o as a,a as e}from"./app.3817bf4e.js";const v='{"title":"\u51C6\u5907\u5DE5\u4F5C","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u51C6\u5907\u5DE5\u4F5C","slug":"\u51C6\u5907\u5DE5\u4F5C"},{"level":2,"title":"NGINX \u914D\u7F6E","slug":"nginx-\u914D\u7F6E"},{"level":2,"title":"\u4F7F\u7528\u65B9\u5F0F","slug":"\u4F7F\u7528\u65B9\u5F0F"},{"level":2,"title":"\u9632\u6B62\u76D7\u7528","slug":"\u9632\u6B62\u76D7\u7528"}],"relativePath":"guide/q1.md","lastUpdated":1682076617000}',t={},p=e("",11),o=[p];function c(r,l,i,k,d,u){return a(),s("div",null,o)}var _=n(t,[["render",c]]);export{v as __pageData,_ as default};
          diff --git a/assets/guide_q2.md.fa638989.js b/assets/guide_q2.md.1e5d3a9b.js
          similarity index 96%
          rename from assets/guide_q2.md.fa638989.js
          rename to assets/guide_q2.md.1e5d3a9b.js
          index d93b78ea..6cdbf392 100644
          --- a/assets/guide_q2.md.fa638989.js
          +++ b/assets/guide_q2.md.1e5d3a9b.js
          @@ -1 +1 @@
          -import{_ as e,c as t,o as a,a as n}from"./app.3817bf4e.js";const f='{"title":"Agent \u542F\u52A8/\u4E0A\u7EBF \u95EE\u9898\u81EA\u68C0\u6D41\u7A0B","description":"","frontmatter":{},"headers":[],"relativePath":"guide/q2.md","lastUpdated":1681026579000}',o={},r=n('

          Agent \u542F\u52A8/\u4E0A\u7EBF \u95EE\u9898\u81EA\u68C0\u6D41\u7A0B

          1. \u76F4\u63A5\u6267\u884C /opt/nezha/agent/nezha-agent -s \u9762\u677FIP\u6216\u975ECDN\u57DF\u540D:\u9762\u677FRPC\u7AEF\u53E3 -p Agent\u5BC6\u94A5 -d \u67E5\u770B\u65E5\u5FD7\u662F\u5426\u662F\u56E0\u4E3A DNS\u3001\u7F51\u7EDC\u4E0D\u4F73\u5BFC\u81F4\u8D85\u65F6\uFF08timeout\uFF09
          2. nc -v \u57DF\u540D/IP \u9762\u677FRPC\u7AEF\u53E3 \u6216\u8005 telnet \u57DF\u540D/IP \u9762\u677FRPC\u7AEF\u53E3 \u6765\u68C0\u9A8C\u662F\u5426\u662F\u7F51\u7EDC\u95EE\u9898\uFF0C\u68C0\u67E5\u672C\u673A\u4E0E\u9762\u677F\u670D\u52A1\u5668\u7684\u51FA\u5165\u7AD9\u9632\u706B\u5899\uFF0C\u5982\u679C\u65E0\u6CD5\u5224\u65AD\u95EE\u9898\u53EF\u501F\u52A9 https://port.ping.pe/ \u63D0\u4F9B\u7684\u7AEF\u53E3\u68C0\u67E5\u5DE5\u5177\u8FDB\u884C\u68C0\u6D4B\u3002
          3. \u5982\u679C\u4E0A\u9762\u6B65\u9AA4\u68C0\u6D4B\u6B63\u5E38\uFF0CAgent \u6B63\u5E38\u4E0A\u7EBF\uFF0C\u5C1D\u8BD5\u5173\u95ED SELinux\uFF0C\u5982\u4F55\u5173\u95ED SELinux\uFF1F
          ',2),c=[r];function _(i,s,d,l,p,h){return a(),t("div",null,c)}var u=e(o,[["render",_]]);export{f as __pageData,u as default}; +import{_ as e,c as t,o as a,a as n}from"./app.3817bf4e.js";const f='{"title":"Agent \u542F\u52A8/\u4E0A\u7EBF \u95EE\u9898\u81EA\u68C0\u6D41\u7A0B","description":"","frontmatter":{},"headers":[],"relativePath":"guide/q2.md","lastUpdated":1682076617000}',o={},r=n('

          Agent \u542F\u52A8/\u4E0A\u7EBF \u95EE\u9898\u81EA\u68C0\u6D41\u7A0B

          1. \u76F4\u63A5\u6267\u884C /opt/nezha/agent/nezha-agent -s \u9762\u677FIP\u6216\u975ECDN\u57DF\u540D:\u9762\u677FRPC\u7AEF\u53E3 -p Agent\u5BC6\u94A5 -d \u67E5\u770B\u65E5\u5FD7\u662F\u5426\u662F\u56E0\u4E3A DNS\u3001\u7F51\u7EDC\u4E0D\u4F73\u5BFC\u81F4\u8D85\u65F6\uFF08timeout\uFF09
          2. nc -v \u57DF\u540D/IP \u9762\u677FRPC\u7AEF\u53E3 \u6216\u8005 telnet \u57DF\u540D/IP \u9762\u677FRPC\u7AEF\u53E3 \u6765\u68C0\u9A8C\u662F\u5426\u662F\u7F51\u7EDC\u95EE\u9898\uFF0C\u68C0\u67E5\u672C\u673A\u4E0E\u9762\u677F\u670D\u52A1\u5668\u7684\u51FA\u5165\u7AD9\u9632\u706B\u5899\uFF0C\u5982\u679C\u65E0\u6CD5\u5224\u65AD\u95EE\u9898\u53EF\u501F\u52A9 https://port.ping.pe/ \u63D0\u4F9B\u7684\u7AEF\u53E3\u68C0\u67E5\u5DE5\u5177\u8FDB\u884C\u68C0\u6D4B\u3002
          3. \u5982\u679C\u4E0A\u9762\u6B65\u9AA4\u68C0\u6D4B\u6B63\u5E38\uFF0CAgent \u6B63\u5E38\u4E0A\u7EBF\uFF0C\u5C1D\u8BD5\u5173\u95ED SELinux\uFF0C\u5982\u4F55\u5173\u95ED SELinux\uFF1F
          ',2),c=[r];function _(i,s,d,l,p,h){return a(),t("div",null,c)}var u=e(o,[["render",_]]);export{f as __pageData,u as default}; diff --git a/assets/guide_q2.md.fa638989.lean.js b/assets/guide_q2.md.1e5d3a9b.lean.js similarity index 83% rename from assets/guide_q2.md.fa638989.lean.js rename to assets/guide_q2.md.1e5d3a9b.lean.js index 94df86be..a64d88dc 100644 --- a/assets/guide_q2.md.fa638989.lean.js +++ b/assets/guide_q2.md.1e5d3a9b.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o as a,a as n}from"./app.3817bf4e.js";const f='{"title":"Agent \u542F\u52A8/\u4E0A\u7EBF \u95EE\u9898\u81EA\u68C0\u6D41\u7A0B","description":"","frontmatter":{},"headers":[],"relativePath":"guide/q2.md","lastUpdated":1681026579000}',o={},r=n("",2),c=[r];function _(i,s,d,l,p,h){return a(),t("div",null,c)}var u=e(o,[["render",_]]);export{f as __pageData,u as default}; +import{_ as e,c as t,o as a,a as n}from"./app.3817bf4e.js";const f='{"title":"Agent \u542F\u52A8/\u4E0A\u7EBF \u95EE\u9898\u81EA\u68C0\u6D41\u7A0B","description":"","frontmatter":{},"headers":[],"relativePath":"guide/q2.md","lastUpdated":1682076617000}',o={},r=n("",2),c=[r];function _(i,s,d,l,p,h){return a(),t("div",null,c)}var u=e(o,[["render",_]]);export{f as __pageData,u as default}; diff --git a/assets/guide_q3.md.439c5b36.js b/assets/guide_q3.md.2beb91cb.js similarity index 97% rename from assets/guide_q3.md.439c5b36.js rename to assets/guide_q3.md.2beb91cb.js index eaf7d380..e8220033 100644 --- a/assets/guide_q3.md.439c5b36.js +++ b/assets/guide_q3.md.2beb91cb.js @@ -1,4 +1,4 @@ -import{_ as n,c as s,o as a,a as e}from"./app.3817bf4e.js";const g='{"title":"\u53CD\u5411\u4EE3\u7406 gRPC \u7AEF\u53E3\uFF08\u652F\u6301 Cloudflare CDN\uFF09","description":"","frontmatter":{},"headers":[],"relativePath":"guide/q3.md","lastUpdated":1681026579000}',t={},p=e(`

          \u53CD\u5411\u4EE3\u7406 gRPC \u7AEF\u53E3\uFF08\u652F\u6301 Cloudflare CDN\uFF09

          \u4F7F\u7528 Nginx \u6216\u8005 Caddy \u53CD\u5411\u4EE3\u7406 gRPC

          • Nginx \u914D\u7F6E
          server {
          +import{_ as n,c as s,o as a,a as e}from"./app.3817bf4e.js";const g='{"title":"\u53CD\u5411\u4EE3\u7406 gRPC \u7AEF\u53E3\uFF08\u652F\u6301 Cloudflare CDN\uFF09","description":"","frontmatter":{},"headers":[],"relativePath":"guide/q3.md","lastUpdated":1682076617000}',t={},p=e(`

          \u53CD\u5411\u4EE3\u7406 gRPC \u7AEF\u53E3\uFF08\u652F\u6301 Cloudflare CDN\uFF09

          \u4F7F\u7528 Nginx \u6216\u8005 Caddy \u53CD\u5411\u4EE3\u7406 gRPC

          • Nginx \u914D\u7F6E
          server {
               listen 443 ssl http2;
               listen [::]:443 ssl http2;
               server_name data.example.com; # \u4F60\u7684 Agent \u8FDE\u63A5 Dashboard \u7684\u57DF\u540D
          diff --git a/assets/guide_q3.md.439c5b36.lean.js b/assets/guide_q3.md.2beb91cb.lean.js
          similarity index 68%
          rename from assets/guide_q3.md.439c5b36.lean.js
          rename to assets/guide_q3.md.2beb91cb.lean.js
          index 9f1ed6a6..8f9df6f9 100644
          --- a/assets/guide_q3.md.439c5b36.lean.js
          +++ b/assets/guide_q3.md.2beb91cb.lean.js
          @@ -1 +1 @@
          -import{_ as n,c as s,o as a,a as e}from"./app.3817bf4e.js";const g='{"title":"\u53CD\u5411\u4EE3\u7406 gRPC \u7AEF\u53E3\uFF08\u652F\u6301 Cloudflare CDN\uFF09","description":"","frontmatter":{},"headers":[],"relativePath":"guide/q3.md","lastUpdated":1681026579000}',t={},p=e("",13),o=[p];function c(l,d,r,i,k,u){return a(),s("div",null,o)}var v=n(t,[["render",c]]);export{g as __pageData,v as default};
          +import{_ as n,c as s,o as a,a as e}from"./app.3817bf4e.js";const g='{"title":"\u53CD\u5411\u4EE3\u7406 gRPC \u7AEF\u53E3\uFF08\u652F\u6301 Cloudflare CDN\uFF09","description":"","frontmatter":{},"headers":[],"relativePath":"guide/q3.md","lastUpdated":1682076617000}',t={},p=e("",13),o=[p];function c(l,d,r,i,k,u){return a(),s("div",null,o)}var v=n(t,[["render",c]]);export{g as __pageData,v as default};
          diff --git a/assets/guide_q4.md.f572abef.js b/assets/guide_q4.md.200041ae.js
          similarity index 95%
          rename from assets/guide_q4.md.f572abef.js
          rename to assets/guide_q4.md.200041ae.js
          index 8ce0d79d..1c58efc7 100644
          --- a/assets/guide_q4.md.f572abef.js
          +++ b/assets/guide_q4.md.200041ae.js
          @@ -1 +1 @@
          -import{_ as a,c as o,o as r,b as e,d as t}from"./app.3817bf4e.js";const b='{"title":"\u5B9E\u65F6\u901A\u9053\u65AD\u5F00/\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25","description":"","frontmatter":{},"headers":[],"relativePath":"guide/q4.md","lastUpdated":1681026579000}',s={},d=e("h4",{id:"\u5B9E\u65F6\u901A\u9053\u65AD\u5F00-\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25",tabindex:"-1"},[t("\u5B9E\u65F6\u901A\u9053\u65AD\u5F00/\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25 "),e("a",{class:"header-anchor",href:"#\u5B9E\u65F6\u901A\u9053\u65AD\u5F00-\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25","aria-hidden":"true"},"#")],-1),c=e("ul",null,[e("li",null,"\u5982\u679C\u4F60\u4F7F\u7528\u4E86 CDN\uFF0C\u8BF7\u786E\u8BA4 CDN \u670D\u52A1\u5546\u63D0\u4F9B WebSocket \u670D\u52A1\uFF0C\u5E76\u4E14\u5DF2\u5F00\u542F WebSocket"),e("li",null,[t("\u786E\u8BA4\u4F60\u7684\u53CD\u4EE3\u89C4\u5219\u4E2D\u9488\u5BF9 /ws,/terminal \u8DEF\u5F84\u7684 WebSocket \u8FDB\u884C\u4E86\u7279\u522B\u914D\u7F6E\uFF0C\u4F60\u53EF\u4EE5 "),e("a",{href:"/guide/dashboard.html#\u914D\u7F6E\u53CD\u5411\u4EE3\u7406"},"\u70B9\u51FB\u8FD9\u91CC"),t(" \u67E5\u770B\u53CD\u5411\u4EE3\u7406\u914D\u7F6E")])],-1),n=[d,c];function i(l,_,h,u,p,f){return r(),o("div",null,n)}var k=a(s,[["render",i]]);export{b as __pageData,k as default};
          +import{_ as a,c as o,o as r,b as e,d as t}from"./app.3817bf4e.js";const b='{"title":"\u5B9E\u65F6\u901A\u9053\u65AD\u5F00/\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25","description":"","frontmatter":{},"headers":[],"relativePath":"guide/q4.md","lastUpdated":1682076617000}',s={},d=e("h4",{id:"\u5B9E\u65F6\u901A\u9053\u65AD\u5F00-\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25",tabindex:"-1"},[t("\u5B9E\u65F6\u901A\u9053\u65AD\u5F00/\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25 "),e("a",{class:"header-anchor",href:"#\u5B9E\u65F6\u901A\u9053\u65AD\u5F00-\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25","aria-hidden":"true"},"#")],-1),c=e("ul",null,[e("li",null,"\u5982\u679C\u4F60\u4F7F\u7528\u4E86 CDN\uFF0C\u8BF7\u786E\u8BA4 CDN \u670D\u52A1\u5546\u63D0\u4F9B WebSocket \u670D\u52A1\uFF0C\u5E76\u4E14\u5DF2\u5F00\u542F WebSocket"),e("li",null,[t("\u786E\u8BA4\u4F60\u7684\u53CD\u4EE3\u89C4\u5219\u4E2D\u9488\u5BF9 /ws,/terminal \u8DEF\u5F84\u7684 WebSocket \u8FDB\u884C\u4E86\u7279\u522B\u914D\u7F6E\uFF0C\u4F60\u53EF\u4EE5 "),e("a",{href:"/guide/dashboard.html#\u914D\u7F6E\u53CD\u5411\u4EE3\u7406"},"\u70B9\u51FB\u8FD9\u91CC"),t(" \u67E5\u770B\u53CD\u5411\u4EE3\u7406\u914D\u7F6E")])],-1),n=[d,c];function i(l,_,h,u,p,f){return r(),o("div",null,n)}var k=a(s,[["render",i]]);export{b as __pageData,k as default};
          diff --git a/assets/guide_q4.md.f572abef.lean.js b/assets/guide_q4.md.200041ae.lean.js
          similarity index 95%
          rename from assets/guide_q4.md.f572abef.lean.js
          rename to assets/guide_q4.md.200041ae.lean.js
          index 8ce0d79d..1c58efc7 100644
          --- a/assets/guide_q4.md.f572abef.lean.js
          +++ b/assets/guide_q4.md.200041ae.lean.js
          @@ -1 +1 @@
          -import{_ as a,c as o,o as r,b as e,d as t}from"./app.3817bf4e.js";const b='{"title":"\u5B9E\u65F6\u901A\u9053\u65AD\u5F00/\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25","description":"","frontmatter":{},"headers":[],"relativePath":"guide/q4.md","lastUpdated":1681026579000}',s={},d=e("h4",{id:"\u5B9E\u65F6\u901A\u9053\u65AD\u5F00-\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25",tabindex:"-1"},[t("\u5B9E\u65F6\u901A\u9053\u65AD\u5F00/\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25 "),e("a",{class:"header-anchor",href:"#\u5B9E\u65F6\u901A\u9053\u65AD\u5F00-\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25","aria-hidden":"true"},"#")],-1),c=e("ul",null,[e("li",null,"\u5982\u679C\u4F60\u4F7F\u7528\u4E86 CDN\uFF0C\u8BF7\u786E\u8BA4 CDN \u670D\u52A1\u5546\u63D0\u4F9B WebSocket \u670D\u52A1\uFF0C\u5E76\u4E14\u5DF2\u5F00\u542F WebSocket"),e("li",null,[t("\u786E\u8BA4\u4F60\u7684\u53CD\u4EE3\u89C4\u5219\u4E2D\u9488\u5BF9 /ws,/terminal \u8DEF\u5F84\u7684 WebSocket \u8FDB\u884C\u4E86\u7279\u522B\u914D\u7F6E\uFF0C\u4F60\u53EF\u4EE5 "),e("a",{href:"/guide/dashboard.html#\u914D\u7F6E\u53CD\u5411\u4EE3\u7406"},"\u70B9\u51FB\u8FD9\u91CC"),t(" \u67E5\u770B\u53CD\u5411\u4EE3\u7406\u914D\u7F6E")])],-1),n=[d,c];function i(l,_,h,u,p,f){return r(),o("div",null,n)}var k=a(s,[["render",i]]);export{b as __pageData,k as default};
          +import{_ as a,c as o,o as r,b as e,d as t}from"./app.3817bf4e.js";const b='{"title":"\u5B9E\u65F6\u901A\u9053\u65AD\u5F00/\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25","description":"","frontmatter":{},"headers":[],"relativePath":"guide/q4.md","lastUpdated":1682076617000}',s={},d=e("h4",{id:"\u5B9E\u65F6\u901A\u9053\u65AD\u5F00-\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25",tabindex:"-1"},[t("\u5B9E\u65F6\u901A\u9053\u65AD\u5F00/\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25 "),e("a",{class:"header-anchor",href:"#\u5B9E\u65F6\u901A\u9053\u65AD\u5F00-\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25","aria-hidden":"true"},"#")],-1),c=e("ul",null,[e("li",null,"\u5982\u679C\u4F60\u4F7F\u7528\u4E86 CDN\uFF0C\u8BF7\u786E\u8BA4 CDN \u670D\u52A1\u5546\u63D0\u4F9B WebSocket \u670D\u52A1\uFF0C\u5E76\u4E14\u5DF2\u5F00\u542F WebSocket"),e("li",null,[t("\u786E\u8BA4\u4F60\u7684\u53CD\u4EE3\u89C4\u5219\u4E2D\u9488\u5BF9 /ws,/terminal \u8DEF\u5F84\u7684 WebSocket \u8FDB\u884C\u4E86\u7279\u522B\u914D\u7F6E\uFF0C\u4F60\u53EF\u4EE5 "),e("a",{href:"/guide/dashboard.html#\u914D\u7F6E\u53CD\u5411\u4EE3\u7406"},"\u70B9\u51FB\u8FD9\u91CC"),t(" \u67E5\u770B\u53CD\u5411\u4EE3\u7406\u914D\u7F6E")])],-1),n=[d,c];function i(l,_,h,u,p,f){return r(),o("div",null,n)}var k=a(s,[["render",i]]);export{b as __pageData,k as default};
          diff --git a/assets/guide_q5.md.502c4153.js b/assets/guide_q5.md.4e736eea.js
          similarity index 94%
          rename from assets/guide_q5.md.502c4153.js
          rename to assets/guide_q5.md.4e736eea.js
          index 526fedd0..0008ac5b 100644
          --- a/assets/guide_q5.md.502c4153.js
          +++ b/assets/guide_q5.md.4e736eea.js
          @@ -1 +1 @@
          -import{_ as a,c as o,o as l,b as e,d as t}from"./app.3817bf4e.js";const x='{"title":"\u5982\u4F55\u8FDB\u884C\u6570\u636E\u8FC1\u79FB\u3001\u5907\u4EFD\u6062\u590D\uFF1F","description":"","frontmatter":{},"headers":[],"relativePath":"guide/q5.md","lastUpdated":1681026579000}',n={},s=e("h4",{id:"\u5982\u4F55\u8FDB\u884C\u6570\u636E\u8FC1\u79FB\u3001\u5907\u4EFD\u6062\u590D\uFF1F",tabindex:"-1"},[t("\u5982\u4F55\u8FDB\u884C\u6570\u636E\u8FC1\u79FB\u3001\u5907\u4EFD\u6062\u590D\uFF1F "),e("a",{class:"header-anchor",href:"#\u5982\u4F55\u8FDB\u884C\u6570\u636E\u8FC1\u79FB\u3001\u5907\u4EFD\u6062\u590D\uFF1F","aria-hidden":"true"},"#")],-1),d=e("ol",null,[e("li",null,[t("\u5148\u8FD0\u884C\u4E00\u952E\u811A\u672C\uFF0C\u9009\u62E9 "),e("code",null,"\u505C\u6B62\u9762\u677F")]),e("li",null,[t("\u5728\u65E7\u670D\u52A1\u5668\u4E2D\u6253\u5305 "),e("code",null,"/opt/nezha"),t(" \u6587\u4EF6\u5939\uFF0C\u590D\u5236\u5230\u65B0\u73AF\u5883\u76F8\u540C\u4F4D\u7F6E\u89E3\u538B")]),e("li",null,[t("\u5728\u65B0\u73AF\u5883\u4E2D\u8FD0\u884C\u4E00\u952E\u811A\u672C\uFF0C\u9009\u62E9 "),e("code",null,"\u542F\u52A8\u9762\u677F")])],-1),r=[s,d];function c(i,_,u,h,p,f){return l(),o("div",null,r)}var $=a(n,[["render",c]]);export{x as __pageData,$ as default};
          +import{_ as a,c as o,o as l,b as e,d as t}from"./app.3817bf4e.js";const x='{"title":"\u5982\u4F55\u8FDB\u884C\u6570\u636E\u8FC1\u79FB\u3001\u5907\u4EFD\u6062\u590D\uFF1F","description":"","frontmatter":{},"headers":[],"relativePath":"guide/q5.md","lastUpdated":1682076617000}',n={},s=e("h4",{id:"\u5982\u4F55\u8FDB\u884C\u6570\u636E\u8FC1\u79FB\u3001\u5907\u4EFD\u6062\u590D\uFF1F",tabindex:"-1"},[t("\u5982\u4F55\u8FDB\u884C\u6570\u636E\u8FC1\u79FB\u3001\u5907\u4EFD\u6062\u590D\uFF1F "),e("a",{class:"header-anchor",href:"#\u5982\u4F55\u8FDB\u884C\u6570\u636E\u8FC1\u79FB\u3001\u5907\u4EFD\u6062\u590D\uFF1F","aria-hidden":"true"},"#")],-1),d=e("ol",null,[e("li",null,[t("\u5148\u8FD0\u884C\u4E00\u952E\u811A\u672C\uFF0C\u9009\u62E9 "),e("code",null,"\u505C\u6B62\u9762\u677F")]),e("li",null,[t("\u5728\u65E7\u670D\u52A1\u5668\u4E2D\u6253\u5305 "),e("code",null,"/opt/nezha"),t(" \u6587\u4EF6\u5939\uFF0C\u590D\u5236\u5230\u65B0\u73AF\u5883\u76F8\u540C\u4F4D\u7F6E\u89E3\u538B")]),e("li",null,[t("\u5728\u65B0\u73AF\u5883\u4E2D\u8FD0\u884C\u4E00\u952E\u811A\u672C\uFF0C\u9009\u62E9 "),e("code",null,"\u542F\u52A8\u9762\u677F")])],-1),r=[s,d];function c(i,_,u,h,p,f){return l(),o("div",null,r)}var $=a(n,[["render",c]]);export{x as __pageData,$ as default};
          diff --git a/assets/guide_q5.md.502c4153.lean.js b/assets/guide_q5.md.4e736eea.lean.js
          similarity index 94%
          rename from assets/guide_q5.md.502c4153.lean.js
          rename to assets/guide_q5.md.4e736eea.lean.js
          index 526fedd0..0008ac5b 100644
          --- a/assets/guide_q5.md.502c4153.lean.js
          +++ b/assets/guide_q5.md.4e736eea.lean.js
          @@ -1 +1 @@
          -import{_ as a,c as o,o as l,b as e,d as t}from"./app.3817bf4e.js";const x='{"title":"\u5982\u4F55\u8FDB\u884C\u6570\u636E\u8FC1\u79FB\u3001\u5907\u4EFD\u6062\u590D\uFF1F","description":"","frontmatter":{},"headers":[],"relativePath":"guide/q5.md","lastUpdated":1681026579000}',n={},s=e("h4",{id:"\u5982\u4F55\u8FDB\u884C\u6570\u636E\u8FC1\u79FB\u3001\u5907\u4EFD\u6062\u590D\uFF1F",tabindex:"-1"},[t("\u5982\u4F55\u8FDB\u884C\u6570\u636E\u8FC1\u79FB\u3001\u5907\u4EFD\u6062\u590D\uFF1F "),e("a",{class:"header-anchor",href:"#\u5982\u4F55\u8FDB\u884C\u6570\u636E\u8FC1\u79FB\u3001\u5907\u4EFD\u6062\u590D\uFF1F","aria-hidden":"true"},"#")],-1),d=e("ol",null,[e("li",null,[t("\u5148\u8FD0\u884C\u4E00\u952E\u811A\u672C\uFF0C\u9009\u62E9 "),e("code",null,"\u505C\u6B62\u9762\u677F")]),e("li",null,[t("\u5728\u65E7\u670D\u52A1\u5668\u4E2D\u6253\u5305 "),e("code",null,"/opt/nezha"),t(" \u6587\u4EF6\u5939\uFF0C\u590D\u5236\u5230\u65B0\u73AF\u5883\u76F8\u540C\u4F4D\u7F6E\u89E3\u538B")]),e("li",null,[t("\u5728\u65B0\u73AF\u5883\u4E2D\u8FD0\u884C\u4E00\u952E\u811A\u672C\uFF0C\u9009\u62E9 "),e("code",null,"\u542F\u52A8\u9762\u677F")])],-1),r=[s,d];function c(i,_,u,h,p,f){return l(),o("div",null,r)}var $=a(n,[["render",c]]);export{x as __pageData,$ as default};
          +import{_ as a,c as o,o as l,b as e,d as t}from"./app.3817bf4e.js";const x='{"title":"\u5982\u4F55\u8FDB\u884C\u6570\u636E\u8FC1\u79FB\u3001\u5907\u4EFD\u6062\u590D\uFF1F","description":"","frontmatter":{},"headers":[],"relativePath":"guide/q5.md","lastUpdated":1682076617000}',n={},s=e("h4",{id:"\u5982\u4F55\u8FDB\u884C\u6570\u636E\u8FC1\u79FB\u3001\u5907\u4EFD\u6062\u590D\uFF1F",tabindex:"-1"},[t("\u5982\u4F55\u8FDB\u884C\u6570\u636E\u8FC1\u79FB\u3001\u5907\u4EFD\u6062\u590D\uFF1F "),e("a",{class:"header-anchor",href:"#\u5982\u4F55\u8FDB\u884C\u6570\u636E\u8FC1\u79FB\u3001\u5907\u4EFD\u6062\u590D\uFF1F","aria-hidden":"true"},"#")],-1),d=e("ol",null,[e("li",null,[t("\u5148\u8FD0\u884C\u4E00\u952E\u811A\u672C\uFF0C\u9009\u62E9 "),e("code",null,"\u505C\u6B62\u9762\u677F")]),e("li",null,[t("\u5728\u65E7\u670D\u52A1\u5668\u4E2D\u6253\u5305 "),e("code",null,"/opt/nezha"),t(" \u6587\u4EF6\u5939\uFF0C\u590D\u5236\u5230\u65B0\u73AF\u5883\u76F8\u540C\u4F4D\u7F6E\u89E3\u538B")]),e("li",null,[t("\u5728\u65B0\u73AF\u5883\u4E2D\u8FD0\u884C\u4E00\u952E\u811A\u672C\uFF0C\u9009\u62E9 "),e("code",null,"\u542F\u52A8\u9762\u677F")])],-1),r=[s,d];function c(i,_,u,h,p,f){return l(),o("div",null,r)}var $=a(n,[["render",c]]);export{x as __pageData,$ as default};
          diff --git a/assets/guide_q6.md.feb76c40.js b/assets/guide_q6.md.b699a0ae.js
          similarity index 96%
          rename from assets/guide_q6.md.feb76c40.js
          rename to assets/guide_q6.md.b699a0ae.js
          index 25b46ccb..f174ad6b 100644
          --- a/assets/guide_q6.md.feb76c40.js
          +++ b/assets/guide_q6.md.b699a0ae.js
          @@ -1 +1 @@
          -import{_ as e,c as t,o as a,a as o}from"./app.3817bf4e.js";const u='{"title":"\u5982\u4F55\u6BCF\u6708\u91CD\u7F6E\u6D41\u91CF\u7EDF\u8BA1\uFF1F","description":"","frontmatter":{},"headers":[],"relativePath":"guide/q6.md","lastUpdated":1681026579000}',c={},i=o('

          \u5982\u4F55\u6BCF\u6708\u91CD\u7F6E\u6D41\u91CF\u7EDF\u8BA1\uFF1F

          \u4E3B\u9875\u4E2D\u7684\u6D41\u91CF\u7EDF\u8BA1\u6BCF\u6B21\u670D\u52A1\u5668\u91CD\u542F\u65F6\u90FD\u4F1A\u91CD\u7F6E\uFF0C\u5982\u679C\u8981\u5B9E\u73B0\u6BCF\u6708\u91CD\u7F6E\u4E00\u6B21\u6D41\u91CF\u8BA1\u6570\uFF0C\u53EF\u4EE5\u8FD9\u6837\u5B9E\u73B0\uFF1A

          1. \u8FDB\u5165\u7BA1\u7406\u9762\u677F\u7684 \u62A5\u8B66\u901A\u77E5 \u9875
          2. \u53C2\u8003\u8FD9\u7BC7\u6587\u6863\uFF0C\u521B\u5EFA\u4E00\u4E2A\u6708\u6D41\u91CF\u62A5\u8B66
          3. \u8FD4\u56DE\u4E3B\u9875\uFF0C\u5728 \u670D\u52A1 \u9875\u4E2D\u5C31\u53EF\u4EE5\u770B\u5230\u6708\u6D41\u91CF\u7EDF\u8BA1\u4E86\uFF0C\u8FD9\u91CC\u7684\u7EDF\u8BA1\u6570\u636E\u4E0D\u4F1A\u56E0\u4E3A\u670D\u52A1\u5668\u91CD\u542F\u800C\u91CD\u7F6E

          TIP

          \u6B64\u65B9\u5F0F\u53EF\u4EE5\u8BBE\u7F6E\u4EFB\u4F55\u5468\u671F\uFF0C\u5305\u62EC\u4E14\u4E0D\u9650\u4E8E\u6BCF\u5C0F\u65F6/\u6BCF\u5929/\u6BCF\u5468/\u6BCF\u6708/\u6BCF\u5E74\u91CD\u7F6E\u6D41\u91CF\u7EDF\u8BA1\uFF0C\u975E\u5E38\u7075\u6D3B\uFF01

          ',4),s=[i];function _(d,r,l,n,p,h){return a(),t("div",null,s)}var m=e(c,[["render",_]]);export{u as __pageData,m as default}; +import{_ as e,c as t,o as a,a as o}from"./app.3817bf4e.js";const u='{"title":"\u5982\u4F55\u6BCF\u6708\u91CD\u7F6E\u6D41\u91CF\u7EDF\u8BA1\uFF1F","description":"","frontmatter":{},"headers":[],"relativePath":"guide/q6.md","lastUpdated":1682076617000}',c={},i=o('

          \u5982\u4F55\u6BCF\u6708\u91CD\u7F6E\u6D41\u91CF\u7EDF\u8BA1\uFF1F

          \u4E3B\u9875\u4E2D\u7684\u6D41\u91CF\u7EDF\u8BA1\u6BCF\u6B21\u670D\u52A1\u5668\u91CD\u542F\u65F6\u90FD\u4F1A\u91CD\u7F6E\uFF0C\u5982\u679C\u8981\u5B9E\u73B0\u6BCF\u6708\u91CD\u7F6E\u4E00\u6B21\u6D41\u91CF\u8BA1\u6570\uFF0C\u53EF\u4EE5\u8FD9\u6837\u5B9E\u73B0\uFF1A

          1. \u8FDB\u5165\u7BA1\u7406\u9762\u677F\u7684 \u62A5\u8B66\u901A\u77E5 \u9875
          2. \u53C2\u8003\u8FD9\u7BC7\u6587\u6863\uFF0C\u521B\u5EFA\u4E00\u4E2A\u6708\u6D41\u91CF\u62A5\u8B66
          3. \u8FD4\u56DE\u4E3B\u9875\uFF0C\u5728 \u670D\u52A1 \u9875\u4E2D\u5C31\u53EF\u4EE5\u770B\u5230\u6708\u6D41\u91CF\u7EDF\u8BA1\u4E86\uFF0C\u8FD9\u91CC\u7684\u7EDF\u8BA1\u6570\u636E\u4E0D\u4F1A\u56E0\u4E3A\u670D\u52A1\u5668\u91CD\u542F\u800C\u91CD\u7F6E

          TIP

          \u6B64\u65B9\u5F0F\u53EF\u4EE5\u8BBE\u7F6E\u4EFB\u4F55\u5468\u671F\uFF0C\u5305\u62EC\u4E14\u4E0D\u9650\u4E8E\u6BCF\u5C0F\u65F6/\u6BCF\u5929/\u6BCF\u5468/\u6BCF\u6708/\u6BCF\u5E74\u91CD\u7F6E\u6D41\u91CF\u7EDF\u8BA1\uFF0C\u975E\u5E38\u7075\u6D3B\uFF01

          ',4),s=[i];function _(d,r,l,n,p,h){return a(),t("div",null,s)}var m=e(c,[["render",_]]);export{u as __pageData,m as default}; diff --git a/assets/guide_q6.md.feb76c40.lean.js b/assets/guide_q6.md.b699a0ae.lean.js similarity index 83% rename from assets/guide_q6.md.feb76c40.lean.js rename to assets/guide_q6.md.b699a0ae.lean.js index 90196320..df7ec756 100644 --- a/assets/guide_q6.md.feb76c40.lean.js +++ b/assets/guide_q6.md.b699a0ae.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o as a,a as o}from"./app.3817bf4e.js";const u='{"title":"\u5982\u4F55\u6BCF\u6708\u91CD\u7F6E\u6D41\u91CF\u7EDF\u8BA1\uFF1F","description":"","frontmatter":{},"headers":[],"relativePath":"guide/q6.md","lastUpdated":1681026579000}',c={},i=o("",4),s=[i];function _(d,r,l,n,p,h){return a(),t("div",null,s)}var m=e(c,[["render",_]]);export{u as __pageData,m as default}; +import{_ as e,c as t,o as a,a as o}from"./app.3817bf4e.js";const u='{"title":"\u5982\u4F55\u6BCF\u6708\u91CD\u7F6E\u6D41\u91CF\u7EDF\u8BA1\uFF1F","description":"","frontmatter":{},"headers":[],"relativePath":"guide/q6.md","lastUpdated":1682076617000}',c={},i=o("",4),s=[i];function _(d,r,l,n,p,h){return a(),t("div",null,s)}var m=e(c,[["render",_]]);export{u as __pageData,m as default}; diff --git a/assets/guide_q7.md.8ffd6348.js b/assets/guide_q7.md.764a1f90.js similarity index 98% rename from assets/guide_q7.md.8ffd6348.js rename to assets/guide_q7.md.764a1f90.js index 7be51ab4..0a5b93e0 100644 --- a/assets/guide_q7.md.8ffd6348.js +++ b/assets/guide_q7.md.764a1f90.js @@ -1 +1 @@ -import{_ as e,c as t,o as a,a as d}from"./app.3817bf4e.js";const u='{"title":"\u81EA\u5B9A\u4E49 Agent \u76D1\u63A7\u9879\u76EE","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u81EA\u5B9A\u4E49 Agent \u76D1\u63A7\u9879\u76EE","slug":"\u81EA\u5B9A\u4E49-agent-\u76D1\u63A7\u9879\u76EE"}],"relativePath":"guide/q7.md","lastUpdated":1681026579000}',n={},o=d('

          \u81EA\u5B9A\u4E49 Agent \u76D1\u63A7\u9879\u76EE

          \u81EA\u5B9A\u4E49\u76D1\u63A7\u7684\u7F51\u5361\u548C\u786C\u76D8\u5206\u533A

          • \u6267\u884C /opt/nezha/agent/nezha-agent --edit-agent-config \u6765\u9009\u62E9\u81EA\u5B9A\u4E49\u7684\u7F51\u5361\u548C\u5206\u533A\uFF0C\u7136\u540E\u91CD\u542F Agent \u5373\u53EF\u751F\u6548

          \u5176\u4ED6\u8FD0\u884C\u53C2\u6570

          \u901A\u8FC7\u6267\u884C ./nezha-agent --help \u67E5\u770B\u652F\u6301\u7684\u53C2\u6570\uFF0C\u5982\u679C\u4F60\u4F7F\u7528\u4E86\u4E00\u952E\u811A\u672C\u5B89\u88C5Agent\uFF0C\u53EF\u4EE5\u7F16\u8F91 /etc/systemd/system/nezha-agent.service\uFF0C\u5728 ExecStart= \u8FD9\u4E00\u884C\u7684\u672B\u5C3E\u52A0\u4E0A\u4EE5\u4E0B\u53C2\u6570

          • --report-delay \u63A7\u5236\u7CFB\u7EDF\u4FE1\u606F\u4E0A\u62A5\u7684\u95F4\u9694\uFF0C\u9ED8\u8BA4\u4E3A 1 \u79D2\uFF0C\u53EF\u4EE5\u8BBE\u7F6E\u4E3A 3 \u6765\u8FDB\u4E00\u6B65\u964D\u4F4E agent \u7AEF\u7CFB\u7EDF\u8D44\u6E90\u5360\u7528\uFF08\u914D\u7F6E\u533A\u95F4 1-4\uFF09
          • --skip-conn \u4E0D\u76D1\u63A7\u8FDE\u63A5\u6570\uFF0C\u63A8\u8350 \u673A\u573A/\u8FDE\u63A5\u5BC6\u96C6\u578B \u670D\u52A1\u5668\u6216CPU\u5360\u7528\u8F83\u9AD8\u7684\u670D\u52A1\u5668\u8BBE\u7F6E
          • --skip-procs \u4E0D\u76D1\u63A7\u8FDB\u7A0B\u6570\uFF0C\u4E5F\u53EF\u4EE5\u964D\u4F4E Agent \u5360\u7528
          • --disable-auto-update \u7981\u6B62 \u81EA\u52A8\u66F4\u65B0 Agent\uFF08\u5B89\u5168\u7279\u6027\uFF09
          • --disable-force-update \u7981\u6B62 \u5F3A\u5236\u66F4\u65B0 Agent\uFF08\u5B89\u5168\u7279\u6027\uFF09
          • --disable-command-execute \u7981\u6B62\u5728 Agent \u4E0A\u6267\u884C\u5B9A\u65F6\u4EFB\u52A1\u3001\u6253\u5F00\u5728\u7EBF\u7EC8\u7AEF\uFF08\u5B89\u5168\u7279\u6027\uFF09
          • --tls \u542F\u7528 SSL/TLS \u52A0\u5BC6\uFF08\u4F7F\u7528 nginx \u53CD\u5411\u4EE3\u7406 Agent \u7684 grpc \u8FDE\u63A5\uFF0C\u5E76\u4E14 nginx \u5F00\u542F SSL/TLS \u65F6\uFF0C\u9700\u8981\u542F\u7528\u8BE5\u9879\u914D\u7F6E\uFF09
          ',6),c=[o];function i(r,s,l,g,h,_){return a(),t("div",null,c)}var A=e(n,[["render",i]]);export{u as __pageData,A as default}; +import{_ as e,c as t,o as a,a as d}from"./app.3817bf4e.js";const u='{"title":"\u81EA\u5B9A\u4E49 Agent \u76D1\u63A7\u9879\u76EE","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u81EA\u5B9A\u4E49 Agent \u76D1\u63A7\u9879\u76EE","slug":"\u81EA\u5B9A\u4E49-agent-\u76D1\u63A7\u9879\u76EE"}],"relativePath":"guide/q7.md","lastUpdated":1682076617000}',n={},o=d('

          \u81EA\u5B9A\u4E49 Agent \u76D1\u63A7\u9879\u76EE

          \u81EA\u5B9A\u4E49\u76D1\u63A7\u7684\u7F51\u5361\u548C\u786C\u76D8\u5206\u533A

          • \u6267\u884C /opt/nezha/agent/nezha-agent --edit-agent-config \u6765\u9009\u62E9\u81EA\u5B9A\u4E49\u7684\u7F51\u5361\u548C\u5206\u533A\uFF0C\u7136\u540E\u91CD\u542F Agent \u5373\u53EF\u751F\u6548

          \u5176\u4ED6\u8FD0\u884C\u53C2\u6570

          \u901A\u8FC7\u6267\u884C ./nezha-agent --help \u67E5\u770B\u652F\u6301\u7684\u53C2\u6570\uFF0C\u5982\u679C\u4F60\u4F7F\u7528\u4E86\u4E00\u952E\u811A\u672C\u5B89\u88C5Agent\uFF0C\u53EF\u4EE5\u7F16\u8F91 /etc/systemd/system/nezha-agent.service\uFF0C\u5728 ExecStart= \u8FD9\u4E00\u884C\u7684\u672B\u5C3E\u52A0\u4E0A\u4EE5\u4E0B\u53C2\u6570

          • --report-delay \u63A7\u5236\u7CFB\u7EDF\u4FE1\u606F\u4E0A\u62A5\u7684\u95F4\u9694\uFF0C\u9ED8\u8BA4\u4E3A 1 \u79D2\uFF0C\u53EF\u4EE5\u8BBE\u7F6E\u4E3A 3 \u6765\u8FDB\u4E00\u6B65\u964D\u4F4E agent \u7AEF\u7CFB\u7EDF\u8D44\u6E90\u5360\u7528\uFF08\u914D\u7F6E\u533A\u95F4 1-4\uFF09
          • --skip-conn \u4E0D\u76D1\u63A7\u8FDE\u63A5\u6570\uFF0C\u63A8\u8350 \u673A\u573A/\u8FDE\u63A5\u5BC6\u96C6\u578B \u670D\u52A1\u5668\u6216CPU\u5360\u7528\u8F83\u9AD8\u7684\u670D\u52A1\u5668\u8BBE\u7F6E
          • --skip-procs \u4E0D\u76D1\u63A7\u8FDB\u7A0B\u6570\uFF0C\u4E5F\u53EF\u4EE5\u964D\u4F4E Agent \u5360\u7528
          • --disable-auto-update \u7981\u6B62 \u81EA\u52A8\u66F4\u65B0 Agent\uFF08\u5B89\u5168\u7279\u6027\uFF09
          • --disable-force-update \u7981\u6B62 \u5F3A\u5236\u66F4\u65B0 Agent\uFF08\u5B89\u5168\u7279\u6027\uFF09
          • --disable-command-execute \u7981\u6B62\u5728 Agent \u4E0A\u6267\u884C\u5B9A\u65F6\u4EFB\u52A1\u3001\u6253\u5F00\u5728\u7EBF\u7EC8\u7AEF\uFF08\u5B89\u5168\u7279\u6027\uFF09
          • --tls \u542F\u7528 SSL/TLS \u52A0\u5BC6\uFF08\u4F7F\u7528 nginx \u53CD\u5411\u4EE3\u7406 Agent \u7684 grpc \u8FDE\u63A5\uFF0C\u5E76\u4E14 nginx \u5F00\u542F SSL/TLS \u65F6\uFF0C\u9700\u8981\u542F\u7528\u8BE5\u9879\u914D\u7F6E\uFF09
          ',6),c=[o];function i(r,s,l,g,h,_){return a(),t("div",null,c)}var A=e(n,[["render",i]]);export{u as __pageData,A as default}; diff --git a/assets/guide_q7.md.8ffd6348.lean.js b/assets/guide_q7.md.764a1f90.lean.js similarity index 87% rename from assets/guide_q7.md.8ffd6348.lean.js rename to assets/guide_q7.md.764a1f90.lean.js index 5a047f62..d9893277 100644 --- a/assets/guide_q7.md.8ffd6348.lean.js +++ b/assets/guide_q7.md.764a1f90.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o as a,a as d}from"./app.3817bf4e.js";const u='{"title":"\u81EA\u5B9A\u4E49 Agent \u76D1\u63A7\u9879\u76EE","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u81EA\u5B9A\u4E49 Agent \u76D1\u63A7\u9879\u76EE","slug":"\u81EA\u5B9A\u4E49-agent-\u76D1\u63A7\u9879\u76EE"}],"relativePath":"guide/q7.md","lastUpdated":1681026579000}',n={},o=d("",6),c=[o];function i(r,s,l,g,h,_){return a(),t("div",null,c)}var A=e(n,[["render",i]]);export{u as __pageData,A as default}; +import{_ as e,c as t,o as a,a as d}from"./app.3817bf4e.js";const u='{"title":"\u81EA\u5B9A\u4E49 Agent \u76D1\u63A7\u9879\u76EE","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u81EA\u5B9A\u4E49 Agent \u76D1\u63A7\u9879\u76EE","slug":"\u81EA\u5B9A\u4E49-agent-\u76D1\u63A7\u9879\u76EE"}],"relativePath":"guide/q7.md","lastUpdated":1682076617000}',n={},o=d("",6),c=[o];function i(r,s,l,g,h,_){return a(),t("div",null,c)}var A=e(n,[["render",i]]);export{u as __pageData,A as default}; diff --git a/assets/guide_servers.md.f78eb869.js b/assets/guide_servers.md.935137e3.js similarity index 97% rename from assets/guide_servers.md.f78eb869.js rename to assets/guide_servers.md.935137e3.js index 421e0837..8f66b566 100644 --- a/assets/guide_servers.md.f78eb869.js +++ b/assets/guide_servers.md.935137e3.js @@ -1 +1 @@ -import{_ as e,c as a,o as t,a as r}from"./app.3817bf4e.js";const p='{"title":"\u4E3B\u673A","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4ECB\u7ECD","slug":"\u4ECB\u7ECD"},{"level":2,"title":"\u6DFB\u52A0\u670D\u52A1\u5668","slug":"\u6DFB\u52A0\u670D\u52A1\u5668"},{"level":2,"title":"\u5B89\u88C5Agent","slug":"\u5B89\u88C5agent"},{"level":2,"title":"\u5F3A\u5236\u66F4\u65B0","slug":"\u5F3A\u5236\u66F4\u65B0"},{"level":2,"title":"\u6570\u636E\u5217","slug":"\u6570\u636E\u5217"},{"level":2,"title":"\u5728\u7EBF\u7EC8\u7AEF","slug":"\u5728\u7EBF\u7EC8\u7AEF"}],"relativePath":"guide/servers.md","lastUpdated":1681026579000}',d={},i=r('

          \u4E3B\u673A

          \u4ECB\u7ECD

          \u4E3B\u673A\u533A\u57DF\u8D1F\u8D23\u7BA1\u7406Agent\uFF0C\u662F\u54EA\u5412\u63A2\u9488\u4E2D\u6700\u57FA\u7840\u7684\u533A\u57DF\uFF0C\u4E5F\u662F\u5176\u4ED6\u529F\u80FD\u7684\u57FA\u7840\u3002

          \u6DFB\u52A0\u670D\u52A1\u5668

          \u7B2C\u4E00\u6B65\u662F\u6DFB\u52A0\u4E3B\u673A\uFF0C\u53EF\u4EE5\u81EA\u5B9A\u4E49\u540D\u79F0\u3001\u5206\u7EC4\u3001\u6392\u5E8F\u548C\u5907\u6CE8\u3002
          \u62E5\u6709\u76F8\u540C\u5206\u7EC4\u7684\u4E3B\u673A\u4F1A\u5728\u53D7\u652F\u6301\u7684\u4E3B\u9898\u4E2D\u5212\u5206\u5230\u4E00\u8D77\u8FDB\u884C\u663E\u793A\uFF0C\u5907\u6CE8\u4EC5\u4F1A\u5728\u540E\u53F0\u663E\u793A\uFF0C\u65E0\u9700\u62C5\u5FC3\u6CC4\u9732\u4FE1\u606F\u3002

          \u5B89\u88C5Agent

          \u8BF7\u53C2\u8003\u524D\u6587\u5B89\u88C5Agent
          \u63A8\u8350\u4F7F\u7528\u4E00\u952E\u5B89\u88C5\uFF0C\u5373\u914D\u7F6E\u597D\u53C2\u6570\u540E\uFF0C\u70B9\u51FB\u4E3B\u673A\u4E00\u952E\u5B89\u88C5\u5217\u4E0A\u7684\u6309\u94AE\uFF0C\u590D\u5236\u5230\u76F8\u5E94\u4E3B\u673A\u8FDB\u884C\u5B89\u88C5\u3002

          \u5F3A\u5236\u66F4\u65B0

          Agent\u66F4\u65B0\u76F8\u5173\u7684\u53C2\u6570\u662F \u81EA\u5B9A\u4E49agent\u76D1\u63A7\u9879\u76EE \u4E2D\u7684 --disable-auto-update \u548C --disable-force-update\u3002
          \u9ED8\u8BA4\u60C5\u51B5\u4E0B\uFF0CAgent\u4F1A\u81EA\u52A8\u66F4\u65B0\uFF0C\u65E0\u9700\u5E72\u9884\u3002\u4F46\u5F53\u7528\u6237\u5173\u95ED\u81EA\u52A8\u66F4\u65B0\u540E\uFF0C\u4E5F\u53EF\u4EE5\u9009\u4E2D\u6307\u5B9A\u4E3B\u673A\u8FDB\u884C\u5F3A\u5236\u66F4\u65B0\u3002
          disable-force-update\u5F00\u542F\u65F6\u6B64\u529F\u80FD\u4E0D\u751F\u6548\u3002

          \u6570\u636E\u5217

          • \u7248\u672C\u53F7: \u8BB0\u5F55Agent\u5F53\u524D\u7248\u672C
          • \u5BC6\u94A5: \u5373secret\\key\uFF0C\u914D\u7F6EAgent\u65F6\u4F1A\u7528\u5230
          • \u4E00\u952E\u5B89\u88C5: \u8F83\u4E3A\u4FBF\u6377\u7684Agent\u5B89\u88C5\u65B9\u5F0F
          • \u7BA1\u7406: \u5DE6\u4E3AWebShell\uFF0C\u4E2D\u4E3A\u7F16\u8F91\uFF0C\u53F3\u4E3A\u5220\u9664

          \u5728\u7EBF\u7EC8\u7AEF

          \u5373WebShell\uFF0Cdisable-command-execute \u5F00\u542F\u65F6\u6B64\u529F\u80FD\u4E0D\u751F\u6548\u3002
          Linux\u548CWindows\u5747\u53EF\u7528\uFF0C\u53EF\u4F7F\u7528Ctrl+Shift+V\u7C98\u8D34\u3002
          \u8FDE\u63A5\u5931\u8D25\u8BF7\u53C2\u8003\u5B9E\u65F6\u901A\u9053\u65AD\u5F00/\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25\u3002
          \u6CE8\u610F\u5728\u7EBF\u7EC8\u7AEF\u529F\u80FD\u4E2D\uFF0CAgent\u4E5F\u662F\u901A\u8FC7WebSocket\u8FDE\u63A5\u5230\u516C\u5F00\u8BBF\u95EE\u57DF\u540D\uFF0C\u800C\u975E\u901A\u8FC7grpc\u4EA4\u4E92\u3002

          ',13),n=[i];function l(h,s,o,c,g,u){return t(),a("div",null,n)}var b=e(d,[["render",l]]);export{p as __pageData,b as default}; +import{_ as e,c as a,o as t,a as r}from"./app.3817bf4e.js";const p='{"title":"\u4E3B\u673A","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4ECB\u7ECD","slug":"\u4ECB\u7ECD"},{"level":2,"title":"\u6DFB\u52A0\u670D\u52A1\u5668","slug":"\u6DFB\u52A0\u670D\u52A1\u5668"},{"level":2,"title":"\u5B89\u88C5Agent","slug":"\u5B89\u88C5agent"},{"level":2,"title":"\u5F3A\u5236\u66F4\u65B0","slug":"\u5F3A\u5236\u66F4\u65B0"},{"level":2,"title":"\u6570\u636E\u5217","slug":"\u6570\u636E\u5217"},{"level":2,"title":"\u5728\u7EBF\u7EC8\u7AEF","slug":"\u5728\u7EBF\u7EC8\u7AEF"}],"relativePath":"guide/servers.md","lastUpdated":1682076617000}',d={},i=r('

          \u4E3B\u673A

          \u4ECB\u7ECD

          \u4E3B\u673A\u533A\u57DF\u8D1F\u8D23\u7BA1\u7406Agent\uFF0C\u662F\u54EA\u5412\u63A2\u9488\u4E2D\u6700\u57FA\u7840\u7684\u533A\u57DF\uFF0C\u4E5F\u662F\u5176\u4ED6\u529F\u80FD\u7684\u57FA\u7840\u3002

          \u6DFB\u52A0\u670D\u52A1\u5668

          \u7B2C\u4E00\u6B65\u662F\u6DFB\u52A0\u4E3B\u673A\uFF0C\u53EF\u4EE5\u81EA\u5B9A\u4E49\u540D\u79F0\u3001\u5206\u7EC4\u3001\u6392\u5E8F\u548C\u5907\u6CE8\u3002
          \u62E5\u6709\u76F8\u540C\u5206\u7EC4\u7684\u4E3B\u673A\u4F1A\u5728\u53D7\u652F\u6301\u7684\u4E3B\u9898\u4E2D\u5212\u5206\u5230\u4E00\u8D77\u8FDB\u884C\u663E\u793A\uFF0C\u5907\u6CE8\u4EC5\u4F1A\u5728\u540E\u53F0\u663E\u793A\uFF0C\u65E0\u9700\u62C5\u5FC3\u6CC4\u9732\u4FE1\u606F\u3002

          \u5B89\u88C5Agent

          \u8BF7\u53C2\u8003\u524D\u6587\u5B89\u88C5Agent
          \u63A8\u8350\u4F7F\u7528\u4E00\u952E\u5B89\u88C5\uFF0C\u5373\u914D\u7F6E\u597D\u53C2\u6570\u540E\uFF0C\u70B9\u51FB\u4E3B\u673A\u4E00\u952E\u5B89\u88C5\u5217\u4E0A\u7684\u6309\u94AE\uFF0C\u590D\u5236\u5230\u76F8\u5E94\u4E3B\u673A\u8FDB\u884C\u5B89\u88C5\u3002

          \u5F3A\u5236\u66F4\u65B0

          Agent\u66F4\u65B0\u76F8\u5173\u7684\u53C2\u6570\u662F \u81EA\u5B9A\u4E49agent\u76D1\u63A7\u9879\u76EE \u4E2D\u7684 --disable-auto-update \u548C --disable-force-update\u3002
          \u9ED8\u8BA4\u60C5\u51B5\u4E0B\uFF0CAgent\u4F1A\u81EA\u52A8\u66F4\u65B0\uFF0C\u65E0\u9700\u5E72\u9884\u3002\u4F46\u5F53\u7528\u6237\u5173\u95ED\u81EA\u52A8\u66F4\u65B0\u540E\uFF0C\u4E5F\u53EF\u4EE5\u9009\u4E2D\u6307\u5B9A\u4E3B\u673A\u8FDB\u884C\u5F3A\u5236\u66F4\u65B0\u3002
          disable-force-update\u5F00\u542F\u65F6\u6B64\u529F\u80FD\u4E0D\u751F\u6548\u3002

          \u6570\u636E\u5217

          • \u7248\u672C\u53F7: \u8BB0\u5F55Agent\u5F53\u524D\u7248\u672C
          • \u5BC6\u94A5: \u5373secret\\key\uFF0C\u914D\u7F6EAgent\u65F6\u4F1A\u7528\u5230
          • \u4E00\u952E\u5B89\u88C5: \u8F83\u4E3A\u4FBF\u6377\u7684Agent\u5B89\u88C5\u65B9\u5F0F
          • \u7BA1\u7406: \u5DE6\u4E3AWebShell\uFF0C\u4E2D\u4E3A\u7F16\u8F91\uFF0C\u53F3\u4E3A\u5220\u9664

          \u5728\u7EBF\u7EC8\u7AEF

          \u5373WebShell\uFF0Cdisable-command-execute \u5F00\u542F\u65F6\u6B64\u529F\u80FD\u4E0D\u751F\u6548\u3002
          Linux\u548CWindows\u5747\u53EF\u7528\uFF0C\u53EF\u4F7F\u7528Ctrl+Shift+V\u7C98\u8D34\u3002
          \u8FDE\u63A5\u5931\u8D25\u8BF7\u53C2\u8003\u5B9E\u65F6\u901A\u9053\u65AD\u5F00/\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25\u3002
          \u6CE8\u610F\u5728\u7EBF\u7EC8\u7AEF\u529F\u80FD\u4E2D\uFF0CAgent\u4E5F\u662F\u901A\u8FC7WebSocket\u8FDE\u63A5\u5230\u516C\u5F00\u8BBF\u95EE\u57DF\u540D\uFF0C\u800C\u975E\u901A\u8FC7grpc\u4EA4\u4E92\u3002

          ',13),n=[i];function l(h,s,o,c,g,u){return t(),a("div",null,n)}var b=e(d,[["render",l]]);export{p as __pageData,b as default}; diff --git a/assets/guide_servers.md.f78eb869.lean.js b/assets/guide_servers.md.935137e3.lean.js similarity index 83% rename from assets/guide_servers.md.f78eb869.lean.js rename to assets/guide_servers.md.935137e3.lean.js index 79dd5d88..b0cedc90 100644 --- a/assets/guide_servers.md.f78eb869.lean.js +++ b/assets/guide_servers.md.935137e3.lean.js @@ -1 +1 @@ -import{_ as e,c as a,o as t,a as r}from"./app.3817bf4e.js";const p='{"title":"\u4E3B\u673A","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4ECB\u7ECD","slug":"\u4ECB\u7ECD"},{"level":2,"title":"\u6DFB\u52A0\u670D\u52A1\u5668","slug":"\u6DFB\u52A0\u670D\u52A1\u5668"},{"level":2,"title":"\u5B89\u88C5Agent","slug":"\u5B89\u88C5agent"},{"level":2,"title":"\u5F3A\u5236\u66F4\u65B0","slug":"\u5F3A\u5236\u66F4\u65B0"},{"level":2,"title":"\u6570\u636E\u5217","slug":"\u6570\u636E\u5217"},{"level":2,"title":"\u5728\u7EBF\u7EC8\u7AEF","slug":"\u5728\u7EBF\u7EC8\u7AEF"}],"relativePath":"guide/servers.md","lastUpdated":1681026579000}',d={},i=r("",13),n=[i];function l(h,s,o,c,g,u){return t(),a("div",null,n)}var b=e(d,[["render",l]]);export{p as __pageData,b as default}; +import{_ as e,c as a,o as t,a as r}from"./app.3817bf4e.js";const p='{"title":"\u4E3B\u673A","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4ECB\u7ECD","slug":"\u4ECB\u7ECD"},{"level":2,"title":"\u6DFB\u52A0\u670D\u52A1\u5668","slug":"\u6DFB\u52A0\u670D\u52A1\u5668"},{"level":2,"title":"\u5B89\u88C5Agent","slug":"\u5B89\u88C5agent"},{"level":2,"title":"\u5F3A\u5236\u66F4\u65B0","slug":"\u5F3A\u5236\u66F4\u65B0"},{"level":2,"title":"\u6570\u636E\u5217","slug":"\u6570\u636E\u5217"},{"level":2,"title":"\u5728\u7EBF\u7EC8\u7AEF","slug":"\u5728\u7EBF\u7EC8\u7AEF"}],"relativePath":"guide/servers.md","lastUpdated":1682076617000}',d={},i=r("",13),n=[i];function l(h,s,o,c,g,u){return t(),a("div",null,n)}var b=e(d,[["render",l]]);export{p as __pageData,b as default}; diff --git a/assets/guide_services.md.3bc28e6a.js b/assets/guide_services.md.7b6688ec.js similarity index 98% rename from assets/guide_services.md.3bc28e6a.js rename to assets/guide_services.md.7b6688ec.js index 991f1e7a..ac7aa92c 100644 --- a/assets/guide_services.md.3bc28e6a.js +++ b/assets/guide_services.md.7b6688ec.js @@ -1 +1 @@ -import{_ as e,c as o,o as t,a as l}from"./app.3817bf4e.js";const g='{"title":"\u4F7F\u7528\u65B9\u6CD5","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4F7F\u7528\u65B9\u6CD5","slug":"\u4F7F\u7528\u65B9\u6CD5"},{"level":2,"title":"\u5EF6\u8FDF\u53D8\u5316\u62A5\u8B66","slug":"\u5EF6\u8FDF\u53D8\u5316\u62A5\u8B66"},{"level":2,"title":"\u7BA1\u7406\u76D1\u63A7","slug":"\u7BA1\u7406\u76D1\u63A7"}],"relativePath":"guide/services.md","lastUpdated":1681026579000}',r={},c=l('

          \u670D\u52A1\u533A\u57DF\u662F\u8BBE\u7F6E Agent \u76D1\u63A7\u5916\u90E8\u7F51\u7AD9\u6216\u670D\u52A1\u5668\u7684\u529F\u80FD\u8BBE\u7F6E\u533A
          \u8BBE\u7F6E\u597D\u7684\u670D\u52A1\u76D1\u63A7\u53EF\u4EE5\u5728\u4E3B\u9875\u4E2D\u7684 \u201C\u670D\u52A1\u201D \u9875\u67E5\u770B\u76D1\u63A7\u7ED3\u679C

          \u4F7F\u7528\u65B9\u6CD5

          \u5982\u9700\u65B0\u589E\u4E00\u4E2A\u76D1\u63A7\uFF0C\u53EF\u4EE5\u8FDB\u5165\u7BA1\u7406\u9762\u677F\u4E2D\u7684 \u201C\u670D\u52A1\u201D \u9875\uFF0C\u70B9\u51FB\u201C\u6DFB\u52A0\u76D1\u63A7\u201D

          \u65B0\u589E\u4E00\u4E2A\u670D\u52A1\u76D1\u63A7\uFF0C\u4F60\u9700\u8981\u8BBE\u7F6E\u4EE5\u4E0B\u53C2\u6570\uFF1A

          • \u540D\u79F0 - \u81EA\u5B9A\u4E49\u4E00\u4E2A\u540D\u79F0

          • \u7C7B\u578B - \u9009\u62E9\u4E00\u4E2A\u76D1\u63A7\u7C7B\u578B\uFF0C\u76EE\u524D\u54EA\u5412\u76D1\u63A7\u652F\u6301\u4E09\u79CD\u76D1\u63A7\u7C7B\u578B\uFF0C\u5206\u522B\u662F \u201CHTTP-GET\u201D\u3001\u201CICMP-Ping\u201D \u548C \u201CTCP-Ping\u201D

          • \u76EE\u6807 - \u6839\u636E\u4F60\u9009\u62E9\u7684\u7C7B\u578B\u4E0D\u540C\uFF0C\u76EE\u6807\u7684\u8BBE\u7F6E\u65B9\u6CD5\u4E5F\u4E0D\u540C

          • HTTP-GET: \u9009\u62E9\u6B64\u7C7B\u578B\uFF0C\u4F60\u5E94\u8BE5\u8F93\u5165\u4E00\u4E2AURL\u4F5C\u4E3A\u76EE\u6807\uFF0CURL\u9700\u6DFB\u52A0 http:// \u6216 https:// \u5982\u679C\u4F60\u7684\u76EE\u6807URL\u662F https:// ,\u5C06\u4F1A\u540C\u65F6\u76D1\u63A7\u8BE5URL\u7684SSL\u8BC1\u4E66\uFF0C\u5F53SSL\u8BC1\u4E66\u5230\u671F\u6216\u53D1\u751F\u53D8\u66F4\uFF0C\u4F1A\u89E6\u53D1\u63D0\u9192
            \u4F8B\u5982\uFF1A https://example.com
          • ICMP-Ping: \u9009\u62E9\u6B64\u7C7B\u578B\u65F6\uFF0C\u4F60\u5E94\u8BE5\u8F93\u5165\u4E00\u4E2A\u57DF\u540D\u6216IP\uFF0C\u4E0D\u542B\u7AEF\u53E3\u53F7
            \u4F8B\u5982\uFF1A1.1.1.1 \u6216 example.com
          • TCP-Ping: \u9009\u62E9\u6B64\u7C7B\u578B\u65F6\uFF0C\u4F60\u5E94\u8BE5\u8F93\u5165\u4E00\u4E2A\u57DF\u540D\u6216IP\u5E76\u5305\u542B\u7AEF\u53E3\u53F7
            \u4F8B\u5982\uFF1A1.1.1.1:80 \u6216 example.com:22
          • \u8BF7\u6C42\u95F4\u9694\uFF1A \u8BBE\u5B9A Agent \u6BCF\u6B21\u8BF7\u6C42\u76EE\u6807\u7684\u65F6\u95F4\u95F4\u9694\uFF0C\u4EE5\u79D2\u4E3A\u5355\u4F4D

          • \u8986\u76D6\u8303\u56F4\uFF1A \u9009\u62E9\u4E00\u6761\u89C4\u5219\u6765\u786E\u5B9A\u8981\u4F7F\u7528\u54EA\u4E9B Agent \u6765\u8BF7\u6C42\u76EE\u6807

          • \u7279\u5B9A\u670D\u52A1\u5668\uFF1A \u914D\u5408\u8986\u76D6\u8303\u56F4\u4F7F\u7528\uFF0C\u9009\u62E9\u89C4\u5219\u5185\u9700\u8981\u6392\u9664\u7684 Agent

          • \u901A\u77E5\u65B9\u5F0F\u7EC4\uFF1A \u9009\u62E9\u4F60\u5DF2\u7ECF\u5728 \u201C\u62A5\u8B66\u201D \u9875\u8BBE\u7F6E\u597D\u7684\u901A\u77E5\u65B9\u5F0F\uFF0C\u70B9\u51FB\u8FD9\u91CC\u4E86\u89E3\u8BE6\u60C5

          • \u542F\u7528\u6545\u969C\u901A\u77E5\uFF1A \u6839\u636E\u9700\u8981\u9009\u62E9\u662F\u5426\u63A5\u6536\u76EE\u6807\u6545\u969C\u901A\u77E5\uFF0C\u9ED8\u8BA4\u4E3A\u4E0D\u52FE\u9009

          \u8BBE\u7F6E\u5B8C\u6210\u540E\uFF0C\u70B9\u51FB \u201C\u6DFB\u52A0\u201D \u5373\u53EF
          \u7A0D\u7B49\u7247\u523B\u524D\u5F80\u4E3B\u9875\u7684 \u201C\u670D\u52A1\u201D \u9875\uFF0C\u67E5\u770B\u76D1\u63A7\u7ED3\u679C

          \u5EF6\u8FDF\u53D8\u5316\u62A5\u8B66

          \u54EA\u5412\u76D1\u63A7\u53EF\u4EE5\u76D1\u6D4B\u5E76\u7EDF\u8BA1 Agent \u5230\u76EE\u6807\u670D\u52A1\u5668\u4E4B\u95F4\u7684\u5EF6\u8FDF\uFF0C\u5728\u53D1\u751F\u8F83\u5927\u53D8\u5316\u7684\u60C5\u51B5\u4E0B\u53D1\u9001\u901A\u77E5
          \u5229\u7528\u6B64\u529F\u80FD\u53EF\u4EE5\u5E2E\u52A9\u4F60\u76D1\u63A7\u670D\u52A1\u5668\u7684\u7EBF\u8DEF\u662F\u5426\u53D1\u751F\u4E86\u53D8\u5316

          • \u542F\u7528\u5EF6\u8FDF\u901A\u77E5\uFF1A \u5F00\u542F\u65F6\uFF0C\u5F53 Agent \u81F3\u76EE\u6807\u670D\u52A1\u5668\u7684\u5EF6\u8FDF\u5927\u4E8E\u6700\u9AD8\u5EF6\u8FDF\u6216\u5C0F\u4E8E\u6700\u4F4E\u5EF6\u8FDF\u65F6\uFF0C\u5C06\u4F1A\u53D1\u9001\u62A5\u8B66\u901A\u77E5

          \u7BA1\u7406\u76D1\u63A7

          \u5982\u9700\u5BF9\u5DF2\u6709\u7684\u670D\u52A1\u76D1\u63A7\u8FDB\u884C\u7BA1\u7406\uFF0C\u53EF\u4EE5\u524D\u5F80\u7BA1\u7406\u9762\u677F\u4E2D\u7684 \u201C\u670D\u52A1\u201D \u9875
          \u9009\u62E9\u4E00\u6761\u76D1\u63A7\u914D\u7F6E\uFF0C\u70B9\u51FB\u53F3\u4FA7\u7684\u56FE\u6807\u8FDB\u884C\u7F16\u8F91\u6216\u5220\u9664

          ',15),a=[c];function d(i,n,p,s,h,u){return t(),o("div",null,a)}var b=e(r,[["render",d]]);export{g as __pageData,b as default}; +import{_ as e,c as o,o as t,a as l}from"./app.3817bf4e.js";const g='{"title":"\u4F7F\u7528\u65B9\u6CD5","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4F7F\u7528\u65B9\u6CD5","slug":"\u4F7F\u7528\u65B9\u6CD5"},{"level":2,"title":"\u5EF6\u8FDF\u53D8\u5316\u62A5\u8B66","slug":"\u5EF6\u8FDF\u53D8\u5316\u62A5\u8B66"},{"level":2,"title":"\u7BA1\u7406\u76D1\u63A7","slug":"\u7BA1\u7406\u76D1\u63A7"}],"relativePath":"guide/services.md","lastUpdated":1682076617000}',r={},c=l('

          \u670D\u52A1\u533A\u57DF\u662F\u8BBE\u7F6E Agent \u76D1\u63A7\u5916\u90E8\u7F51\u7AD9\u6216\u670D\u52A1\u5668\u7684\u529F\u80FD\u8BBE\u7F6E\u533A
          \u8BBE\u7F6E\u597D\u7684\u670D\u52A1\u76D1\u63A7\u53EF\u4EE5\u5728\u4E3B\u9875\u4E2D\u7684 \u201C\u670D\u52A1\u201D \u9875\u67E5\u770B\u76D1\u63A7\u7ED3\u679C

          \u4F7F\u7528\u65B9\u6CD5

          \u5982\u9700\u65B0\u589E\u4E00\u4E2A\u76D1\u63A7\uFF0C\u53EF\u4EE5\u8FDB\u5165\u7BA1\u7406\u9762\u677F\u4E2D\u7684 \u201C\u670D\u52A1\u201D \u9875\uFF0C\u70B9\u51FB\u201C\u6DFB\u52A0\u76D1\u63A7\u201D

          \u65B0\u589E\u4E00\u4E2A\u670D\u52A1\u76D1\u63A7\uFF0C\u4F60\u9700\u8981\u8BBE\u7F6E\u4EE5\u4E0B\u53C2\u6570\uFF1A

          • \u540D\u79F0 - \u81EA\u5B9A\u4E49\u4E00\u4E2A\u540D\u79F0

          • \u7C7B\u578B - \u9009\u62E9\u4E00\u4E2A\u76D1\u63A7\u7C7B\u578B\uFF0C\u76EE\u524D\u54EA\u5412\u76D1\u63A7\u652F\u6301\u4E09\u79CD\u76D1\u63A7\u7C7B\u578B\uFF0C\u5206\u522B\u662F \u201CHTTP-GET\u201D\u3001\u201CICMP-Ping\u201D \u548C \u201CTCP-Ping\u201D

          • \u76EE\u6807 - \u6839\u636E\u4F60\u9009\u62E9\u7684\u7C7B\u578B\u4E0D\u540C\uFF0C\u76EE\u6807\u7684\u8BBE\u7F6E\u65B9\u6CD5\u4E5F\u4E0D\u540C

          • HTTP-GET: \u9009\u62E9\u6B64\u7C7B\u578B\uFF0C\u4F60\u5E94\u8BE5\u8F93\u5165\u4E00\u4E2AURL\u4F5C\u4E3A\u76EE\u6807\uFF0CURL\u9700\u6DFB\u52A0 http:// \u6216 https:// \u5982\u679C\u4F60\u7684\u76EE\u6807URL\u662F https:// ,\u5C06\u4F1A\u540C\u65F6\u76D1\u63A7\u8BE5URL\u7684SSL\u8BC1\u4E66\uFF0C\u5F53SSL\u8BC1\u4E66\u5230\u671F\u6216\u53D1\u751F\u53D8\u66F4\uFF0C\u4F1A\u89E6\u53D1\u63D0\u9192
            \u4F8B\u5982\uFF1A https://example.com
          • ICMP-Ping: \u9009\u62E9\u6B64\u7C7B\u578B\u65F6\uFF0C\u4F60\u5E94\u8BE5\u8F93\u5165\u4E00\u4E2A\u57DF\u540D\u6216IP\uFF0C\u4E0D\u542B\u7AEF\u53E3\u53F7
            \u4F8B\u5982\uFF1A1.1.1.1 \u6216 example.com
          • TCP-Ping: \u9009\u62E9\u6B64\u7C7B\u578B\u65F6\uFF0C\u4F60\u5E94\u8BE5\u8F93\u5165\u4E00\u4E2A\u57DF\u540D\u6216IP\u5E76\u5305\u542B\u7AEF\u53E3\u53F7
            \u4F8B\u5982\uFF1A1.1.1.1:80 \u6216 example.com:22
          • \u8BF7\u6C42\u95F4\u9694\uFF1A \u8BBE\u5B9A Agent \u6BCF\u6B21\u8BF7\u6C42\u76EE\u6807\u7684\u65F6\u95F4\u95F4\u9694\uFF0C\u4EE5\u79D2\u4E3A\u5355\u4F4D

          • \u8986\u76D6\u8303\u56F4\uFF1A \u9009\u62E9\u4E00\u6761\u89C4\u5219\u6765\u786E\u5B9A\u8981\u4F7F\u7528\u54EA\u4E9B Agent \u6765\u8BF7\u6C42\u76EE\u6807

          • \u7279\u5B9A\u670D\u52A1\u5668\uFF1A \u914D\u5408\u8986\u76D6\u8303\u56F4\u4F7F\u7528\uFF0C\u9009\u62E9\u89C4\u5219\u5185\u9700\u8981\u6392\u9664\u7684 Agent

          • \u901A\u77E5\u65B9\u5F0F\u7EC4\uFF1A \u9009\u62E9\u4F60\u5DF2\u7ECF\u5728 \u201C\u62A5\u8B66\u201D \u9875\u8BBE\u7F6E\u597D\u7684\u901A\u77E5\u65B9\u5F0F\uFF0C\u70B9\u51FB\u8FD9\u91CC\u4E86\u89E3\u8BE6\u60C5

          • \u542F\u7528\u6545\u969C\u901A\u77E5\uFF1A \u6839\u636E\u9700\u8981\u9009\u62E9\u662F\u5426\u63A5\u6536\u76EE\u6807\u6545\u969C\u901A\u77E5\uFF0C\u9ED8\u8BA4\u4E3A\u4E0D\u52FE\u9009

          \u8BBE\u7F6E\u5B8C\u6210\u540E\uFF0C\u70B9\u51FB \u201C\u6DFB\u52A0\u201D \u5373\u53EF
          \u7A0D\u7B49\u7247\u523B\u524D\u5F80\u4E3B\u9875\u7684 \u201C\u670D\u52A1\u201D \u9875\uFF0C\u67E5\u770B\u76D1\u63A7\u7ED3\u679C

          \u5EF6\u8FDF\u53D8\u5316\u62A5\u8B66

          \u54EA\u5412\u76D1\u63A7\u53EF\u4EE5\u76D1\u6D4B\u5E76\u7EDF\u8BA1 Agent \u5230\u76EE\u6807\u670D\u52A1\u5668\u4E4B\u95F4\u7684\u5EF6\u8FDF\uFF0C\u5728\u53D1\u751F\u8F83\u5927\u53D8\u5316\u7684\u60C5\u51B5\u4E0B\u53D1\u9001\u901A\u77E5
          \u5229\u7528\u6B64\u529F\u80FD\u53EF\u4EE5\u5E2E\u52A9\u4F60\u76D1\u63A7\u670D\u52A1\u5668\u7684\u7EBF\u8DEF\u662F\u5426\u53D1\u751F\u4E86\u53D8\u5316

          • \u542F\u7528\u5EF6\u8FDF\u901A\u77E5\uFF1A \u5F00\u542F\u65F6\uFF0C\u5F53 Agent \u81F3\u76EE\u6807\u670D\u52A1\u5668\u7684\u5EF6\u8FDF\u5927\u4E8E\u6700\u9AD8\u5EF6\u8FDF\u6216\u5C0F\u4E8E\u6700\u4F4E\u5EF6\u8FDF\u65F6\uFF0C\u5C06\u4F1A\u53D1\u9001\u62A5\u8B66\u901A\u77E5

          \u7BA1\u7406\u76D1\u63A7

          \u5982\u9700\u5BF9\u5DF2\u6709\u7684\u670D\u52A1\u76D1\u63A7\u8FDB\u884C\u7BA1\u7406\uFF0C\u53EF\u4EE5\u524D\u5F80\u7BA1\u7406\u9762\u677F\u4E2D\u7684 \u201C\u670D\u52A1\u201D \u9875
          \u9009\u62E9\u4E00\u6761\u76D1\u63A7\u914D\u7F6E\uFF0C\u70B9\u51FB\u53F3\u4FA7\u7684\u56FE\u6807\u8FDB\u884C\u7F16\u8F91\u6216\u5220\u9664

          ',15),a=[c];function d(i,n,p,s,h,u){return t(),o("div",null,a)}var b=e(r,[["render",d]]);export{g as __pageData,b as default}; diff --git a/assets/guide_services.md.3bc28e6a.lean.js b/assets/guide_services.md.7b6688ec.lean.js similarity index 89% rename from assets/guide_services.md.3bc28e6a.lean.js rename to assets/guide_services.md.7b6688ec.lean.js index f3899b9a..41326750 100644 --- a/assets/guide_services.md.3bc28e6a.lean.js +++ b/assets/guide_services.md.7b6688ec.lean.js @@ -1 +1 @@ -import{_ as e,c as o,o as t,a as l}from"./app.3817bf4e.js";const g='{"title":"\u4F7F\u7528\u65B9\u6CD5","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4F7F\u7528\u65B9\u6CD5","slug":"\u4F7F\u7528\u65B9\u6CD5"},{"level":2,"title":"\u5EF6\u8FDF\u53D8\u5316\u62A5\u8B66","slug":"\u5EF6\u8FDF\u53D8\u5316\u62A5\u8B66"},{"level":2,"title":"\u7BA1\u7406\u76D1\u63A7","slug":"\u7BA1\u7406\u76D1\u63A7"}],"relativePath":"guide/services.md","lastUpdated":1681026579000}',r={},c=l("",15),a=[c];function d(i,n,p,s,h,u){return t(),o("div",null,a)}var b=e(r,[["render",d]]);export{g as __pageData,b as default}; +import{_ as e,c as o,o as t,a as l}from"./app.3817bf4e.js";const g='{"title":"\u4F7F\u7528\u65B9\u6CD5","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4F7F\u7528\u65B9\u6CD5","slug":"\u4F7F\u7528\u65B9\u6CD5"},{"level":2,"title":"\u5EF6\u8FDF\u53D8\u5316\u62A5\u8B66","slug":"\u5EF6\u8FDF\u53D8\u5316\u62A5\u8B66"},{"level":2,"title":"\u7BA1\u7406\u76D1\u63A7","slug":"\u7BA1\u7406\u76D1\u63A7"}],"relativePath":"guide/services.md","lastUpdated":1682076617000}',r={},c=l("",15),a=[c];function d(i,n,p,s,h,u){return t(),o("div",null,a)}var b=e(r,[["render",d]]);export{g as __pageData,b as default}; diff --git a/assets/guide_settings.md.466421e8.js b/assets/guide_settings.md.9d745df6.js similarity index 99% rename from assets/guide_settings.md.466421e8.js rename to assets/guide_settings.md.9d745df6.js index a0065875..030d8a7d 100644 --- a/assets/guide_settings.md.466421e8.js +++ b/assets/guide_settings.md.9d745df6.js @@ -1,4 +1,4 @@ -import{_ as a,c as n,o as s,a as t}from"./app.3817bf4e.js";const g='{"title":"\u7AD9\u70B9\u6807\u9898","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u7AD9\u70B9\u6807\u9898","slug":"\u7AD9\u70B9\u6807\u9898"},{"level":2,"title":"\u7BA1\u7406\u5458\u5217\u8868","slug":"\u7BA1\u7406\u5458\u5217\u8868"},{"level":2,"title":"\u4E3B\u9898","slug":"\u4E3B\u9898"},{"level":2,"title":"Language","slug":"language"},{"level":2,"title":"\u81EA\u5B9A\u4E49\u4EE3\u7801","slug":"\u81EA\u5B9A\u4E49\u4EE3\u7801"},{"level":2,"title":"\u524D\u53F0\u67E5\u770B\u5BC6\u7801","slug":"\u524D\u53F0\u67E5\u770B\u5BC6\u7801"},{"level":2,"title":"\u672A\u63A5\u5165 CDN \u7684\u9762\u677F\u670D\u52A1\u5668\u57DF\u540D/IP","slug":"\u672A\u63A5\u5165-cdn-\u7684\u9762\u677F\u670D\u52A1\u5668\u57DF\u540D-ip"},{"level":2,"title":"IP \u53D8\u66F4\u63D0\u9192","slug":"ip-\u53D8\u66F4\u63D0\u9192"}],"relativePath":"guide/settings.md","lastUpdated":1681026579000}',p={},e=t(`

          \u7AD9\u70B9\u6807\u9898

          \u4F60\u53EF\u4EE5\u5728\u6B64\u9879\u4E2D\u81EA\u5B9A\u4E49\u4F60\u7684\u7AD9\u70B9\u6807\u9898

          \u7BA1\u7406\u5458\u5217\u8868

          • \u5982\u679C\u4F60\u4FEE\u6539\u4E86\u81EA\u5DF1\u7684 Github, Gitlab, Jihulab \u6216 Gitee \u7684\u7528\u6237\u540D\uFF0C\u53EF\u4EE5\u5728\u6B64\u9879\u4E2D\u540C\u6B65\u4FEE\u6539\uFF0C\u5426\u5219\u65E0\u6CD5\u767B\u5F55\uFF0C\u591A\u4E2A\u7528\u6237\u8BF7\u7528\u9017\u53F7\u9694\u5F00: user1,user2

          • \u5982\u9700\u66F4\u6539\u7BA1\u7406\u5458\u8D26\u6237\uFF0C\u8BF7\u524D\u5F80 /opt/nezha/dashboard/data/config.yaml \uFF0C\u91CD\u65B0\u8BBE\u7F6E\u65B0\u7684\u7BA1\u7406\u5458 Client ID \u548C Client Secret

          \u4E3B\u9898

          \u5728\u8FD9\u91CC\u9009\u62E9\u4E3B\u9875\u4E3B\u9898\uFF0C\u5982\u679C\u9009\u9879\u4E2D\u6CA1\u6709\u67D0\u4E2A\u5DF2\u5B58\u5728\u7684\u4E3B\u9898\uFF0C\u8BF7\u66F4\u65B0\u9762\u677F

          Language

          \u54EA\u5412\u76D1\u63A7\u76EE\u524D\u652F\u6301\u4EE5\u4E0B\u8BED\u8A00\uFF1A

          • \u7B80\u4F53\u4E2D\u6587
          • English
          • Espa\xF1ol


          \u6211\u4EEC\u6B22\u8FCE\u60A8\u5BF9\u7FFB\u8BD1\u8FDB\u884C\u52D8\u8BEF\u548C\u8D21\u732E\u66F4\u591A\u8BED\u8A00

          \u81EA\u5B9A\u4E49\u4EE3\u7801

          \u6539 LOGO\u3001\u6539\u8272\u8C03\u3001\u52A0\u7EDF\u8BA1\u4EE3\u7801\u7B49\u3002

          WARNING

          \u81EA\u5B9A\u4E49\u4EE3\u7801\u4EC5\u5728\u6E38\u5BA2\u9996\u9875\u751F\u6548\uFF0C\u7BA1\u7406\u9762\u677F\u4E0D\u751F\u6548
          \u7531\u4E8E\u4E0D\u540C\u4E3B\u9898\u7684\u4EE3\u7801\u4E0D\u540C\uFF0C\u5982\u786E\u9700\u4FEE\u6539\u7BA1\u7406\u9762\u677F\u4E2D\u7684\u5185\u5BB9\uFF0C\u8BF7\u81EA\u884C\u524D\u5F80 Docker \u4E2D\u7814\u7A76\u4FEE\u6539


          \u9ED8\u8BA4\u4E3B\u9898\u66F4\u6539\u8FDB\u5EA6\u6761\u989C\u8272\u793A\u4F8B

          <style>
          +import{_ as a,c as n,o as s,a as t}from"./app.3817bf4e.js";const g='{"title":"\u7AD9\u70B9\u6807\u9898","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u7AD9\u70B9\u6807\u9898","slug":"\u7AD9\u70B9\u6807\u9898"},{"level":2,"title":"\u7BA1\u7406\u5458\u5217\u8868","slug":"\u7BA1\u7406\u5458\u5217\u8868"},{"level":2,"title":"\u4E3B\u9898","slug":"\u4E3B\u9898"},{"level":2,"title":"Language","slug":"language"},{"level":2,"title":"\u81EA\u5B9A\u4E49\u4EE3\u7801","slug":"\u81EA\u5B9A\u4E49\u4EE3\u7801"},{"level":2,"title":"\u524D\u53F0\u67E5\u770B\u5BC6\u7801","slug":"\u524D\u53F0\u67E5\u770B\u5BC6\u7801"},{"level":2,"title":"\u672A\u63A5\u5165 CDN \u7684\u9762\u677F\u670D\u52A1\u5668\u57DF\u540D/IP","slug":"\u672A\u63A5\u5165-cdn-\u7684\u9762\u677F\u670D\u52A1\u5668\u57DF\u540D-ip"},{"level":2,"title":"IP \u53D8\u66F4\u63D0\u9192","slug":"ip-\u53D8\u66F4\u63D0\u9192"}],"relativePath":"guide/settings.md","lastUpdated":1682076617000}',p={},e=t(`

          \u7AD9\u70B9\u6807\u9898

          \u4F60\u53EF\u4EE5\u5728\u6B64\u9879\u4E2D\u81EA\u5B9A\u4E49\u4F60\u7684\u7AD9\u70B9\u6807\u9898

          \u7BA1\u7406\u5458\u5217\u8868

          • \u5982\u679C\u4F60\u4FEE\u6539\u4E86\u81EA\u5DF1\u7684 Github, Gitlab, Jihulab \u6216 Gitee \u7684\u7528\u6237\u540D\uFF0C\u53EF\u4EE5\u5728\u6B64\u9879\u4E2D\u540C\u6B65\u4FEE\u6539\uFF0C\u5426\u5219\u65E0\u6CD5\u767B\u5F55\uFF0C\u591A\u4E2A\u7528\u6237\u8BF7\u7528\u9017\u53F7\u9694\u5F00: user1,user2

          • \u5982\u9700\u66F4\u6539\u7BA1\u7406\u5458\u8D26\u6237\uFF0C\u8BF7\u524D\u5F80 /opt/nezha/dashboard/data/config.yaml \uFF0C\u91CD\u65B0\u8BBE\u7F6E\u65B0\u7684\u7BA1\u7406\u5458 Client ID \u548C Client Secret

          \u4E3B\u9898

          \u5728\u8FD9\u91CC\u9009\u62E9\u4E3B\u9875\u4E3B\u9898\uFF0C\u5982\u679C\u9009\u9879\u4E2D\u6CA1\u6709\u67D0\u4E2A\u5DF2\u5B58\u5728\u7684\u4E3B\u9898\uFF0C\u8BF7\u66F4\u65B0\u9762\u677F

          Language

          \u54EA\u5412\u76D1\u63A7\u76EE\u524D\u652F\u6301\u4EE5\u4E0B\u8BED\u8A00\uFF1A

          • \u7B80\u4F53\u4E2D\u6587
          • English
          • Espa\xF1ol


          \u6211\u4EEC\u6B22\u8FCE\u60A8\u5BF9\u7FFB\u8BD1\u8FDB\u884C\u52D8\u8BEF\u548C\u8D21\u732E\u66F4\u591A\u8BED\u8A00

          \u81EA\u5B9A\u4E49\u4EE3\u7801

          \u6539 LOGO\u3001\u6539\u8272\u8C03\u3001\u52A0\u7EDF\u8BA1\u4EE3\u7801\u7B49\u3002

          WARNING

          \u81EA\u5B9A\u4E49\u4EE3\u7801\u4EC5\u5728\u6E38\u5BA2\u9996\u9875\u751F\u6548\uFF0C\u7BA1\u7406\u9762\u677F\u4E0D\u751F\u6548
          \u7531\u4E8E\u4E0D\u540C\u4E3B\u9898\u7684\u4EE3\u7801\u4E0D\u540C\uFF0C\u5982\u786E\u9700\u4FEE\u6539\u7BA1\u7406\u9762\u677F\u4E2D\u7684\u5185\u5BB9\uFF0C\u8BF7\u81EA\u884C\u524D\u5F80 Docker \u4E2D\u7814\u7A76\u4FEE\u6539


          \u9ED8\u8BA4\u4E3B\u9898\u66F4\u6539\u8FDB\u5EA6\u6761\u989C\u8272\u793A\u4F8B

          <style>
           .ui.fine.progress> .bar {
               background-color: pink !important;
           }
          diff --git a/assets/guide_settings.md.466421e8.lean.js b/assets/guide_settings.md.9d745df6.lean.js
          similarity index 94%
          rename from assets/guide_settings.md.466421e8.lean.js
          rename to assets/guide_settings.md.9d745df6.lean.js
          index fa5ba340..e5b56c46 100644
          --- a/assets/guide_settings.md.466421e8.lean.js
          +++ b/assets/guide_settings.md.9d745df6.lean.js
          @@ -1 +1 @@
          -import{_ as a,c as n,o as s,a as t}from"./app.3817bf4e.js";const g='{"title":"\u7AD9\u70B9\u6807\u9898","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u7AD9\u70B9\u6807\u9898","slug":"\u7AD9\u70B9\u6807\u9898"},{"level":2,"title":"\u7BA1\u7406\u5458\u5217\u8868","slug":"\u7BA1\u7406\u5458\u5217\u8868"},{"level":2,"title":"\u4E3B\u9898","slug":"\u4E3B\u9898"},{"level":2,"title":"Language","slug":"language"},{"level":2,"title":"\u81EA\u5B9A\u4E49\u4EE3\u7801","slug":"\u81EA\u5B9A\u4E49\u4EE3\u7801"},{"level":2,"title":"\u524D\u53F0\u67E5\u770B\u5BC6\u7801","slug":"\u524D\u53F0\u67E5\u770B\u5BC6\u7801"},{"level":2,"title":"\u672A\u63A5\u5165 CDN \u7684\u9762\u677F\u670D\u52A1\u5668\u57DF\u540D/IP","slug":"\u672A\u63A5\u5165-cdn-\u7684\u9762\u677F\u670D\u52A1\u5668\u57DF\u540D-ip"},{"level":2,"title":"IP \u53D8\u66F4\u63D0\u9192","slug":"ip-\u53D8\u66F4\u63D0\u9192"}],"relativePath":"guide/settings.md","lastUpdated":1681026579000}',p={},e=t("",37),o=[e];function c(l,i,r,u,k,d){return s(),n("div",null,o)}var b=a(p,[["render",c]]);export{g as __pageData,b as default};
          +import{_ as a,c as n,o as s,a as t}from"./app.3817bf4e.js";const g='{"title":"\u7AD9\u70B9\u6807\u9898","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u7AD9\u70B9\u6807\u9898","slug":"\u7AD9\u70B9\u6807\u9898"},{"level":2,"title":"\u7BA1\u7406\u5458\u5217\u8868","slug":"\u7BA1\u7406\u5458\u5217\u8868"},{"level":2,"title":"\u4E3B\u9898","slug":"\u4E3B\u9898"},{"level":2,"title":"Language","slug":"language"},{"level":2,"title":"\u81EA\u5B9A\u4E49\u4EE3\u7801","slug":"\u81EA\u5B9A\u4E49\u4EE3\u7801"},{"level":2,"title":"\u524D\u53F0\u67E5\u770B\u5BC6\u7801","slug":"\u524D\u53F0\u67E5\u770B\u5BC6\u7801"},{"level":2,"title":"\u672A\u63A5\u5165 CDN \u7684\u9762\u677F\u670D\u52A1\u5668\u57DF\u540D/IP","slug":"\u672A\u63A5\u5165-cdn-\u7684\u9762\u677F\u670D\u52A1\u5668\u57DF\u540D-ip"},{"level":2,"title":"IP \u53D8\u66F4\u63D0\u9192","slug":"ip-\u53D8\u66F4\u63D0\u9192"}],"relativePath":"guide/settings.md","lastUpdated":1682076617000}',p={},e=t("",37),o=[e];function c(l,i,r,u,k,d){return s(),n("div",null,o)}var b=a(p,[["render",c]]);export{g as __pageData,b as default};
          diff --git a/assets/guide_tasks.md.80852d65.js b/assets/guide_tasks.md.4870a789.js
          similarity index 97%
          rename from assets/guide_tasks.md.80852d65.js
          rename to assets/guide_tasks.md.4870a789.js
          index 87379500..bc84ac05 100644
          --- a/assets/guide_tasks.md.80852d65.js
          +++ b/assets/guide_tasks.md.4870a789.js
          @@ -1 +1 @@
          -import{_ as e,c as o,o as d,a as c}from"./app.3817bf4e.js";const u='{"title":"\u4F7F\u7528\u65B9\u6CD5","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4F7F\u7528\u65B9\u6CD5","slug":"\u4F7F\u7528\u65B9\u6CD5"},{"level":2,"title":"\u7BA1\u7406\u4EFB\u52A1","slug":"\u7BA1\u7406\u4EFB\u52A1"},{"level":2,"title":"\u5E38\u89C1\u95EE\u9898","slug":"\u5E38\u89C1\u95EE\u9898"}],"relativePath":"guide/tasks.md","lastUpdated":1681026579000}',r={},t=c('

          \u5728\u4EFB\u52A1\u533A\u57DF\u4E2D\uFF0C\u53EF\u4EE5\u8BBE\u7F6E\u8BA1\u5212\u4EFB\u52A1\uFF0C\u89E6\u53D1\u4EFB\u52A1\uFF0C\u591A\u670D\u52A1\u5668\u6279\u91CF\u6267\u884C\u4EFB\u52A1

          \u54EA\u5412\u76D1\u63A7\u652F\u6301\u63A8\u9001\u547D\u4EE4\u5230 Agent \u6267\u884C\uFF0C\u56E0\u6B64\u6B64\u529F\u80FD\u975E\u5E38\u7075\u6D3B\uFF0C\u4F7F\u7528\u6B64\u529F\u80FD\u53EF\u4EE5\u5B9A\u671F\u7ED3\u5408 restic\u3001rclone \u7ED9\u670D\u52A1\u5668\u5907\u4EFD\uFF0C\u5B9A\u671F\u91CD\u542F\u67D0\u9879\u670D\u52A1\u6765\u91CD\u7F6E\u7F51\u7EDC\u8FDE\u63A5\u3002\u4E5F\u53EF\u4EE5\u914D\u5408\u62A5\u8B66\u901A\u77E5\uFF0C\u5728\u89E6\u53D1\u62A5\u8B66\u65F6\u6267\u884C\u67D0\u9879\u4EFB\u52A1\uFF0C\u5982 CPU \u5728\u957F\u65F6\u671F\u5904\u4E8E\u9AD8\u5360\u7528\u7684\u60C5\u51B5\u4E0B\u8FD0\u884C\u67D0\u4E2A\u811A\u672C\u3002

          \u4F7F\u7528\u65B9\u6CD5

          \u8FDB\u5165\u7BA1\u7406\u9762\u677F\u7684 \u201C\u4EFB\u52A1\u201D \u9875\uFF0C\u70B9\u51FB \u201C\u6DFB\u52A0\u8BA1\u5212\u4EFB\u52A1\u201D
          \u6DFB\u52A0\u8BA1\u5212\u4EFB\u52A1\u4F60\u9700\u8981\u586B\u5165\u4EE5\u4E0B\u53C2\u6570\uFF1A

          • \u540D\u79F0 - \u81EA\u5B9A\u4E49\u4E00\u4E2A\u4EFB\u52A1\u540D\u79F0

          • \u4EFB\u52A1\u7C7B\u578B - \u9009\u62E9\u4EFB\u52A1\u7684\u7C7B\u578B
            \u8BA1\u5212\u4EFB\u52A1 - \u6309\u4E0B\u65B9\u8BBE\u7F6E\u7684\u8BA1\u5212\u65F6\u95F4\uFF0C\u5468\u671F\u6027\u6267\u884C\u4EFB\u52A1
            \u89E6\u53D1\u4EFB\u52A1 - \u4EC5\u88AB API \u6216\u62A5\u8B66\u89C4\u5219\u89E6\u53D1\u7684\u4EFB\u52A1\uFF0C\u6BCF\u6B21\u89E6\u53D1\u6267\u884C\u4E00\u6B21

          • \u8BA1\u5212 - \uFF08\u4F7F\u7528\u89E6\u53D1\u4EFB\u52A1\u7C7B\u578B\u65F6\u4E0D\u751F\u6548\uFF09\u8BBE\u7F6E\u8BA1\u5212\u65F6\u95F4\uFF0C\u65F6\u95F4\u7684\u683C\u5F0F\u4E3A\uFF1A * * * * * * \u5206\u522B\u5BF9\u5E94 \u79D2 \u5206 \u65F6 \u5929 \u6708 \u661F\u671F\uFF0C\u8BE6\u60C5\u89C1\u8BA1\u5212\u8868\u8FBE\u5F0F\u683C\u5F0F
            \u5982\uFF1A0 0 3 * * * \u5BF9\u5E94\u4E3A \u6BCF\u59293\u70B9

          • \u547D\u4EE4 - \u4F60\u53EF\u4EE5\u5728\u8FD9\u91CC\u8BBE\u7F6E\u9700\u8981\u6267\u884C\u7684\u547D\u4EE4\uFF0C\u5C31\u50CF\u5199 Shell/Bat \u811A\u672C\u4E00\u6837\uFF0C\u4F46\u662F\u4E0D\u63A8\u8350\u6362\u884C\uFF0C\u591A\u4E2A\u547D\u4EE4\u4F7F\u7528 &&/& \u8FDE\u63A5
            \u4F8B\u5982\u6267\u884C\u5B9A\u671F\u91CD\u542F\u547D\u4EE4\uFF0C\u53EF\u4EE5\u5728\u8FD9\u91CC\u8F93\u5165 reboot

          • \u8986\u76D6\u8303\u56F4 \u548C \u7279\u5B9A\u670D\u52A1\u5668 - \u8DDF\u201C\u670D\u52A1\u201D\u9875\u4E2D\u7684\u8BBE\u7F6E\u7C7B\u4F3C\uFF0C\u9009\u62E9\u89C4\u5219\u6765\u786E\u5B9A\u54EA\u4E9B Agent \u6267\u884C\u8BA1\u5212\u4EFB\u52A1
            \u4F7F\u7528\u89E6\u53D1\u4EFB\u52A1\u7C7B\u578B\u65F6\uFF0C\u53EF\u9009\u62E9\u7531\u89E6\u53D1\u7684\u670D\u52A1\u5668\u6267\u884C

          • \u901A\u77E5\u65B9\u5F0F\u7EC4 - \u9009\u62E9\u4F60\u5DF2\u7ECF\u5728 \u201C\u62A5\u8B66\u201D \u9875\u8BBE\u7F6E\u597D\u7684\u901A\u77E5\u65B9\u5F0F\uFF0C\u70B9\u51FB\u8FD9\u91CC\u4E86\u89E3\u8BE6\u60C5

          • \u63A8\u9001\u6210\u529F\u7684\u6D88\u606F - \u52FE\u9009\u6B64\u9879\uFF0C\u4EFB\u52A1\u6267\u884C\u6210\u529F\u540E\u4F1A\u89E6\u53D1\u6D88\u606F\u901A\u77E5

          \u7BA1\u7406\u4EFB\u52A1

          \u5982\u9700\u5BF9\u5DF2\u6709\u7684\u8BA1\u5212\u4EFB\u52A1\u8FDB\u884C\u7BA1\u7406\uFF0C\u53EF\u4EE5\u524D\u5F80\u7BA1\u7406\u9762\u677F\u4E2D\u7684 \u201C\u4EFB\u52A1\u201D \u9875
          \u9009\u62E9\u4E00\u6761\u4EFB\u52A1\u914D\u7F6E\uFF0C\u53F3\u4FA7\u7684\u4E09\u4E2A\u56FE\u6807\uFF0C\u5206\u522B\u662F\uFF1A

          • \u7ACB\u5373\u6267\u884C - \u70B9\u51FB\u540E\u5C06\u5FFD\u7565\u8BA1\u5212\u65F6\u95F4\uFF0C\u7ACB\u523B\u6267\u884C\u4EFB\u52A1
          • \u7F16\u8F91 - \u70B9\u51FB\u53EF\u4EE5\u4FEE\u6539\u4EFB\u52A1\u914D\u7F6E
          • \u5220\u9664 - \u5220\u9664\u8FD9\u6761\u8BA1\u5212\u4EFB\u52A1

          \u5E38\u89C1\u95EE\u9898

          1. xxx \u547D\u4EE4\u627E\u4E0D\u5230
            \u5982\u679C\u8FD0\u884C\u5931\u8D25\uFF0C\u63D0\u793A xxx \u547D\u4EE4\u627E\u4E0D\u5230\uFF0C\u53EF\u80FD\u662F PATH \u73AF\u5883\u53D8\u91CF\u7684\u95EE\u9898\uFF0CLinux \u670D\u52A1\u5668\u5728\u547D\u4EE4\u5F00\u5934\u52A0\u5165 source ~/.bashrc \u6216\u8005\u4F7F\u7528\u7EDD\u5BF9\u8DEF\u5F84\u6267\u884C
          ',10),a=[t];function i(l,s,n,p,h,_){return d(),o("div",null,a)}var g=e(r,[["render",i]]);export{u as __pageData,g as default}; +import{_ as e,c as o,o as d,a as c}from"./app.3817bf4e.js";const u='{"title":"\u4F7F\u7528\u65B9\u6CD5","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4F7F\u7528\u65B9\u6CD5","slug":"\u4F7F\u7528\u65B9\u6CD5"},{"level":2,"title":"\u7BA1\u7406\u4EFB\u52A1","slug":"\u7BA1\u7406\u4EFB\u52A1"},{"level":2,"title":"\u5E38\u89C1\u95EE\u9898","slug":"\u5E38\u89C1\u95EE\u9898"}],"relativePath":"guide/tasks.md","lastUpdated":1682076617000}',r={},t=c('

          \u5728\u4EFB\u52A1\u533A\u57DF\u4E2D\uFF0C\u53EF\u4EE5\u8BBE\u7F6E\u8BA1\u5212\u4EFB\u52A1\uFF0C\u89E6\u53D1\u4EFB\u52A1\uFF0C\u591A\u670D\u52A1\u5668\u6279\u91CF\u6267\u884C\u4EFB\u52A1

          \u54EA\u5412\u76D1\u63A7\u652F\u6301\u63A8\u9001\u547D\u4EE4\u5230 Agent \u6267\u884C\uFF0C\u56E0\u6B64\u6B64\u529F\u80FD\u975E\u5E38\u7075\u6D3B\uFF0C\u4F7F\u7528\u6B64\u529F\u80FD\u53EF\u4EE5\u5B9A\u671F\u7ED3\u5408 restic\u3001rclone \u7ED9\u670D\u52A1\u5668\u5907\u4EFD\uFF0C\u5B9A\u671F\u91CD\u542F\u67D0\u9879\u670D\u52A1\u6765\u91CD\u7F6E\u7F51\u7EDC\u8FDE\u63A5\u3002\u4E5F\u53EF\u4EE5\u914D\u5408\u62A5\u8B66\u901A\u77E5\uFF0C\u5728\u89E6\u53D1\u62A5\u8B66\u65F6\u6267\u884C\u67D0\u9879\u4EFB\u52A1\uFF0C\u5982 CPU \u5728\u957F\u65F6\u671F\u5904\u4E8E\u9AD8\u5360\u7528\u7684\u60C5\u51B5\u4E0B\u8FD0\u884C\u67D0\u4E2A\u811A\u672C\u3002

          \u4F7F\u7528\u65B9\u6CD5

          \u8FDB\u5165\u7BA1\u7406\u9762\u677F\u7684 \u201C\u4EFB\u52A1\u201D \u9875\uFF0C\u70B9\u51FB \u201C\u6DFB\u52A0\u8BA1\u5212\u4EFB\u52A1\u201D
          \u6DFB\u52A0\u8BA1\u5212\u4EFB\u52A1\u4F60\u9700\u8981\u586B\u5165\u4EE5\u4E0B\u53C2\u6570\uFF1A

          • \u540D\u79F0 - \u81EA\u5B9A\u4E49\u4E00\u4E2A\u4EFB\u52A1\u540D\u79F0

          • \u4EFB\u52A1\u7C7B\u578B - \u9009\u62E9\u4EFB\u52A1\u7684\u7C7B\u578B
            \u8BA1\u5212\u4EFB\u52A1 - \u6309\u4E0B\u65B9\u8BBE\u7F6E\u7684\u8BA1\u5212\u65F6\u95F4\uFF0C\u5468\u671F\u6027\u6267\u884C\u4EFB\u52A1
            \u89E6\u53D1\u4EFB\u52A1 - \u4EC5\u88AB API \u6216\u62A5\u8B66\u89C4\u5219\u89E6\u53D1\u7684\u4EFB\u52A1\uFF0C\u6BCF\u6B21\u89E6\u53D1\u6267\u884C\u4E00\u6B21

          • \u8BA1\u5212 - \uFF08\u4F7F\u7528\u89E6\u53D1\u4EFB\u52A1\u7C7B\u578B\u65F6\u4E0D\u751F\u6548\uFF09\u8BBE\u7F6E\u8BA1\u5212\u65F6\u95F4\uFF0C\u65F6\u95F4\u7684\u683C\u5F0F\u4E3A\uFF1A * * * * * * \u5206\u522B\u5BF9\u5E94 \u79D2 \u5206 \u65F6 \u5929 \u6708 \u661F\u671F\uFF0C\u8BE6\u60C5\u89C1\u8BA1\u5212\u8868\u8FBE\u5F0F\u683C\u5F0F
            \u5982\uFF1A0 0 3 * * * \u5BF9\u5E94\u4E3A \u6BCF\u59293\u70B9

          • \u547D\u4EE4 - \u4F60\u53EF\u4EE5\u5728\u8FD9\u91CC\u8BBE\u7F6E\u9700\u8981\u6267\u884C\u7684\u547D\u4EE4\uFF0C\u5C31\u50CF\u5199 Shell/Bat \u811A\u672C\u4E00\u6837\uFF0C\u4F46\u662F\u4E0D\u63A8\u8350\u6362\u884C\uFF0C\u591A\u4E2A\u547D\u4EE4\u4F7F\u7528 &&/& \u8FDE\u63A5
            \u4F8B\u5982\u6267\u884C\u5B9A\u671F\u91CD\u542F\u547D\u4EE4\uFF0C\u53EF\u4EE5\u5728\u8FD9\u91CC\u8F93\u5165 reboot

          • \u8986\u76D6\u8303\u56F4 \u548C \u7279\u5B9A\u670D\u52A1\u5668 - \u8DDF\u201C\u670D\u52A1\u201D\u9875\u4E2D\u7684\u8BBE\u7F6E\u7C7B\u4F3C\uFF0C\u9009\u62E9\u89C4\u5219\u6765\u786E\u5B9A\u54EA\u4E9B Agent \u6267\u884C\u8BA1\u5212\u4EFB\u52A1
            \u4F7F\u7528\u89E6\u53D1\u4EFB\u52A1\u7C7B\u578B\u65F6\uFF0C\u53EF\u9009\u62E9\u7531\u89E6\u53D1\u7684\u670D\u52A1\u5668\u6267\u884C

          • \u901A\u77E5\u65B9\u5F0F\u7EC4 - \u9009\u62E9\u4F60\u5DF2\u7ECF\u5728 \u201C\u62A5\u8B66\u201D \u9875\u8BBE\u7F6E\u597D\u7684\u901A\u77E5\u65B9\u5F0F\uFF0C\u70B9\u51FB\u8FD9\u91CC\u4E86\u89E3\u8BE6\u60C5

          • \u63A8\u9001\u6210\u529F\u7684\u6D88\u606F - \u52FE\u9009\u6B64\u9879\uFF0C\u4EFB\u52A1\u6267\u884C\u6210\u529F\u540E\u4F1A\u89E6\u53D1\u6D88\u606F\u901A\u77E5

          \u7BA1\u7406\u4EFB\u52A1

          \u5982\u9700\u5BF9\u5DF2\u6709\u7684\u8BA1\u5212\u4EFB\u52A1\u8FDB\u884C\u7BA1\u7406\uFF0C\u53EF\u4EE5\u524D\u5F80\u7BA1\u7406\u9762\u677F\u4E2D\u7684 \u201C\u4EFB\u52A1\u201D \u9875
          \u9009\u62E9\u4E00\u6761\u4EFB\u52A1\u914D\u7F6E\uFF0C\u53F3\u4FA7\u7684\u4E09\u4E2A\u56FE\u6807\uFF0C\u5206\u522B\u662F\uFF1A

          • \u7ACB\u5373\u6267\u884C - \u70B9\u51FB\u540E\u5C06\u5FFD\u7565\u8BA1\u5212\u65F6\u95F4\uFF0C\u7ACB\u523B\u6267\u884C\u4EFB\u52A1
          • \u7F16\u8F91 - \u70B9\u51FB\u53EF\u4EE5\u4FEE\u6539\u4EFB\u52A1\u914D\u7F6E
          • \u5220\u9664 - \u5220\u9664\u8FD9\u6761\u8BA1\u5212\u4EFB\u52A1

          \u5E38\u89C1\u95EE\u9898

          1. xxx \u547D\u4EE4\u627E\u4E0D\u5230
            \u5982\u679C\u8FD0\u884C\u5931\u8D25\uFF0C\u63D0\u793A xxx \u547D\u4EE4\u627E\u4E0D\u5230\uFF0C\u53EF\u80FD\u662F PATH \u73AF\u5883\u53D8\u91CF\u7684\u95EE\u9898\uFF0CLinux \u670D\u52A1\u5668\u5728\u547D\u4EE4\u5F00\u5934\u52A0\u5165 source ~/.bashrc \u6216\u8005\u4F7F\u7528\u7EDD\u5BF9\u8DEF\u5F84\u6267\u884C
          ',10),a=[t];function i(l,s,n,p,h,_){return d(),o("div",null,a)}var g=e(r,[["render",i]]);export{u as __pageData,g as default}; diff --git a/assets/guide_tasks.md.80852d65.lean.js b/assets/guide_tasks.md.4870a789.lean.js similarity index 78% rename from assets/guide_tasks.md.80852d65.lean.js rename to assets/guide_tasks.md.4870a789.lean.js index c082a2e1..01db8992 100644 --- a/assets/guide_tasks.md.80852d65.lean.js +++ b/assets/guide_tasks.md.4870a789.lean.js @@ -1 +1 @@ -import{_ as e,c as o,o as d,a as c}from"./app.3817bf4e.js";const u='{"title":"\u4F7F\u7528\u65B9\u6CD5","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4F7F\u7528\u65B9\u6CD5","slug":"\u4F7F\u7528\u65B9\u6CD5"},{"level":2,"title":"\u7BA1\u7406\u4EFB\u52A1","slug":"\u7BA1\u7406\u4EFB\u52A1"},{"level":2,"title":"\u5E38\u89C1\u95EE\u9898","slug":"\u5E38\u89C1\u95EE\u9898"}],"relativePath":"guide/tasks.md","lastUpdated":1681026579000}',r={},t=c("",10),a=[t];function i(l,s,n,p,h,_){return d(),o("div",null,a)}var g=e(r,[["render",i]]);export{u as __pageData,g as default}; +import{_ as e,c as o,o as d,a as c}from"./app.3817bf4e.js";const u='{"title":"\u4F7F\u7528\u65B9\u6CD5","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4F7F\u7528\u65B9\u6CD5","slug":"\u4F7F\u7528\u65B9\u6CD5"},{"level":2,"title":"\u7BA1\u7406\u4EFB\u52A1","slug":"\u7BA1\u7406\u4EFB\u52A1"},{"level":2,"title":"\u5E38\u89C1\u95EE\u9898","slug":"\u5E38\u89C1\u95EE\u9898"}],"relativePath":"guide/tasks.md","lastUpdated":1682076617000}',r={},t=c("",10),a=[t];function i(l,s,n,p,h,_){return d(),o("div",null,a)}var g=e(r,[["render",i]]);export{u as __pageData,g as default}; diff --git a/assets/index.md.60a32a4a.js b/assets/index.md.12d2b26b.js similarity index 96% rename from assets/index.md.60a32a4a.js rename to assets/index.md.12d2b26b.js index 1b404e94..18648670 100644 --- a/assets/index.md.60a32a4a.js +++ b/assets/index.md.12d2b26b.js @@ -1 +1 @@ -import{_ as a,c as r,o as s,b as e,d as t}from"./app.3817bf4e.js";const f='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://raw.githubusercontent.com/naiba/nezha/master/resource/static/brand.svg","heroText":"\u54EA\u5412\u76D1\u63A7","tagline":"\u4E00\u4E2A\u5F00\u6E90\u3001\u8F7B\u91CF\u7684\u670D\u52A1\u5668\u548C\u7F51\u7AD9\u76D1\u63A7\u3001\u8FD0\u7EF4\u5DE5\u5177","actionText":"\u5F00\u59CB\u4F7F\u7528 \u2192","actionLink":"/guide/dashboard","features":[{"title":"\u4E00\u952E\u5B89\u88C5","details":"\u652F\u6301\u4E00\u952E\u811A\u672C\u5B89\u88C5\u9762\u677F\u548C\u76D1\u63A7\u670D\u52A1\uFF0C\u8F7B\u677E\u4F7F\u7528\uFF1BLinux\u3001Windows\u3001MacOS\u3001OpenWRT\u7B49\u4E3B\u6D41\u7CFB\u7EDF\u5747\u53D7\u652F\u6301"},{"title":"\u968F\u65F6\u76D1\u63A7","details":"\u652F\u6301\u540C\u65F6\u76D1\u63A7\u591A\u4E2A\u670D\u52A1\u5668\u7684\u7CFB\u7EDF\u72B6\u6001\uFF0C\u652F\u6301\u76D1\u63A7\u7F51\u9875\u3001\u7AEF\u53E3\u3001SSL\u8BC1\u4E66\u72B6\u6001\uFF1B\u652F\u6301\u6545\u969C\u3001\u6D41\u91CF\u7B49\u72B6\u6001\u62A5\u8B66\uFF0C\u652F\u6301\u591A\u79CD\u901A\u77E5\u65B9\u5F0F\uFF08Telegram\u3001\u90AE\u4EF6\u3001\u5FAE\u4FE1\u7B49\uFF09"},{"title":"\u8F7B\u91CF\u8FD0\u7EF4","details":"\u652F\u6301\u5728\u7EBFSSH\uFF0C\u652F\u6301\u6D41\u91CF\u5FAA\u73AF\u76D1\u63A7\uFF0C\u652F\u6301\u8BBE\u7F6E\u5B9A\u65F6\u4EFB\u52A1\u3001\u670D\u52A1\u5668\u6279\u91CF\u6267\u884C\u4EFB\u52A1"}],"footer":"Copyright \xA9 2022-present Nezhahq"},"headers":[],"relativePath":"index.md","lastUpdated":1681026579000}',o={},n=e("p",null,[e("br"),t("\u672C\u4F5C\u54C1\u91C7\u7528 "),e("a",{rel:"license",href:"http://creativecommons.org/licenses/by-nc-sa/4.0/"},"\u77E5\u8BC6\u5171\u4EAB\u7F72\u540D-\u975E\u5546\u4E1A\u6027\u4F7F\u7528-\u76F8\u540C\u65B9\u5F0F\u5171\u4EAB 4.0 \u56FD\u9645\u8BB8\u53EF\u534F\u8BAE"),t(" \u8FDB\u884C\u8BB8\u53EF\u3002")],-1),i=[n];function c(d,l,h,p,_,m){return s(),r("div",null,i)}var g=a(o,[["render",c]]);export{f as __pageData,g as default}; +import{_ as a,c as r,o as s,b as e,d as t}from"./app.3817bf4e.js";const f='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://raw.githubusercontent.com/naiba/nezha/master/resource/static/brand.svg","heroText":"\u54EA\u5412\u76D1\u63A7","tagline":"\u4E00\u4E2A\u5F00\u6E90\u3001\u8F7B\u91CF\u7684\u670D\u52A1\u5668\u548C\u7F51\u7AD9\u76D1\u63A7\u3001\u8FD0\u7EF4\u5DE5\u5177","actionText":"\u5F00\u59CB\u4F7F\u7528 \u2192","actionLink":"/guide/dashboard","features":[{"title":"\u4E00\u952E\u5B89\u88C5","details":"\u652F\u6301\u4E00\u952E\u811A\u672C\u5B89\u88C5\u9762\u677F\u548C\u76D1\u63A7\u670D\u52A1\uFF0C\u8F7B\u677E\u4F7F\u7528\uFF1BLinux\u3001Windows\u3001MacOS\u3001OpenWRT\u7B49\u4E3B\u6D41\u7CFB\u7EDF\u5747\u53D7\u652F\u6301"},{"title":"\u968F\u65F6\u76D1\u63A7","details":"\u652F\u6301\u540C\u65F6\u76D1\u63A7\u591A\u4E2A\u670D\u52A1\u5668\u7684\u7CFB\u7EDF\u72B6\u6001\uFF0C\u652F\u6301\u76D1\u63A7\u7F51\u9875\u3001\u7AEF\u53E3\u3001SSL\u8BC1\u4E66\u72B6\u6001\uFF1B\u652F\u6301\u6545\u969C\u3001\u6D41\u91CF\u7B49\u72B6\u6001\u62A5\u8B66\uFF0C\u652F\u6301\u591A\u79CD\u901A\u77E5\u65B9\u5F0F\uFF08Telegram\u3001\u90AE\u4EF6\u3001\u5FAE\u4FE1\u7B49\uFF09"},{"title":"\u8F7B\u91CF\u8FD0\u7EF4","details":"\u652F\u6301\u5728\u7EBFSSH\uFF0C\u652F\u6301\u6D41\u91CF\u5FAA\u73AF\u76D1\u63A7\uFF0C\u652F\u6301\u8BBE\u7F6E\u5B9A\u65F6\u4EFB\u52A1\u3001\u670D\u52A1\u5668\u6279\u91CF\u6267\u884C\u4EFB\u52A1"}],"footer":"Copyright \xA9 2022-present Nezhahq"},"headers":[],"relativePath":"index.md","lastUpdated":1682076617000}',o={},n=e("p",null,[e("br"),t("\u672C\u4F5C\u54C1\u91C7\u7528 "),e("a",{rel:"license",href:"http://creativecommons.org/licenses/by-nc-sa/4.0/"},"\u77E5\u8BC6\u5171\u4EAB\u7F72\u540D-\u975E\u5546\u4E1A\u6027\u4F7F\u7528-\u76F8\u540C\u65B9\u5F0F\u5171\u4EAB 4.0 \u56FD\u9645\u8BB8\u53EF\u534F\u8BAE"),t(" \u8FDB\u884C\u8BB8\u53EF\u3002")],-1),i=[n];function c(d,l,h,p,_,m){return s(),r("div",null,i)}var g=a(o,[["render",c]]);export{f as __pageData,g as default}; diff --git a/assets/index.md.60a32a4a.lean.js b/assets/index.md.12d2b26b.lean.js similarity index 96% rename from assets/index.md.60a32a4a.lean.js rename to assets/index.md.12d2b26b.lean.js index 1b404e94..18648670 100644 --- a/assets/index.md.60a32a4a.lean.js +++ b/assets/index.md.12d2b26b.lean.js @@ -1 +1 @@ -import{_ as a,c as r,o as s,b as e,d as t}from"./app.3817bf4e.js";const f='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://raw.githubusercontent.com/naiba/nezha/master/resource/static/brand.svg","heroText":"\u54EA\u5412\u76D1\u63A7","tagline":"\u4E00\u4E2A\u5F00\u6E90\u3001\u8F7B\u91CF\u7684\u670D\u52A1\u5668\u548C\u7F51\u7AD9\u76D1\u63A7\u3001\u8FD0\u7EF4\u5DE5\u5177","actionText":"\u5F00\u59CB\u4F7F\u7528 \u2192","actionLink":"/guide/dashboard","features":[{"title":"\u4E00\u952E\u5B89\u88C5","details":"\u652F\u6301\u4E00\u952E\u811A\u672C\u5B89\u88C5\u9762\u677F\u548C\u76D1\u63A7\u670D\u52A1\uFF0C\u8F7B\u677E\u4F7F\u7528\uFF1BLinux\u3001Windows\u3001MacOS\u3001OpenWRT\u7B49\u4E3B\u6D41\u7CFB\u7EDF\u5747\u53D7\u652F\u6301"},{"title":"\u968F\u65F6\u76D1\u63A7","details":"\u652F\u6301\u540C\u65F6\u76D1\u63A7\u591A\u4E2A\u670D\u52A1\u5668\u7684\u7CFB\u7EDF\u72B6\u6001\uFF0C\u652F\u6301\u76D1\u63A7\u7F51\u9875\u3001\u7AEF\u53E3\u3001SSL\u8BC1\u4E66\u72B6\u6001\uFF1B\u652F\u6301\u6545\u969C\u3001\u6D41\u91CF\u7B49\u72B6\u6001\u62A5\u8B66\uFF0C\u652F\u6301\u591A\u79CD\u901A\u77E5\u65B9\u5F0F\uFF08Telegram\u3001\u90AE\u4EF6\u3001\u5FAE\u4FE1\u7B49\uFF09"},{"title":"\u8F7B\u91CF\u8FD0\u7EF4","details":"\u652F\u6301\u5728\u7EBFSSH\uFF0C\u652F\u6301\u6D41\u91CF\u5FAA\u73AF\u76D1\u63A7\uFF0C\u652F\u6301\u8BBE\u7F6E\u5B9A\u65F6\u4EFB\u52A1\u3001\u670D\u52A1\u5668\u6279\u91CF\u6267\u884C\u4EFB\u52A1"}],"footer":"Copyright \xA9 2022-present Nezhahq"},"headers":[],"relativePath":"index.md","lastUpdated":1681026579000}',o={},n=e("p",null,[e("br"),t("\u672C\u4F5C\u54C1\u91C7\u7528 "),e("a",{rel:"license",href:"http://creativecommons.org/licenses/by-nc-sa/4.0/"},"\u77E5\u8BC6\u5171\u4EAB\u7F72\u540D-\u975E\u5546\u4E1A\u6027\u4F7F\u7528-\u76F8\u540C\u65B9\u5F0F\u5171\u4EAB 4.0 \u56FD\u9645\u8BB8\u53EF\u534F\u8BAE"),t(" \u8FDB\u884C\u8BB8\u53EF\u3002")],-1),i=[n];function c(d,l,h,p,_,m){return s(),r("div",null,i)}var g=a(o,[["render",c]]);export{f as __pageData,g as default}; +import{_ as a,c as r,o as s,b as e,d as t}from"./app.3817bf4e.js";const f='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://raw.githubusercontent.com/naiba/nezha/master/resource/static/brand.svg","heroText":"\u54EA\u5412\u76D1\u63A7","tagline":"\u4E00\u4E2A\u5F00\u6E90\u3001\u8F7B\u91CF\u7684\u670D\u52A1\u5668\u548C\u7F51\u7AD9\u76D1\u63A7\u3001\u8FD0\u7EF4\u5DE5\u5177","actionText":"\u5F00\u59CB\u4F7F\u7528 \u2192","actionLink":"/guide/dashboard","features":[{"title":"\u4E00\u952E\u5B89\u88C5","details":"\u652F\u6301\u4E00\u952E\u811A\u672C\u5B89\u88C5\u9762\u677F\u548C\u76D1\u63A7\u670D\u52A1\uFF0C\u8F7B\u677E\u4F7F\u7528\uFF1BLinux\u3001Windows\u3001MacOS\u3001OpenWRT\u7B49\u4E3B\u6D41\u7CFB\u7EDF\u5747\u53D7\u652F\u6301"},{"title":"\u968F\u65F6\u76D1\u63A7","details":"\u652F\u6301\u540C\u65F6\u76D1\u63A7\u591A\u4E2A\u670D\u52A1\u5668\u7684\u7CFB\u7EDF\u72B6\u6001\uFF0C\u652F\u6301\u76D1\u63A7\u7F51\u9875\u3001\u7AEF\u53E3\u3001SSL\u8BC1\u4E66\u72B6\u6001\uFF1B\u652F\u6301\u6545\u969C\u3001\u6D41\u91CF\u7B49\u72B6\u6001\u62A5\u8B66\uFF0C\u652F\u6301\u591A\u79CD\u901A\u77E5\u65B9\u5F0F\uFF08Telegram\u3001\u90AE\u4EF6\u3001\u5FAE\u4FE1\u7B49\uFF09"},{"title":"\u8F7B\u91CF\u8FD0\u7EF4","details":"\u652F\u6301\u5728\u7EBFSSH\uFF0C\u652F\u6301\u6D41\u91CF\u5FAA\u73AF\u76D1\u63A7\uFF0C\u652F\u6301\u8BBE\u7F6E\u5B9A\u65F6\u4EFB\u52A1\u3001\u670D\u52A1\u5668\u6279\u91CF\u6267\u884C\u4EFB\u52A1"}],"footer":"Copyright \xA9 2022-present Nezhahq"},"headers":[],"relativePath":"index.md","lastUpdated":1682076617000}',o={},n=e("p",null,[e("br"),t("\u672C\u4F5C\u54C1\u91C7\u7528 "),e("a",{rel:"license",href:"http://creativecommons.org/licenses/by-nc-sa/4.0/"},"\u77E5\u8BC6\u5171\u4EAB\u7F72\u540D-\u975E\u5546\u4E1A\u6027\u4F7F\u7528-\u76F8\u540C\u65B9\u5F0F\u5171\u4EAB 4.0 \u56FD\u9645\u8BB8\u53EF\u534F\u8BAE"),t(" \u8FDB\u884C\u8BB8\u53EF\u3002")],-1),i=[n];function c(d,l,h,p,_,m){return s(),r("div",null,i)}var g=a(o,[["render",c]]);export{f as __pageData,g as default}; diff --git a/case/case1.html b/case/case1.html index 6081cc88..fe9494d3 100644 --- a/case/case1.html +++ b/case/case1.html @@ -8,14 +8,14 @@ - +

          自建一个TG机器人来查询服务器信息

          贡献者:

          项目地址:nezha_api_tgbot

          镜像备份(非实时更新):nezha_api_tgbot
          机器人可以通过API向面板请求服务器状态信息,得到信息后发送给用户
          你可以搭建此机器人来方便地查看指定服务器的当前状态且不需要打开面板

          - + diff --git a/case/case2.html b/case/case2.html index 297091f3..d234e10d 100644 --- a/case/case2.html +++ b/case/case2.html @@ -9,14 +9,14 @@ - +

          在iOS/MacOS中使用Siri运行快捷指令查询服务器状态

          当前版本:V1.0
          贡献者:

          获取快捷指令

          使用iPhone或iPad扫描以下二维码,获取快捷指令



          MacOS用户请访问这里,获取快捷指令

          使用说明

          • 获取快捷指令后,打开并编辑快捷指令
          • 分别在三个文本框中填入 面板URLAPI Token服务器ID
          • 保存编辑并测试运行,能获取结果则表示设置正确
          • 修改快捷指令的名称,如修改为:“一号服务器状态”,保存后便可使用Siri指令:“嘿Siri,一号服务器状态”来获取服务器状态

          WARNING

          每个快捷指令只能监控一台服务器,如需要监控多个服务器,请多次复制此快捷指令并分别配置,然后分别修改快捷指令名称,如;一号服务器状态、二号服务器状态等

          - + diff --git a/case/case3.html b/case/case3.html index f69543d7..76170274 100644 --- a/case/case3.html +++ b/case/case3.html @@ -8,14 +8,14 @@ - +

          自建使用 API 来进行查询,且支持多语言的 Telegram 查询机器人

          贡献者:

          项目地址:nezha_telegram_bot

          镜像备份(非实时更新):nezha_telegram_bot

          项目特色

          开源Telegram机器人项目,可以基于API实时查询哪吒面板的服务器信息。

          • [x] 支持中/英多语言切换
          • [x] 支持分组统计(CPU、磁盘、内存、上下行速度、流量统计等)
          • [x] 支持实时刷新单个服务器数据
          • [x] 支持键盘互动查询
          • [x] 支持命令直接查询
          • [x] 增加群聊判断,限制群聊可发送命令
          • [x] 增加群聊内5秒自动删除信息
          • [x] 支持docker部署

          命令列表

          命令功能仅私聊
          start开始使用键盘主菜单✔️
          help帮助列表
          add添加面板链接和token✔️
          url添加面板链接✔️
          token添加面板token✔️
          info获取保存的面板链接和token✔️
          delete删除保存的面板链接和token✔️
          id命令后面添加整数id,来进行单个服务器信息查询(私聊带刷新按钮,群聊不带)
          all查询所有服务器的统计信息
          search在服务器名字中搜索关键字(支持多个,用空格分开)

          效果展示

          - + diff --git a/case/case4.html b/case/case4.html index fc63b146..d941a7bd 100644 --- a/case/case4.html +++ b/case/case4.html @@ -8,14 +8,14 @@ - +

          重磅推荐!一秒拥有宇宙级算力!让你在人前,不!再!自!卑





          还在因为自己的小鸡配置太差被朋友嘲笑吗?
          还在想参加以针会友活动却因为小鸡不够排面而觉得羞耻吗?
          还在因为在哪吒TG群里机器人排名太低而觉得自己低人一等吗?


          今天开始!找回自信!

          来自南京的名老中医 dysf888 独家秘方!让你找回男人本色,激情畅享!
          安装 Fake Agent,可随意修改服务器监测数据的倍数上传到 Dashboard,让你的小鸡 脱!胎!换!骨! 让你在 MJJ 面前起来!

          镜像备份(非实时更新):Fake Agent

          哪吒监控创始人奶爸也在用:


          男人用了都说好:



          - + diff --git a/case/case5.html b/case/case5.html new file mode 100644 index 00000000..ff62bd2d --- /dev/null +++ b/case/case5.html @@ -0,0 +1,60 @@ + + + + + + Nezha server over Argo tunnel | 哪吒监控 + + + + + + + + + + +

          Nezha server over Argo tunnel

          使用 Argo 隧道的哪吒服务端 贡献者:

          项目地址:Argo-Nezha-Service-Container


          目录


          项目特点:

          • 适用范围更广 --- 只要能连通网络,就能安装哪吒服务端,如 Nas 虚拟机 , Container PaaS 等
          • Argo 隧道突破需要公网入口的限制 --- 传统的哪吒需要有两个,一个用于面板的访问,另一个用于客户端上报数据,本项目借用 Cloudflare Argo 隧道,使用内网穿透的办法
          • IPv4 / v6 具备更高的灵活性 --- 传统哪吒需要处理服务端和客户端的 IPv4/v6 兼容性问题,还需要通过 warp 等工具来解决不对应的情况。然而,本项目可以完全不需要考虑这些问题,可以任意对接,更加方便和简便
          • 一条 Argo 隧道分流多个域名和协议 --- 建立一条内网穿透的 Argo 隧道,即可分流三个域名(hostname)和协议(protocal),分别用于面板的访问(http),客户端上报数据(tcp)和 ssh(可选)
          • Nginx 反向代理的 gRPC 数据端口 --- 配上证书做 tls 终结,然后 Argo 的隧道配置用 https 服务指向这个反向代理,启用http2回源,grpc(nezha)->h2(nginx)->argo->cf cdn edge->agent
          • 每天自动备份 --- 每天 0 时 0 分自动备份整个哪吒面板文件夹到指定的 github 私库,包括面板主题,面板设置,探针数据和隧道信息,备份保留近 30 天数据;鉴于内容十分重要,必须要放在私库
          • 数据更安全 --- Argo 隧道使用TLS加密通信,可以将应用程序流量安全地传输到 Cloudflare 网络,提高了应用程序的安全性和可靠性。此外,Argo Tunnel也可以防止IP泄露和DDoS攻击等网络威胁
          image

          准备需要用的变量

          image
          • 到 Cloudflare 官方,在相应的域名 DNS 记录里加上客户端上报数据(tcp)和 ssh(可选)的域名,打开橙色云启用 CDN
          imageimage
          • 到 Cloudflare 官方,选择使用的域名,打开 网络 选项将 gRPC 开关打开
          image

          面板域名加上 https:// 开头,回调地址再加上 /oauth2/callback 结尾

          imageimageimageimageimage

          PaaS 部署实例

          镜像 fscarmen/argo-nezha:latest , 支持 amd64 和 arm64 架构

          用到的变量

          变量名是否必须备注
          GH_USERgithub 的用户名,用于面板管理授权
          GH_CLIENTID在 github 上申请
          GH_CLIENTSECRET在 github 上申请
          GH_REPO在 github 上备份哪吒服务端数据库文件的库
          GH_EMAILgithub 的邮箱,用于备份的 git 推送到远程库
          GH_PATgithub 的 PAT
          ARGO_JSONhttps://fscarmen.cloudflare.now.cc 获取的 Argo Json
          DATA_DOMAIN客户端与服务端的通信 argo 域名
          WEB_DOMAIN面板 argo 域名
          SSH_DOMAINssh 用的 argo 域名
          SSH_PASSWORDssh 的密码,只有在设置 SSH_JSON 后才生效,默认值 password

          1.Koyeb

          imageimageimageimageimage

          VPS 部署实例

          docker 部署

          docker run -dit \
          +           --name nezha_dashboard \
          +           --restart always \
          +           -v ./dashboard:/dashboard \
          +           -e GH_USER=<填 github 用户名> \
          +           -e GH_EMAIL=<填 github 邮箱> \
          +           -e GH_PAT=<填获取的> \
          +           -e GH_REPO=<填自定义的> \
          +           -e GH_CLIENTID=<填获取的>  \
          +           -e GH_CLIENTSECRET=<填获取的> \
          +           -e ARGO_JSON='<填获取的>' \
          +           -e WEB_DOMAIN=<填自定义的> \
          +           -e DATA_DOMAIN=<填自定义的> \
          +           -e SSH_DOMAIN=<填自定义的> \
          +           -e SSH_PASSWORD=<填自定义的> \
          +           fscarmen/argo-nezha
          +

          docker-compose 部署

          version: '3.8'
          +services:
          +    argo-nezha:
          +        image: fscarmen/argo-nezha
          +        container_name: nezha_dashboard
          +        restart: always
          +        volumes:
          +            - ./dashboard:/dashboard
          +        environment:
          +            - GH_USER=<填 github 用户名>
          +            - GH_EMAIL=<<填 github 邮箱>
          +            - GH_PAT=<填获取的>
          +            - GH_REPO=<填自定义的>
          +            - GH_CLIENTID=<填获取的>
          +            - GH_CLIENTSECRET=<填获取的>
          +            - ARGO_JSON='<填获取的>'
          +            - WEB_DOMAIN=<填自定义的>
          +            - DATA_DOMAIN=<填自定义的>
          +            - SSH_DOMAIN=<填自定义的>
          +            - SSH_PASSWORD=<填自定义的>
          +

          客户端接入

          通过gRPC传输,无需额外配置。使用面板给到的安装方式,举例

          curl -L https://raw.githubusercontent.com/naiba/nezha/master/script/install.sh -o nezha.sh && chmod +x nezha.sh && sudo ./nezha.sh install_agent data.seales.nom.za 443 eAxO9IF519fKFODlW0 --tls
          +

          SSH 接入

          <file path>/cloudflared access ssh --hostname ssh.seales.nom.za
          +
          imageimageimage

          鸣谢下列作者的文章和项目:

          免责声明:

          • 本程序仅供学习了解, 非盈利目的,请于下载后 24 小时内删除, 不得用作任何商业用途, 文字、数据及图片均有所属版权, 如转载须注明来源。
          • 使用本程序必循遵守部署免责声明。使用本程序必循遵守部署服务器所在地、所在国家和用户所在国家的法律法规, 程序作者不对使用者任何不当行为负责。
          + + + + + \ No newline at end of file diff --git a/case/index.html b/case/index.html index d64e8161..bad74235 100644 --- a/case/index.html +++ b/case/index.html @@ -8,14 +8,14 @@ - +

          哪吒监控社区项目

          哪吒监控社区贡献的相关项目,为哪吒监控提供了更多扩展

          提交项目

          我们欢迎您提交自己的项目,请加入TG群联系管理员了解相关事宜

          注意事项

          所有项目均由社区成员贡献,请您知悉哪吒监控团队无法为社区项目承担包括且不限于:保修、可用性、安全性等责任

          - + diff --git a/developer/index.html b/developer/index.html index cd99662a..3b52424c 100644 --- a/developer/index.html +++ b/developer/index.html @@ -8,14 +8,14 @@ - +

          开发手册

          欢迎使用哪吒监控开发手册,我们欢迎你提出高质量的Pull Request,帮助哪吒监控变得更好!

          Copyright © 2022-present Nezhahq

          - + diff --git a/developer/l10n.html b/developer/l10n.html index 233a3c88..2d6664e4 100644 --- a/developer/l10n.html +++ b/developer/l10n.html @@ -8,14 +8,14 @@ - +

          哪吒监控的 Dashboard 已经添加本地化,支持多个语言,你可以在开发新功能时遵循以下步骤来支持本地化

          介绍

          1. 你可以直接使用 /resource/l10n/zh-CN.toml 中已有的文本配置来替换新功能中的文本
          2. 如果新功能中有新增文本,请参考 zh-CN.toml 的配置文本,将新文本拉取到 zh-CN.toml 等其他语言的配置文件中,并添加翻译

          新本地化文本的添加

          1. /resource/l10n/ 中添加新的语言文本配置
          2. 在新的语言文本配置中拉取其他语言已有的文本配置
          3. 为新的语言文本配置添加翻译
          - + diff --git a/developer/theme.html b/developer/theme.html index afc5f54c..3625d70c 100644 --- a/developer/theme.html +++ b/developer/theme.html @@ -8,14 +8,14 @@ - +

          哪吒主题开发环境

          哪吒面板提供了主题开发环境,你可以使用它来创建新的哪吒监控主题

          WARNING

          请注意: 此开发环境仅支持 dashboard v0.13.16 及更新版本。

          使用说明

          1. 克隆此仓库到本地
          2. 修改 data/config.yaml 中的 Oauth2 配置(回调连接可以填 http://localhost
          3. 运行 docker-compose up
          4. 开始开发
          5. 主题制作完成之后可以将 theme-custom 放置到服务器上的 /opt/nezha/dashboard/theme-custom 位置

          FAQ

          • 如果不能使用 80 端口,在 docker-compose.yaml 中修改配置。
          - + diff --git a/en_US/case/case1.html b/en_US/case/case1.html index e960b158..9a9fe671 100644 --- a/en_US/case/case1.html +++ b/en_US/case/case1.html @@ -8,14 +8,14 @@ - +

          Build your own Telegram bot to query server information

          Contributors:

          Project: nezha_api_tgbot (Chinese)

          Mirror backup, non-real-time update: nezha_api_tgbot (Chinese)

          The bot can request server status information from the Dashboard through the API, and then send the information to the user.
          You can build this bot to easily view the current status of a given server without opening the Dashboard.

          - + diff --git a/en_US/case/case2.html b/en_US/case/case2.html index 173a96ba..29704143 100644 --- a/en_US/case/case2.html +++ b/en_US/case/case2.html @@ -9,14 +9,14 @@ - +

          Use Siri to run shortcut to check server status in iOS/MacOS

          Current Version:V1.0 (Chinese)
          Contributor:

          Get shortcut command

          Scan the following QR code with your iPhone or iPad to get the shortcut




          MacOS users please visit here to get the shortcut

          How to use

          • After getting the shortcut, open and edit the shortcut
          • Fill in Dashboard URL, API Token, Server ID in the three text boxes
          • Save the edit and test run, if you can get the result, the setting is correct.
          • Modify the name of the shortcut, such as: Server Status, then you can use Siri command: "Hey Siri, Server Status" to get the server status.

          WARNING

          Each shortcut can only monitor one server, if you need to monitor more than one server, please copy this shortcut several times and configure them separately, then modify the shortcut name separately, such as; Server 1 Status, Server 2 Status, etc.

          - + diff --git a/en_US/case/case3.html b/en_US/case/case3.html index 8dec54fc..073833e3 100644 --- a/en_US/case/case3.html +++ b/en_US/case/case3.html @@ -8,14 +8,14 @@ - +

          Build your own server status query Telegram bot with multi-language and multi-user support

          Contributor:

          GitHub project: nezha_telegram_bot(English is already supported)

          Mirror backup, non-real-time update : nezha_telegram_bot(English is already supported)

          Features

          • [x] Support Chinese/English multi-language switch
          • [x] Support tag statistics (CPU, disk, memory, upstream and downstream speed, traffic statistics, etc.)
          • [x] Support real-time refresh of single server data
          • [x] Support keyboard interactive query
          • [x] Support query by command
          • [x] Support adding bot to group, privacy protection of bot replies in group chat
          • [x] Support bot messages automatic deletion in group chat within 20 seconds
          • [x] Support docker deployment

          Commands list

          CommandDescriptionPrivate chat only
          startGetting started with the keyboard main menu✔️
          helphelp message
          addAdd Nezha monitoring url link and token✔️
          urlAdd Nezha monitoring url link✔️
          tokenAdd Nezha monitoring token✔️
          infoGet saved Nezha monitoring url link and token✔️
          deleteDelete saved Nezha monitoring url link and token✔️
          idAdd an integer id after the command to query the information of a single server (refresh button only available in private chat)
          allQuery statistics for all servers
          searchSearch for keywords in server names (multiple keywords supported, split by spaces)
          - + diff --git a/en_US/case/case4.html b/en_US/case/case4.html index c6cec788..ef620a63 100644 --- a/en_US/case/case4.html +++ b/en_US/case/case4.html @@ -8,14 +8,14 @@ - + - + diff --git a/en_US/case/index.html b/en_US/case/index.html index 440bb299..a543f489 100644 --- a/en_US/case/index.html +++ b/en_US/case/index.html @@ -8,14 +8,14 @@ - +

          Nezha Monitoring Community Project

          Related projects contributed by Nezha Monitoring community, provide more extensions for Nezha Monitoring

          Submit a project

          We welcome you to submit your own projects, please join the Telegram group and contact the administrator for more information

          Important Notes

          All projects are contributed by community members. Please be aware that Nezha monitoring team cannot be held responsible for community projects including and not limited to warranty, availability, security, etc.

          - + diff --git a/en_US/developer/index.html b/en_US/developer/index.html index 4aa36098..83ad4f9c 100644 --- a/en_US/developer/index.html +++ b/en_US/developer/index.html @@ -8,14 +8,14 @@ - + - + diff --git a/en_US/developer/l10n.html b/en_US/developer/l10n.html index a5911e78..5273dfc5 100644 --- a/en_US/developer/l10n.html +++ b/en_US/developer/l10n.html @@ -8,14 +8,14 @@ - +

          Nezha Monitoring's Dashboard has added localization to support multiple languages, and you can follow these steps to support localization when developing new features

          Introduction

          1. You can directly use the text configuration already available in /resource/l10n/en-US.toml to replace the text in the new feature.
          2. If there is new text in the new feature, please refer to the configuration text in en-US.toml, pull the new text into the configuration files of other languages such as en-US.toml, and add translations.

          Adding a new localized text file

          1. Add a new language text configuration in /resource/l10n/.
          2. Pull existing text configurations from other languages in the new language text configuration.
          3. Add translations for the new language text configuration.
          - + diff --git a/en_US/developer/theme.html b/en_US/developer/theme.html index 87b79123..5c7064c8 100644 --- a/en_US/developer/theme.html +++ b/en_US/developer/theme.html @@ -8,14 +8,14 @@ - +

          Nezha Theme Development Environment

          Nezha Monitoring provides a theme development environment that you can use to create new Nezha Monitoring themes

          WARNING

          Please note: This development environment only supports dashboard v0.13.16 and newer versions.

          How to use

          1. Clone this repository to local
          2. Modify the Oauth2 configuration in data/config.yaml(The callback connection can be filled with http://localhost
          3. Run docker-compose up
          4. Start development
          5. Once the theme has been created, you can place theme-custom in /opt/nezha/dashboard/theme-custom on the server

          FAQ

          • If you can't use port 80, change the configuration in docker-compose.yaml.
          - + diff --git a/en_US/guide/agent.html b/en_US/guide/agent.html index a7b9e385..53ddcca0 100644 --- a/en_US/guide/agent.html +++ b/en_US/guide/agent.html @@ -8,7 +8,7 @@ - + @@ -161,7 +161,7 @@ systemctl enable nezha start }
          • Give it permission to execute: chmod +x /etc/init.d/nezha-service
          • Start the service /etc/init.d/nezha-service enable && /etc/init.d/nezha-service start

          FAQ

          Is there a Docker image for Agent?

          There is currently no Docker image for Agent.
          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.
          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.

          - + diff --git a/en_US/guide/agentq.html b/en_US/guide/agentq.html index 7a7d9e62..971e97f9 100644 --- a/en_US/guide/agentq.html +++ b/en_US/guide/agentq.html @@ -8,14 +8,14 @@ - + - + diff --git a/en_US/guide/api.html b/en_US/guide/api.html index 6e7fe10c..a6003cda 100644 --- a/en_US/guide/api.html +++ b/en_US/guide/api.html @@ -8,7 +8,7 @@ - + @@ -127,7 +127,7 @@ Authorization: Token ] }
      - + diff --git a/en_US/guide/dashboard.html b/en_US/guide/dashboard.html index dcee0320..a0365aac 100644 --- a/en_US/guide/dashboard.html +++ b/en_US/guide/dashboard.html @@ -8,7 +8,7 @@ - + @@ -39,7 +39,7 @@ proxy /terminal/* http://ip:8008 { header_upstream -Origin }


    Configuring SSL in the aaPanel

    First, temporarily disable the reverse proxy
    As with other websites, you can choose to automatically apply for a Let´s Encrypt certificate or manually configure an existing certificate by going to "SSL" in the site settings
    After you finish setting up SSL, you need to go back to https://github.com/settings/developers and edit the authentication application you created before, change all the domain names in the "Homepage URL" and "Authorization callback URL" you filled in before from http to https, such as: "https://cdn.example.com" and "https://cdn.example.com/oauth2/callback", If you don't change these links, you may not be able to log into the admin panel

    FAQ

    What should I do if /terminal or /ws cannot be connected after HTTPS is enabled?

    It is often caused by incomplete certificates. Please add -d to the agent running parameters. If there is x509: certificate signed by unknown authority in the log, replacing the complete certificate can solve the problem 100%.

    I am not satisfied with the data modification or addition function provided by the Dashboard, what if I want to modify or add data myself?

    Commonly used in requirements such as batch installation of Agents, where you can modify the database directly.
    Please note that not everything can be modified in the database, wrong modification will lead to data confusion and failure to start Dashboard, please do not modify the database at will!

    WARNING

    Again, please do not modify the database at will!

    If you need to modify the data in the database, please stop the Dashboard container before modifying it.
    The database type is sqlite3, located in /opt/nezha/dashboard/data/sqlite.db, please backup before modifying the data

    What are each table or column in the database?

    The documentation does not provide an explanation of the database. If you have the ability to modify the database, you should be able to read it with a little thinking.

    Does Dashboard update automatically?

    The Agent normally updates automatically, but the Dashboard does not and needs to be updated manually.

    How do I update the Dashboard?

    Run the script . /nezha.sh and select restart Dashboard and update

- + diff --git a/en_US/guide/dashboardq.html b/en_US/guide/dashboardq.html index 3d9af0e8..7f7ddcbb 100644 --- a/en_US/guide/dashboardq.html +++ b/en_US/guide/dashboardq.html @@ -8,7 +8,7 @@ - + @@ -27,7 +27,7 @@ systemctl status docker access_log /dev/null; }
  1. Save the configuration and clear the cache in the browser, NginX, and CDN, then refresh the page and it should return to normal.
- + diff --git a/en_US/guide/loginq.html b/en_US/guide/loginq.html index c4fd7515..c900b67b 100644 --- a/en_US/guide/loginq.html +++ b/en_US/guide/loginq.html @@ -8,14 +8,14 @@ - +

Page refuses to connect or timeout after login callback

  1. Your server cannot connect to Github, consider trying several times or switching to Gitlab.
  2. You have configured the wrong callback URL, make sure your callback URL is correct and port and protocol are correct!
  3. An unknown error occurred in Dashboard, you can use the script to check the logs.

TIP

What is a protocol?
In the browser, your domain name ending with :// is the protocol, usually http and https. Since the Dashboard may be accessible by multiple protocols + domain + port combinations under normal deployment, please make sure to choose the most appropriate one as the callback.

How do I check if my callback URL is wrong?

Please make sure the protocol+domain+port displayed by your browser before login and the protocol+domain+port you jump to after login are the same.
Please make sure your path is /oauth2/callback, all lowercase.

Dashboard errors after login

Clear your browser cookies and log in again, or change your browser.

lookup xxx

DNS resolution failure, in most cases, is due to iptables-related configuration changes.
It is recommended to restart docker first, sudo systemctl restart docker, and then use the script to restart the Dashboard.
If the lookup error still occurs, it is recommended to check whether there are other tools to control iptables, such as Aapanel Firewall.
This problem may also be related to the kernel, please try to change the official kernel.

The authorization method is invalid, or the login callback URL is invalid, expired, or has been revoked

Suggest changing the authentication method to Github/Gitlab.

oauth2: server response missing access_token

It may be caused by a number of factors, the most likely is a network problem, we suggest to check the network and retry.
If you can't solve it, we suggest changing the authentication method to Github/Gitlab.

This user is not the administrator or cannot login

You have logged into the wrong account or configured the wrong username, note that username is not email, you can use a script to modify it.

dial tcp xxx:443 i/o timeout

If the server has network problems, you can restart docker first, sudo systemctl restart docker, and then use the script to restart the Dashboard.
You can also change to another OAuth method if necessary.

net/http: TLS handshake timeout

Same as above.

- + diff --git a/en_US/guide/notifications.html b/en_US/guide/notifications.html index 2291bc17..71f89a5f 100644 --- a/en_US/guide/notifications.html +++ b/en_US/guide/notifications.html @@ -8,7 +8,7 @@ - + @@ -57,7 +57,7 @@ } }

Delete relevant content information as needed



Description of notification rules

Basic Rules

Complete examples:

Add an offline notification

Add an notification when the CPU exceeds 50% for 10s but the memory usage is below 20% for 20s

Send specific server notifications to specific notification groups

Case:
You have four servers, 1, 2, 3, 4, and two different notification groups, A and B
1, 2 The two servers are down for 10 minutes and send a notification to Notification Group A
3, 4 These two servers are down for ten minutes and then send a notification to Notification Group B

First you need to set up two notification groups, A and B, and then add two alarm rules:

Rule I:

Rule II:

Using these rules flexibly will help you to make full use of the notification function


Special: Any-cycle transfer notification

Can be used as monthly transfer notificatin

Example:

The servers with ID 3 and 4 (defined in the ignore) are counted on the 1st of each month, and a notification is triggered when the monthly outbound transfer reaches 1TB during the cycle.

[{"type":"transfer_out_cycle","max":1099511627776,"cycle_start":"2022-01-01T00:00:00+08:00","cycle_interval":1,"cycle_unit":"month","cover":1,"ignore":{"3":true,"4":true}}]

Description of mode of triggering notification

Set the task to be executed when notification

If you need to perform a task while sending a notification message, you can set those items

- + diff --git a/en_US/guide/q2.html b/en_US/guide/q2.html index f9f5b3f9..37fe70f6 100644 --- a/en_US/guide/q2.html +++ b/en_US/guide/q2.html @@ -8,14 +8,14 @@ - +

Let the Agent start/on-line, and the self-test process of the problem

  1. Run //opt/nezha/agent/nezha-agent -s IP/Domin(Panel IP or Domain not connected to CDN):port(Panel RPC port) -p secret(Agent Secret) -d Check the logs to see if the timeout is due to a DNS problem or poor network
  2. nc -v domain/IP port(Panel RPC port) or telnet domain/IP port(Panel RPC port) to check if it' s a network problem, check the inbound and outbound firewall between the local machine and the panel server, if you can' t determine the problem you can check it with the port checking tool provided by https://port.ping.pe/
  3. If the above steps work and the Agent is online, please try to turn off SELinux on the panel server. How to close SELinux?
- + diff --git a/en_US/guide/q3.html b/en_US/guide/q3.html index 551bbd56..5b5c42f8 100644 --- a/en_US/guide/q3.html +++ b/en_US/guide/q3.html @@ -8,7 +8,7 @@ - + @@ -45,7 +45,7 @@ } }

Dashboard Configuration

Agent Configuration

Enable Cloudflare CDN (optional)

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).

- + diff --git a/en_US/guide/q4.html b/en_US/guide/q4.html index 2725698c..0d92672e 100644 --- a/en_US/guide/q4.html +++ b/en_US/guide/q4.html @@ -8,14 +8,14 @@ - +
- + diff --git a/en_US/guide/q5.html b/en_US/guide/q5.html index 34c781a2..c176216d 100644 --- a/en_US/guide/q5.html +++ b/en_US/guide/q5.html @@ -8,14 +8,14 @@ - +
- + diff --git a/en_US/guide/q6.html b/en_US/guide/q6.html index 82214bf0..34fc89d6 100644 --- a/en_US/guide/q6.html +++ b/en_US/guide/q6.html @@ -8,14 +8,14 @@ - +

How to set up a monthly reset of transfer statistics?

In the home page, the traffic statistics will be reset when the server is restarted.
If you want to set the traffic statistics to be reset once a month, you can do it like this:

  1. Go to the Notification page of the admin panel
  2. Refer to this document to create a monthly transfer statistics notification
  3. Return to the home page and you can see the monthly transfer statistics in the Service page, where the statistics will not be reset when the server is restarted

TIP

This method can be set to any period, including and not limited to hourly/daily/weekly/monthly/yearly reset transfer statistics, very flexible!

- + diff --git a/en_US/guide/q7.html b/en_US/guide/q7.html index c8f07b94..7e5425bf 100644 --- a/en_US/guide/q7.html +++ b/en_US/guide/q7.html @@ -8,14 +8,14 @@ - +

Customize Agent

Customize the NIC and hard drive partitions to be monitored

  • Run /opt/nezha/agent/nezha-agent --edit-agent-config to select a custom NIC and partition, and then restart Agent

Other Flags

Run ./nezha-agent --help to view supported flags,if you are already using the one-click script, you can edit /etc/systemd/system/nezha-agent.service,at the end of this line ExecStart= add:

  • --report-delay System information reporting interval, default is 1 second, can be set to 3 to reduce the system resource usage on the agent side (configuration range 1-4)
  • --skip-conn Not monitoring the number of connections, if it is a server with a large number of connections, the CPU usage will be high. It is recommended to set this to reduce CPU usage
  • --skip-procs Disable monitoring the number of processes can also reduce CPU and memory usage
  • --disable-auto-update Disable Automatic Update Agent (security feature)
  • --disable-force-update Disable Forced Update Agent (security feature)
  • --disable-command-execute Disable execution of scheduled tasks, disallow WebShell (security feature)
  • --tls Enable SSL/TLS encryption (If you are using nginx to reverse proxy Agent´s grpc connections, and if nginx has SSL/TLS enabled, you need to enable this configuration)
- + diff --git a/en_US/guide/servers.html b/en_US/guide/servers.html index c5d4dfa0..48feeb95 100644 --- a/en_US/guide/servers.html +++ b/en_US/guide/servers.html @@ -8,14 +8,14 @@ - +

Servers

Introduction

The Servers area is responsible for managing the Agent, the most basic area in Nezha Monitoring, and the basis for other functions.

Add a server

The first step is to add a servers, which can be customized with names, groups, display index and notes.
Servers in the same group will be displayed in groups in supported themes, and notes will only be displayed in the admin panel, no need to worry about leaking information.

Install Agent

Please refer to the previous article: Install Agent
We recommend using one-click installation, that is, after configuring the communication domain name, click the button on the column one-click installation and copy it to the monitored servers for installation.

Forced Updates

The flags related to the update of the Agent are: --disable-auto-update and --disable-force-update. Please refer to Customize Agent
By default, the Agent is updated automatically, but when the user turns off automatic updates, the specified servers can also be selected for forced updates.
This feature does not take effect when -disable-force-update is turned on.

Data List

  • Version number: Record the current version of Agent
  • Secret: Used when configuring the Agent
  • One-Click Installation: A more convenient way to install Agent
  • Manage: WebShell on the left, Edit in the middle, Delete on the right

Webshell

This feature does not take effect when disable-command-execute is turned on.
Both Linux and Windows are available and can be pasted using Ctrl+Shift+V.
For connection failure, please refer to Real-time channel disconnection/online terminal connection failure.
Note that in theWebShell function, the Agent also connects to the Domain names for public access via WebSocket, not via grpc.

- + diff --git a/en_US/guide/services.html b/en_US/guide/services.html index 16f3db12..815e2e16 100644 --- a/en_US/guide/services.html +++ b/en_US/guide/services.html @@ -8,14 +8,14 @@ - +

Service area is a function setting area for setting up Agents to monitor external websites or servers
The monitoring results can be viewed on the "Services" page in the home page

How to use

To add a new monitor, you can go to the "Services" page in the administration panel and click "Add Service Monitor".

To add a service monitor, you need to complete the following settings:

  • Name - Customize a name

  • Type - Select a monitoring type. Nezha currently supports three monitoring types: "HTTP-GET", "ICMP-Ping" and "TCP-Ping".

  • Target - Depending on the type you choose, the target is set in different ways

  • HTTP-GET: Selecting this type, you should enter a URL as the target, the URL should be added with http:// or https:// If your target URL is https://, it will also monitor the SSL certificate of that URL and trigger a notification when the SSL certificate expires or changes.
    For example: https://example.com
  • ICMP-Ping: When selecting this type, you should enter a domain name or IP without a port number
    For example: 1.1.1.1 or example.com
  • TCP-Ping: When selecting this type, you should enter a domain name or IP and include the port number
    For example: 1.1.1.1:80 or example.com:22
  • Interval: Sets the time interval in seconds between each time Agent sends requests to the target

  • Coverage: Select a rule to determine which Agents to use to send requests to the target

  • Specific Servers: Use with coverage to select the Agent to be excluded from the rule

  • Notification Group: Select the notification method you have set up on the "Notification" page. Click here for more information

  • Enable Failure Notification: Select whether to receive target failure notifications as needed, default is inactive

After setting, click "Add" and you are done.
Wait for a moment to go to the "Services" page on the home page to view the monitoring results

Notification of delay changes

Nezha Monitoring monitors and statistics the delay between the Agent and the target server, and sends notifications in case of significant changes
Use this feature to help you monitor your server's routes for changes

  • Enable delay notifications:When enabled, notifications will be sent when the Agent to target server delay is higher than the Max delay or lower than the Min delay

Management Monitor

To manage existing service monitoring, you can go to the "Services" page in the administration panel
Select a monitoring configuration and click the icon on the right to edit or delete it

- + diff --git a/en_US/guide/settings.html b/en_US/guide/settings.html index 5e77832a..9b7a96be 100644 --- a/en_US/guide/settings.html +++ b/en_US/guide/settings.html @@ -8,7 +8,7 @@ - + @@ -62,7 +62,7 @@ avatar.style} </style>

Access Password

If you don't want to show your homepage directly, you can set a access password here
After setting the password, you need to enter the password to access the homepage

CDN Bypassed Domain/IP

This setting is a prerequisite for using the one-click script to install the Agent, see here for details

IP Change Alert

If you want to be notified when a server's ip changes, you can set it up here

Coverage

Select a rule here to determine which servers need to be monitored, and you can choose according to your needs

Specific Servers

In conjunction with the coverage settings, set the exclusions for the selected rule here

Send Notification To Specific Notification Group

Select the notification method, please set the notification method in the "Notifications" page

WARNING

When the settings are completed, the notification takes effect when enabled is activated


WARNING

IP Change Alert does not show ip by default, if you don't want to hide it, you can activate "Do NOT desensitize Server IP In Notification Messages"

- + diff --git a/en_US/guide/tasks.html b/en_US/guide/tasks.html index 5571e6e8..a03de65d 100644 --- a/en_US/guide/tasks.html +++ b/en_US/guide/tasks.html @@ -8,14 +8,14 @@ - +

In the task area, you can set up scheduled tasks, Trigger tasks, and multi-server batch execution tasks

Nezha monitoring supports pushing commands to the Agent for execution, so this feature is very flexible and can be used to periodically back up the server in conjunction with restic, rclone. Periodically restart a service to reset the network connection. It can also be used with notifications to perform a task when a notification is triggered, such as running a script when the CPU is at high occupancy for a long period of time.

How to use

Go to the "Tasks" page of the admin panel and click "Add Scheduled Task"
To add a scheduled task you need to make the following settings:

  • Name - Customize a task name

  • Task Type - select the type of task
    Scheduled Tasks - Tasks are executed periodically at the scheduled time set below
    Trigger Tasks - Tasks that are triggered only by API or notification rules and are executed once per trigger

  • Cron Expression - (Not valid when using the trigger task type) Set schedule time, the Cron Expression is like:: * * * * * * sec min hour day month week, see details in CRON Expression Format
    For example: 0 0 3 * * * is Every day at 3 o'clock

  • Command - Just like writing shell/bat scripts, but line wrap is not recommended, Multiple Commands should be connected with &&/&
    For example, to execute a periodic reboot command, you can type reboot here

  • Coverage and Specific Servers - Similar to the settings on the Services page, select rules to determine which Agents need to execute scheduled tasks
    When using the trigger task type, you can select Only servers that are included in the notification rule

  • Notification Group - Select the notification method you have set up on the "Notification" page. Click here for more information

  • Send Success Notification - When this item is activated, a message notification will be triggered when the task is successfully executed

Manage tasks

To manage existing scheduled tasks, you can go to the "Tasks" page in the administration panel
Select a task configuration and the three icons on the right, which are:

  • Execute Now - When clicked, the scheduled time will be ignored and the task will be executed immediately
  • Edit - Click to modify the task configuration
  • Delete - Delete this scheduled task

FAQ

  1. Command not found
    Command not found may cause by missing PATH environment variable, for Linux Server, you may try adding source ~/.bashrc at beginning of your command or execute by absolute path.
- + diff --git a/en_US/index.html b/en_US/index.html index 3c14000a..e129a1fa 100644 --- a/en_US/index.html +++ b/en_US/index.html @@ -8,14 +8,14 @@ - +

Nezha Monitoring

A open source, lightweight server and website monitoring and O&M tool

One-Click Installation

Support use one-click script to install Dashboard and Agent services; Linux, WIndows, MacOS, OpenWRT and other mainstream systems are supported

Monitoring at any time

Support monitoring the system status of multiple servers at the same time, support monitoring the status of web pages, ports, SSL certificates; support notifications in case of failure, out of data and other status. Support multiple notification methods (Telegram, email, WeChat, etc.)

Lightweight O&M tool

Support WebSSH, support cyclic monitoring data, support setting scheduled tasks and running command on multiple servers

Copyright © 2022-present Nezhahq

- + diff --git a/guide/agent.html b/guide/agent.html index 9bd04ce7..1605ca2b 100644 --- a/guide/agent.html +++ b/guide/agent.html @@ -8,7 +8,7 @@ - + @@ -166,7 +166,7 @@ systemctl enable nezha start }

FAQ

Agent 有 Docker 镜像吗?

Agent 目前没有推出 Docker 镜像。
Agent 的设计思路和 Dashboard 相反,Dashboard 要尽可能不影响宿主机工作,但 Agent 则需要在宿主机中执行监控服务和运行命令。
将 Agent 放入容器中确实可以继续执行监控任务,但 WebShell 等功能无法正常运行,因此不提供 Docker 镜像。

- + diff --git a/guide/agentq.html b/guide/agentq.html index 08e2a7c6..21a403a1 100644 --- a/guide/agentq.html +++ b/guide/agentq.html @@ -8,14 +8,14 @@ - +
- + diff --git a/guide/api.html b/guide/api.html index fe5c7c6f..3b534193 100644 --- a/guide/api.html +++ b/guide/api.html @@ -8,7 +8,7 @@ - + @@ -127,7 +127,7 @@ Authorization: Token ] } - + diff --git a/guide/dashboard.html b/guide/dashboard.html index 3d2ffe29..afa44868 100644 --- a/guide/dashboard.html +++ b/guide/dashboard.html @@ -8,7 +8,7 @@ - + @@ -40,7 +40,7 @@ proxy /terminal/* http://ip:8008 { header_upstream -Origin }

在宝塔面板中配置 SSL

首先,先暂时关闭反向代理
正如在其他网站中配置 SSL 证书一样,进入站点设置中的 “SSL”,你可以选择自动申请 Let´s Encrypt 证书或手动配置已有的证书
完成 SSL 的设置后,你需要回到 https://github.com/settings/developers ,编辑之前创建的验证应用程序,将之前我们填入的 "Homepage URL" 和 "Authorization callback URL" 中的域名全部从http改为https,如:"https://cdn.example.com" 和 "https://cdn.example.com/oauth2/callback" ,不更改此项可能会导致你无法登录面板后台

FAQ

启用HTTPS后/terminal或/ws不能正常连接怎么办?

常常是由于证书不完整造成的,请在agent运行参数中添加-d,若log中有x509:certificate signed by unknown authority,更换完整证书则可100%解决该问题。

我对面板提供的数据修改/增加功能不满意,我想要自己修改/增加数据怎么办?

常见于批量插入 Agent 等需求中,可以直接修改数据库。
请注意,数据库中并非什么都可以修改,错误的修改会导致数据混乱无法启动 Dashboard,请勿随意修改数据库!

WARNING

再重复一遍,请勿随意修改数据库!

如需要在数据库中修改数据,请先停止面板容器再修改。
数据库类型是 sqlite3,位于 /opt/nezha/dashboard/data/sqlite.db,修改前请备份

数据库中各表/列是什么意思?

文档不提供数据库解释,有能力修改数据库的稍加分析应该就足以看懂。

Dashboard 会自动更新吗?

Agent通常情况下会自动更新,但Dashboard并不会,需要手动更新。

如何更新 Dashboard?

运行脚本 ./nezha.sh ,选择重启面板并更新

- + diff --git a/guide/dashboardq.html b/guide/dashboardq.html index 32129b55..4cc65247 100644 --- a/guide/dashboardq.html +++ b/guide/dashboardq.html @@ -8,7 +8,7 @@ - + @@ -27,7 +27,7 @@ systemctl status docker access_log /dev/null; }
  1. 保存配置,并清空浏览器、NginX、CDN 中的缓存,此时刷新页面应恢复正常
- + diff --git a/guide/loginq.html b/guide/loginq.html index fa5b64fc..95eee159 100644 --- a/guide/loginq.html +++ b/guide/loginq.html @@ -8,14 +8,14 @@ - +

登录回调后页面卡住\拒绝连接\响应时间过长

还有其他一些表现形式,总之登录后浏览器无法正常显示。

  1. 您的服务器无法连接到 Github/Gitee,最常见于国内服务器配置 Github 情况下,可以考虑多尝试几次或者切换到 Jihulab/Gitee。
  2. 您配置错了回调地址,确保您的回调地址正确且端口与协议均正确!
  3. Dashboard 发生未知错误,您可以使用脚本查看日志,但此项可能性较低。

TIP

什么是协议?
在浏览器中,您的域名以://结尾的字符串即为协议,通常为 httphttps 两种。由于正常部署情况下面板可能有多种协议+域名+端口组合均可访问,请务必选一个最合适的作为回调。

如何检查我的回调地址是否错误?

请确保登录前浏览器显示的协议+域名+端口和登录后跳转到的协议+域名+端口一致。
请确保您的路径为/oauth2/callback全部小写

登录后面板报错

清理cookies后重新登录,或换个浏览器

lookup xxx

容器DNS解析失败,多数情况下为修改了iptables相关配置。
建议先重启docker,sudo systemctl restart docker,再使用脚本重启面板。
仍然出现lookup错误建议查看是否有其他控制iptables的工具,如宝塔防火墙等。
这个问题也可能与内核有关系,请尝试更换官方内核。

授权方式无效,或者登录回调地址无效、过期或已被撤销

只出现在 Gitee 登录方式中,原因不明,建议更换到 Jihulab。

oauth2: server response missing access_token

可能由多种因素引起,最大可能性是网络问题,建议检查网络后重试。
无法解决的话建议更换 Github/Jihulab 等。

该用户不是本站点管理员,无法登录

您登陆错了账号或者配置错了用户名,注意用户名不是邮箱,可使用脚本修改。

dial tcp xxx:443 i/o timeout

网络问题,可先重启 Docker,sudo systemctl restart docker,再使用脚本重启面板。
如为国内服务器配置 Github 登陆方式,则建议切换到Jihulab以避免网络干扰。

net/http: TLS handshake timeout

同上。

- + diff --git a/guide/notifications.html b/guide/notifications.html index 8b223f56..6b714553 100644 --- a/guide/notifications.html +++ b/guide/notifications.html @@ -8,7 +8,7 @@ - + @@ -48,7 +48,7 @@ } }

根据需求删减相关内容信息即可



报警规则说明

基本规则

完整示例:

添加一个离线报警

添加一个监控 CPU 持续 10s 超过 50% 内存持续 20s 占用低于 20% 的报警

将特定的服务器通知发送到特定的通知分组

示例场景:
你有 1、2、3、4 四台服务器和 A、B 两个不同的通知组
1、2 这两台服务器掉线十分钟后给通知组 A 发送通知
3、4 这两台服务器掉线十分钟后给通知组 B 发送通知

首先你需要先设置好 A、B 两个通知组,然后添加两条报警规则:

规则一:

规则二:

灵活使用参数可以让你的通知功能被充分使用


特殊:任意周期流量报警

可以用作月流量报警

示例:

ID 为 3 和 4 的服务器(ignore 里面定义),以每月 1 号为统计周期,周期内统计的出站月流量达到 1TB 时报警

[{"type":"transfer_out_cycle","max":1099511627776,"cycle_start":"2022-01-01T00:00:00+08:00","cycle_interval":1,"cycle_unit":"month","cover":1,"ignore":{"3":true,"4":true}}]

通知触发模式说明

设置报警时执行任务

如果你需要在发出报警消息的同时执行某项任务,可以设置此项目

- + diff --git a/guide/q1.html b/guide/q1.html index 4a1ae28a..4637066f 100644 --- a/guide/q1.html +++ b/guide/q1.html @@ -8,7 +8,7 @@ - + @@ -61,7 +61,7 @@ ufw allow proto tcp from serverIp to any port 443443 -j DROP iptables -I INPUT -s serverIp -p tcp --dport 443 -j ACCEPT - + diff --git a/guide/q2.html b/guide/q2.html index ec5412d1..a2ded91d 100644 --- a/guide/q2.html +++ b/guide/q2.html @@ -8,14 +8,14 @@ - +

Agent 启动/上线 问题自检流程

  1. 直接执行 /opt/nezha/agent/nezha-agent -s 面板IP或非CDN域名:面板RPC端口 -p Agent密钥 -d 查看日志是否是因为 DNS、网络不佳导致超时(timeout)
  2. nc -v 域名/IP 面板RPC端口 或者 telnet 域名/IP 面板RPC端口 来检验是否是网络问题,检查本机与面板服务器的出入站防火墙,如果无法判断问题可借助 https://port.ping.pe/ 提供的端口检查工具进行检测。
  3. 如果上面步骤检测正常,Agent 正常上线,尝试关闭 SELinux,如何关闭 SELinux?
- + diff --git a/guide/q3.html b/guide/q3.html index 683baf88..5dc3b302 100644 --- a/guide/q3.html +++ b/guide/q3.html @@ -8,7 +8,7 @@ - + @@ -45,7 +45,7 @@ } }

Dashboard 面板端配置

Agent 端配置

开启 Cloudflare CDN(可选)

根据 Cloudflare gRPC 的要求:gRPC 服务必须侦听 443 端口 且必须支持 TLS 和 HTTP/2。 所以如果需要开启 CDN,必须在配置 Nginx 或者 Caddy 反向代理 gRPC 时使用 443 端口,并配置证书(Caddy 会自动申请并配置证书)。

- + diff --git a/guide/q4.html b/guide/q4.html index f0cc6e71..5e4d478c 100644 --- a/guide/q4.html +++ b/guide/q4.html @@ -8,14 +8,14 @@ - +
- + diff --git a/guide/q5.html b/guide/q5.html index 6271e9bb..700e0c96 100644 --- a/guide/q5.html +++ b/guide/q5.html @@ -8,14 +8,14 @@ - +
- + diff --git a/guide/q6.html b/guide/q6.html index d68531eb..462cf3d3 100644 --- a/guide/q6.html +++ b/guide/q6.html @@ -8,14 +8,14 @@ - +

如何每月重置流量统计?

主页中的流量统计每次服务器重启时都会重置,如果要实现每月重置一次流量计数,可以这样实现:

  1. 进入管理面板的 报警通知
  2. 参考这篇文档,创建一个月流量报警
  3. 返回主页,在 服务 页中就可以看到月流量统计了,这里的统计数据不会因为服务器重启而重置

TIP

此方式可以设置任何周期,包括且不限于每小时/每天/每周/每月/每年重置流量统计,非常灵活!

- + diff --git a/guide/q7.html b/guide/q7.html index 0d7fa0f7..9b480b17 100644 --- a/guide/q7.html +++ b/guide/q7.html @@ -8,14 +8,14 @@ - +

自定义 Agent 监控项目

自定义监控的网卡和硬盘分区

  • 执行 /opt/nezha/agent/nezha-agent --edit-agent-config 来选择自定义的网卡和分区,然后重启 Agent 即可生效

其他运行参数

通过执行 ./nezha-agent --help 查看支持的参数,如果你使用了一键脚本安装Agent,可以编辑 /etc/systemd/system/nezha-agent.service,在 ExecStart= 这一行的末尾加上以下参数

  • --report-delay 控制系统信息上报的间隔,默认为 1 秒,可以设置为 3 来进一步降低 agent 端系统资源占用(配置区间 1-4)
  • --skip-conn 不监控连接数,推荐 机场/连接密集型 服务器或CPU占用较高的服务器设置
  • --skip-procs 不监控进程数,也可以降低 Agent 占用
  • --disable-auto-update 禁止 自动更新 Agent(安全特性)
  • --disable-force-update 禁止 强制更新 Agent(安全特性)
  • --disable-command-execute 禁止在 Agent 上执行定时任务、打开在线终端(安全特性)
  • --tls 启用 SSL/TLS 加密(使用 nginx 反向代理 Agent 的 grpc 连接,并且 nginx 开启 SSL/TLS 时,需要启用该项配置)
- + diff --git a/guide/servers.html b/guide/servers.html index 59ddef1d..940dae6e 100644 --- a/guide/servers.html +++ b/guide/servers.html @@ -8,14 +8,14 @@ - +

主机

介绍

主机区域负责管理Agent,是哪吒探针中最基础的区域,也是其他功能的基础。

添加服务器

第一步是添加主机,可以自定义名称、分组、排序和备注。
拥有相同分组的主机会在受支持的主题中划分到一起进行显示,备注仅会在后台显示,无需担心泄露信息。

安装Agent

请参考前文安装Agent
推荐使用一键安装,即配置好参数后,点击主机一键安装列上的按钮,复制到相应主机进行安装。

强制更新

Agent更新相关的参数是 自定义agent监控项目 中的 --disable-auto-update--disable-force-update
默认情况下,Agent会自动更新,无需干预。但当用户关闭自动更新后,也可以选中指定主机进行强制更新。
disable-force-update开启时此功能不生效。

数据列

  • 版本号: 记录Agent当前版本
  • 密钥: 即secret\key,配置Agent时会用到
  • 一键安装: 较为便捷的Agent安装方式
  • 管理: 左为WebShell,中为编辑,右为删除

在线终端

即WebShell,disable-command-execute 开启时此功能不生效。
Linux和Windows均可用,可使用Ctrl+Shift+V粘贴。
连接失败请参考实时通道断开/在线终端连接失败
注意在线终端功能中,Agent也是通过WebSocket连接到公开访问域名,而非通过grpc交互。

- + diff --git a/guide/services.html b/guide/services.html index fa63e4ee..aba4a314 100644 --- a/guide/services.html +++ b/guide/services.html @@ -8,14 +8,14 @@ - +

服务区域是设置 Agent 监控外部网站或服务器的功能设置区
设置好的服务监控可以在主页中的 “服务” 页查看监控结果

使用方法

如需新增一个监控,可以进入管理面板中的 “服务” 页,点击“添加监控”

新增一个服务监控,你需要设置以下参数:

  • 名称 - 自定义一个名称

  • 类型 - 选择一个监控类型,目前哪吒监控支持三种监控类型,分别是 “HTTP-GET”、“ICMP-Ping” 和 “TCP-Ping”

  • 目标 - 根据你选择的类型不同,目标的设置方法也不同

  • HTTP-GET: 选择此类型,你应该输入一个URL作为目标,URL需添加 http://https:// 如果你的目标URL是 https:// ,将会同时监控该URL的SSL证书,当SSL证书到期或发生变更,会触发提醒
    例如: https://example.com
  • ICMP-Ping: 选择此类型时,你应该输入一个域名或IP,不含端口号
    例如:1.1.1.1 或 example.com
  • TCP-Ping: 选择此类型时,你应该输入一个域名或IP并包含端口号
    例如:1.1.1.1:80 或 example.com:22
  • 请求间隔: 设定 Agent 每次请求目标的时间间隔,以秒为单位

  • 覆盖范围: 选择一条规则来确定要使用哪些 Agent 来请求目标

  • 特定服务器: 配合覆盖范围使用,选择规则内需要排除的 Agent

  • 通知方式组: 选择你已经在 “报警” 页设置好的通知方式,点击这里了解详情

  • 启用故障通知: 根据需要选择是否接收目标故障通知,默认为不勾选

设置完成后,点击 “添加” 即可
稍等片刻前往主页的 “服务” 页,查看监控结果

延迟变化报警

哪吒监控可以监测并统计 Agent 到目标服务器之间的延迟,在发生较大变化的情况下发送通知
利用此功能可以帮助你监控服务器的线路是否发生了变化

  • 启用延迟通知: 开启时,当 Agent 至目标服务器的延迟大于最高延迟或小于最低延迟时,将会发送报警通知

管理监控

如需对已有的服务监控进行管理,可以前往管理面板中的 “服务” 页
选择一条监控配置,点击右侧的图标进行编辑或删除

- + diff --git a/guide/settings.html b/guide/settings.html index 24934397..e582fcfb 100644 --- a/guide/settings.html +++ b/guide/settings.html @@ -8,7 +8,7 @@ - + @@ -62,7 +62,7 @@ avatar.style} </style>

前台查看密码

如果你不想直接展示你的主页,你可以在这里设置一个查看密码
设置密码后,需要输入密码才可以访问主页

未接入 CDN 的面板服务器域名/IP

此项设置是使用一键脚本安装 Agent 的前提,详情请查看这里

IP 变更提醒

如果你希望当某个服务器的ip发生变更时收到通知,可以在这里进行设置

覆盖范围

在这里选择一条规则,来确定需要监控哪些服务器,可以根据自己的需求进行选择

特定服务器

配合覆盖范围的设置,在这里设置选定规则的排除项

提醒发送至指定的通知分组

选择通知方式,通知方式请提前在 “报警” 页内设置

WARNING

设置完成后,勾选启用时,通知生效


WARNING

IP变更通知默认打码,如果你不希望打码,可以勾选 “通知信息IP不打码”

- + diff --git a/guide/tasks.html b/guide/tasks.html index 6615cb02..d7fe0bb8 100644 --- a/guide/tasks.html +++ b/guide/tasks.html @@ -8,14 +8,14 @@ - +

在任务区域中,可以设置计划任务,触发任务,多服务器批量执行任务

哪吒监控支持推送命令到 Agent 执行,因此此功能非常灵活,使用此功能可以定期结合 restic、rclone 给服务器备份,定期重启某项服务来重置网络连接。也可以配合报警通知,在触发报警时执行某项任务,如 CPU 在长时期处于高占用的情况下运行某个脚本。

使用方法

进入管理面板的 “任务” 页,点击 “添加计划任务”
添加计划任务你需要填入以下参数:

  • 名称 - 自定义一个任务名称

  • 任务类型 - 选择任务的类型
    计划任务 - 按下方设置的计划时间,周期性执行任务
    触发任务 - 仅被 API 或报警规则触发的任务,每次触发执行一次

  • 计划 - (使用触发任务类型时不生效)设置计划时间,时间的格式为: * * * * * * 分别对应 秒 分 时 天 月 星期,详情见计划表达式格式
    如:0 0 3 * * * 对应为 每天3点

  • 命令 - 你可以在这里设置需要执行的命令,就像写 Shell/Bat 脚本一样,但是不推荐换行,多个命令使用 &&/& 连接
    例如执行定期重启命令,可以在这里输入 reboot

  • 覆盖范围特定服务器 - 跟“服务”页中的设置类似,选择规则来确定哪些 Agent 执行计划任务
    使用触发任务类型时,可选择由触发的服务器执行

  • 通知方式组 - 选择你已经在 “报警” 页设置好的通知方式,点击这里了解详情

  • 推送成功的消息 - 勾选此项,任务执行成功后会触发消息通知

管理任务

如需对已有的计划任务进行管理,可以前往管理面板中的 “任务” 页
选择一条任务配置,右侧的三个图标,分别是:

  • 立即执行 - 点击后将忽略计划时间,立刻执行任务
  • 编辑 - 点击可以修改任务配置
  • 删除 - 删除这条计划任务

常见问题

  1. xxx 命令找不到
    如果运行失败,提示 xxx 命令找不到,可能是 PATH 环境变量的问题,Linux 服务器在命令开头加入 source ~/.bashrc 或者使用绝对路径执行
- + diff --git a/hashmap.json b/hashmap.json index 7bb1395b..d67551b4 100644 --- a/hashmap.json +++ b/hashmap.json @@ -1 +1 @@ -{"case_case1.md":"bb4a428c","case_case2.md":"3cf56c4d","case_case3.md":"70c0a6a5","case_case4.md":"445f551c","case_index.md":"185a0524","developer_index.md":"f8a1a0ec","developer_l10n.md":"3b2ef267","developer_theme.md":"d3f1c218","en_us_case_case1.md":"99cd4f4f","en_us_case_case2.md":"51f633c1","en_us_case_case3.md":"782bfd51","en_us_case_case4.md":"207aafc1","en_us_case_index.md":"be029dac","en_us_developer_index.md":"91f46408","en_us_developer_l10n.md":"5a4d34af","en_us_developer_theme.md":"dbff9c27","en_us_guide_agent.md":"d3112ce4","en_us_guide_agentq.md":"5cb72347","en_us_guide_api.md":"5d9f6408","en_us_guide_dashboard.md":"4ad196f0","en_us_guide_dashboardq.md":"ba23b9bd","en_us_guide_loginq.md":"18fa65ac","en_us_guide_notifications.md":"38c3108a","en_us_guide_q2.md":"7a9041b4","en_us_guide_q3.md":"79169935","en_us_guide_q4.md":"8cbc55af","en_us_guide_q5.md":"4ef1f642","en_us_guide_q6.md":"3188fa5d","en_us_guide_q7.md":"df773917","en_us_guide_servers.md":"86631cfc","en_us_guide_services.md":"0b2735c5","en_us_guide_settings.md":"6bae2d67","en_us_guide_tasks.md":"99cd12e1","en_us_index.md":"9a861ce5","guide_agent.md":"d0f22c88","guide_agentq.md":"1101fd10","guide_api.md":"92319056","guide_dashboard.md":"0569080c","guide_dashboardq.md":"61e04fcd","guide_loginq.md":"6646f83a","guide_notifications.md":"704bcb6a","guide_q1.md":"3cb73fa3","guide_q2.md":"fa638989","guide_q3.md":"439c5b36","guide_q4.md":"f572abef","guide_q5.md":"502c4153","guide_q6.md":"feb76c40","guide_q7.md":"8ffd6348","guide_servers.md":"f78eb869","guide_services.md":"3bc28e6a","guide_settings.md":"466421e8","guide_tasks.md":"80852d65","index.md":"60a32a4a"} +{"case_case1.md":"ab041901","case_case2.md":"aa65704d","case_case3.md":"00ed2a5b","case_case4.md":"7efb90b0","case_case5.md":"ed51855f","case_index.md":"0e468c21","developer_index.md":"426207c3","developer_l10n.md":"7a254502","developer_theme.md":"7a2d8b90","en_us_case_case1.md":"9dedef12","en_us_case_case2.md":"b14e2e3b","en_us_case_case3.md":"5d780c14","en_us_case_case4.md":"85517e0c","en_us_case_index.md":"6a8e5490","en_us_developer_index.md":"9d8fad63","en_us_developer_l10n.md":"6cb3d58b","en_us_developer_theme.md":"33df1832","en_us_guide_agent.md":"58fef874","en_us_guide_agentq.md":"6fd0ad3a","en_us_guide_api.md":"1a609500","en_us_guide_dashboard.md":"e3929380","en_us_guide_dashboardq.md":"69fe58cd","en_us_guide_loginq.md":"cb7b70de","en_us_guide_notifications.md":"b1cfb902","en_us_guide_q2.md":"1fede52d","en_us_guide_q3.md":"9c599d6b","en_us_guide_q4.md":"74c83acc","en_us_guide_q5.md":"023197e3","en_us_guide_q6.md":"e76b06c2","en_us_guide_q7.md":"fbaf7d36","en_us_guide_servers.md":"907abee0","en_us_guide_services.md":"9aead7e8","en_us_guide_settings.md":"2c039877","en_us_guide_tasks.md":"7db037a5","en_us_index.md":"11305dae","guide_agent.md":"59488614","guide_agentq.md":"a75bbe9c","guide_api.md":"13d6fa7e","guide_dashboard.md":"81760078","guide_dashboardq.md":"7139c1fb","guide_loginq.md":"f3f9f895","guide_notifications.md":"401936ef","guide_q1.md":"cfb89f63","guide_q2.md":"1e5d3a9b","guide_q3.md":"2beb91cb","guide_q4.md":"200041ae","guide_q5.md":"4e736eea","guide_q6.md":"b699a0ae","guide_q7.md":"764a1f90","guide_servers.md":"935137e3","guide_services.md":"7b6688ec","guide_settings.md":"9d745df6","guide_tasks.md":"4870a789","index.md":"12d2b26b"} diff --git a/index.html b/index.html index d809837d..588a0fac 100644 --- a/index.html +++ b/index.html @@ -8,14 +8,14 @@ - +

哪吒监控

一个开源、轻量的服务器和网站监控、运维工具

一键安装

支持一键脚本安装面板和监控服务,轻松使用;Linux、Windows、MacOS、OpenWRT等主流系统均受支持

随时监控

支持同时监控多个服务器的系统状态,支持监控网页、端口、SSL证书状态;支持故障、流量等状态报警,支持多种通知方式(Telegram、邮件、微信等)

轻量运维

支持在线SSH,支持流量循环监控,支持设置定时任务、服务器批量执行任务

Copyright © 2022-present Nezhahq

- +