{"id":6145,"date":"2026-04-18T13:00:00","date_gmt":"2026-04-18T08:00:00","guid":{"rendered":"https:\/\/zilleali.com\/proxmox-isp-monitoring-stack\/"},"modified":"2026-11-25T16:07:43","modified_gmt":"2026-11-25T11:07:43","slug":"proxmox-isp-monitoring-stack","status":"publish","type":"post","link":"https:\/\/zilleali.com\/zh\/proxmox-isp-monitoring-stack\/","title":{"rendered":"\u5728 Proxmox \u4e0a\u6784\u5efa ISP \u76d1\u63a7\u5806\u6808"},"content":{"rendered":"<p>\u53ef\u9760\u7684 ISP \u76d1\u63a7\u5806\u6808\u5728 Proxmox \u4e3b\u673a\u4e0a\u5e94\u5728\u60a8\u6784\u5efa\u7684\u6bcf\u4e2a POP \u4e2d\u4fdd\u6301\u76f8\u540c\u3002<\/p>\n<p>\u6bcf\u4e2a POP \u90fd\u4f7f\u7528\u76f8\u540c\u7684\u76d1\u63a7\u6784\u5efa\uff0c\u56e0\u4e3a\u5728\u6545\u969c\u671f\u95f4\u8bbe\u8ba1\u76d1\u63a7\u662f\u6700\u7cdf\u7cd5\u7684\u65f6\u673a\u3002\u8fd9\u5c31\u662f\u5806\u6808\u3001\u89c4\u6a21\u4ee5\u53ca\u771f\u6b63\u89e6\u53d1\u7684\u8b66\u62a5\u3002<\/p>\n<h2 id=\"the-isp-monitoring-stack-proxmox-hosts\">ISP \u76d1\u63a7\u5806\u6808 Proxmox \u4e3b\u673a<\/h2>\n<table>\n<thead>\n<tr>\n<th>\u7ec4\u4ef6<\/th>\n<th>\u89d2\u8272<\/th>\n<th>\u5bb9\u5668\u89c4\u6a21<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>LibreNMS<\/strong><\/td>\n<td>SNMP \u8f6e\u8be2\u3001\u8bbe\u5907\u6e05\u5355\u3001\u544a\u8b66<\/td>\n<td>4 vCPU\uff0c8 GB RAM\uff0c100 GB<\/td>\n<\/tr>\n<tr>\n<td><strong>Grafana<\/strong><\/td>\n<td>\u7528\u4e8e NOC \u5c4f\u5e55\u548c\u7ba1\u7406\u7684\u4eea\u8868\u677f<\/td>\n<td>2 vCPU\uff0c2 GB RAM\uff0c20 GB<\/td>\n<\/tr>\n<tr>\n<td><strong>SmokePing<\/strong><\/td>\n<td>\u5ef6\u8fdf\u548c\u4e22\u5305\u57fa\u51c6<\/td>\n<td>1 vCPU\uff0c1 GB RAM\uff0c20 GB<\/td>\n<\/tr>\n<tr>\n<td><strong>Uptime Kuma<\/strong><\/td>\n<td>\u9762\u5411\u516c\u4f17\u7684\u670d\u52a1\u68c0\u67e5\u548c\u72b6\u6001\u9875\u9762<\/td>\n<td>1 vCPU\uff0c1 GB RAM\uff0c10 GB<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u6240\u6709\u56db\u4e2a\u7ec4\u4ef6\u90fd\u4f5c\u4e3a\u975e\u7279\u6743 LXC \u5bb9\u5668\u8fd0\u884c\u5728\u5355\u4e2a Proxmox VE \u8282\u70b9\u4e0a\u3002\u7ea6 800 \u53f0\u53d7\u76d1\u63a7\u8bbe\u5907\u65f6\uff0c\u8282\u70b9 CPU \u4f7f\u7528\u7387\u7ea6\u4e3a 6%\u2014\u2014\u74f6\u9888\u5728\u4e8e RRD \u5199\u5165\u5bfc\u81f4\u7684\u78c1\u76d8 I\\\/O\uff0c\u800c\u975e\u8ba1\u7b97\u3002\u5c06 <a href=\"https:\/\/docs.librenms.org\/\">LibreNMS<\/a> \u5bb9\u5668\u653e\u5728 SSD \u4e0a\u3002<\/p>\n<p><picture><source srcset=\"https:\/\/zilleali.com\/wp-content\/uploads\/2026\/11\/proxmox-isp-monitoring-stack-supporting-1.webp\" type=\"image\/webp\"><img decoding=\"async\" src=\"https:\/\/zilleali.com\/wp-content\/uploads\/2026\/11\/proxmox-isp-monitoring-stack-supporting-1.webp\" alt=\"ISP monitoring stack Proxmox hosts: VE node running LibreNMS, Grafana, SmokePing and Uptime Kuma containers polling the network over SNMP v3\"><\/picture><\/p>\n<h2 id=\"build-order-that-avoids-rework\">\u907f\u514d\u8fd4\u5de5\u7684\u6784\u5efa\u987a\u5e8f<\/h2>\n<ol>\n<li><strong>Proxmox \u4e3b\u673a<\/strong>: \u4e3a\u5bb9\u5668\u548c\u5907\u4efd\u63d0\u4f9b\u72ec\u7acb\u5b58\u50a8\uff0c\u5982\u679c\u6709\u8db3\u591f\u5185\u5b58\u53ef\u4f7f\u7528 ZFS\uff0c\u5e76\u4e14\u5728\u9762\u5411\u5ba2\u6237\u7684\u7f51\u7edc\u4e0d\u53ef\u7528\u65f6\u4ecd\u53ef\u8bbf\u95ee\u7684\u7ba1\u7406 VLAN\u3002<\/li>\n<li><strong>\u9996\u5148\u90e8\u7f72 LibreNMS<\/strong>, \u4f7f\u7528 SNMP v3\uff08auth + priv\uff09\u2014\u2014\u5728\u9762\u5411\u516c\u4f17\u7684\u8fb9\u7f18\u4f7f\u7528 v2c \u793e\u533a\u5b57\u7b26\u4e32\u662f\u6f5c\u5728\u7684\u5b89\u5168\u9690\u60a3\u3002<\/li>\n<li><strong>SmokePing<\/strong> \u6307\u5411\u60a8\u7684\u4e0a\u6e38\u7f51\u5173\u3001\u50cf 1.1.1.1 \u8fd9\u6837\u7684\u516c\u5171\u951a\u70b9\u4ee5\u53ca\u6bcf\u4e2a\u5854\u5f0f\u8def\u7531\u5668\u3002<\/li>\n<li><strong>Grafana<\/strong> \u6700\u540e\uff0c\u4ece LibreNMS \u8bfb\u53d6\u3002\u4e0d\u8981\u5728\u4e86\u89e3\u6545\u969c\u539f\u56e0\u4e4b\u524d\u6784\u5efa\u4eea\u8868\u677f\u3002<\/li>\n<\/ol>\n<h2 id=\"snmp-on-routeros\">RouterOS \u4e0a\u7684 SNMP<\/h2>\n<pre><code class=\"language-routeros\">\\\/snmp community\\nadd name=nms-v3 authentication-protocol=SHA1 encryption-protocol=AES \\\\\\n    authentication-password= encryption-password= \\\\\\n    security=private addresses=10.60.0.0\\\/24\\n\\n\\\/snmp\\nset enabled=yes contact=\\\"noc@example.net\\\" location=\\\"POP-A\\\"\n<\/code><\/pre>\n<p>\u9650\u5236 <code>\u5730\u5740<\/code> \u5230\u76d1\u63a7\u5b50\u7f51\u662f\u76d1\u63a7\u4e0e\u4fe1\u606f\u6cc4\u9732\u6f0f\u6d1e\u4e4b\u95f4\u7684\u533a\u522b\u3002<\/p>\n<h2 id=\"snmp-polling-mistakes-that-skew-your-graphs\">\u5bfc\u81f4\u56fe\u8868\u504f\u5dee\u7684 SNMP \u8f6e\u8be2\u9519\u8bef<\/h2>\n<p>\u6211\u6536\u5230\u7684\u4e00\u534a\u201cLibreNMS \u5728\u9a97\u6211\u201d\u7684\u6295\u8bc9\u90fd\u53ef\u4ee5\u8ffd\u6eaf\u5230\u8fd9\u4e9b\u95ee\u9898\uff0c\u800c\u4e0d\u662f LibreNMS \u7684 bug\uff1a<\/p>\n<ul>\n<li><strong>\u5728\u8d85\u8fc7 1 Gbps \u7684\u63a5\u53e3\u4e0a\u672a\u8bbe\u7f6e ifHighSpeed\u3002<\/strong> LibreNMS \u4f1a\u56de\u9000\u5230 32 \u4f4d\u7684 ifSpeed \u8ba1\u6570\u5668\uff0c\u5176\u8ba1\u7b97\u4e0a\u9650\u4e3a 4.29 Gbps\uff0c\u8d85\u8fc7\u6b64\u503c\u4f1a\u6084\u6084\u4ea7\u751f\u9519\u8bef\u7684\u767e\u5206\u6bd4\u3002\u786e\u4fdd\u9ad8\u5bb9\u91cf\u63a5\u53e3\u4ee5 Mbps \u62a5\u544a ifHighSpeed\uff0cRouterOS \u5728 SFP28\/QSFP \u7aef\u53e3\u4e0a\u9ed8\u8ba4\u6b63\u786e\u5b9e\u73b0\u2014\u2014\u9519\u8bef\u901a\u5e38\u6765\u6e90\u4e8e\u65e7\u7684\u81ea\u5b9a\u4e49 MIB \u8986\u76d6\uff0c\u800c\u975e RouterOS \u672c\u8eab\u3002<\/li>\n<li><strong>\u5728\u5168\u7ad9\u8303\u56f4\u5185\u4ee5\u5c0f\u4e8e 60 \u79d2\u7684\u95f4\u9694\u8f6e\u8be2\u201c\u4ee5\u786e\u4fdd\u5b89\u5168\u201d\u3002\u201d<\/strong> \u5728\u51e0\u767e\u53f0\u8bbe\u5907\u4e0a\uff0c\u8fd9\u4f1a\u4f7f\u8f6e\u8be2\u5668\u672c\u8eab\u6210\u4e3a\u74f6\u9888\uff0c\u8d1f\u8f7d\u4e0b\u4f1a\u4e22\u5931\u8f6e\u8be2\uff0c\u4ece\u800c\u89e6\u53d1\u9519\u8bef\u7684\u8bbe\u5907\u5b95\u673a\u544a\u8b66\u3002\u4e94\u5206\u949f\u4e00\u6b21\u7684\u8f6e\u8be2\u8db3\u4ee5\u8fdb\u884c\u5bb9\u91cf\u8d8b\u52bf\u5206\u6790\uff1b\u5bf9\u4e8e\u60a8\u771f\u6b63\u9700\u8981\u7684\u5ef6\u8fdf\u5206\u8fa8\u7387\uff0c\u8bf7\u4f7f\u7528 SmokePing\uff0c\u800c\u975e SNMP \u8f6e\u8be2\u3002<\/li>\n<li><strong>\u6bcf\u4e2a\u8bbe\u5907\u4f7f\u7528\u4e00\u4e2a SNMP \u793e\u533a\u3002<\/strong> Fine for a lab, not for 28 sites &#8211; if one router&#8217;s community leaks, you are rotating credentials everywhere at once instead of on one device. Scope community\/v3 users per site or per device tier.<\/li>\n<li><strong>Trusting default RouterOS SNMP OIDs for queue stats.<\/strong> Simple queues report differently from queue trees in SNMP. If PCQ or HTB is doing the real shaping, poll the queue tree OIDs directly rather than assuming the simple-queue graph reflects actual throughput.<\/li>\n<\/ul>\n<h2 id=\"adding-flow-visibility-with-routeros-traffic-flow\">Adding flow visibility with RouterOS traffic-flow<\/h2>\n<p>SNMP tells you how full an interface is. It does not tell you which subscriber, protocol, or destination is filling it &#8211; that is what NetFlow\/IPFIX is for, and RouterOS exports it natively without extra licensing:<\/p>\n<pre><code class=\"language-routeros\">\/traffic-flow\nset enabled=yes interfaces=all cache-entries=256k active-flow-timeout=30s\n\n\/traffic-flow target\nadd address=10.60.0.5 port=2055 version=9 v9-template-refresh=20 v9-template-timeout=30m\n<\/code><\/pre>\n<p>Point that at a flow collector (nfdump, or LibreNMS&#8217;s own flow support if you enable the module) and keep it on the same monitoring VLAN the SNMP community is scoped to &#8211; a flow export is itself traffic metadata worth protecting. This is what actually answers &#8220;why is uplink utilisation suddenly at 90%&#8221; during an incident instead of just confirming that it is.<\/p>\n<h2 id=\"alerts-worth-waking-up-for\">Alerts worth waking up for<\/h2>\n<p>Most default alert sets are noise. These are the rules that earn their place:<\/p>\n<ul>\n<li><strong>Device down for 3 polls<\/strong> \u2014 not 1. A single missed poll is usually the poller, not the device.<\/li>\n<li><strong>Interface utilisation &gt; 80% for 15 minutes<\/strong> \u2014 capacity planning signal, not an emergency page.<\/li>\n<li><strong>Uplink packet loss &gt; 2% for 5 minutes<\/strong> \u2014 this is the one that catches upstream problems before the phones ring.<\/li>\n<li><strong>PPPoE session count drops &gt; 20% in 10 minutes<\/strong> \u2014 a tower or BNG problem, visible before individual complaints.<\/li>\n<li><strong>Optical RX power drift &gt; 3 dB from baseline<\/strong> \u2014 a splice or connector degrading; fix it in daylight rather than at 2 am.<\/li>\n<li><strong>Proxmox host disk &gt; 85%<\/strong> \u2014 because the monitoring dying silently is the worst failure of all.<\/li>\n<\/ul>\n<p>Route them by severity: chat for informational, phone call only for the ones that mean customers are offline.<\/p>\n<h2 id=\"grafana-panels-worth-building-on-day-one\">Grafana panels worth building on day one<\/h2>\n<p>An empty Grafana instance is worse than no Grafana &#8211; it invites someone to build a dozen panels nobody reads. Start with five that earn a daily glance:<\/p>\n<ol>\n<li><strong>Top 10 interfaces by utilisation<\/strong>, sorted descending, refreshed every minute &#8211; the single panel that answers &#8220;is anything close to saturated right now.&#8221;<\/li>\n<li><strong>SmokePing latency heatmap per upstream<\/strong> &#8211; a slow creep here predicts a support-ticket spike before it happens.<\/li>\n<li><strong>PPPoE active session count over 24 hours<\/strong>, per BNG &#8211; a flat line at the wrong time of day is as informative as a drop.<\/li>\n<li><strong>Optical RX power per ONU\/OLT port<\/strong>, trended over 30 days &#8211; this is the panel that turns the alert threshold in the next section from a guess into a baseline.<\/li>\n<li><strong>Proxmox host resource panel<\/strong> &#8211; CPU, RAM, and disk I\/O for the node running the monitoring stack itself, because a monitoring stack that cannot see its own host failing is not finished.<\/li>\n<\/ol>\n<h2 id=\"retention-and-backups\">Retention and backups<\/h2>\n<p>RRD data compacts on its own; the database does not. Keep 90 days of syslog and eventlog, and back up the LibreNMS database plus <code>\/opt\/librenms\/config.php<\/code> nightly to a different physical box. Snapshot the containers weekly from Proxmox.<\/p>\n<p>Test a restore once. A backup you have never restored is a belief, not a backup.<\/p>\n<h2 id=\"what-this-stack-does-not-replace\">What this stack does not replace<\/h2>\n<p>Worth saying plainly: LibreNMS, Grafana, SmokePing, and Uptime Kuma answer &#8220;is something wrong and roughly where&#8221; &#8211; they are not a ticketing system, an escalation chain, or a root-cause database. Pair this with:<\/p>\n<ul>\n<li><strong>A real ticketing\/escalation path<\/strong>, even a simple one, so an alert in chat actually becomes an owned task with a timestamp &#8211; &#8220;someone saw it in the channel&#8221; is not the same as &#8220;someone is working it.&#8221;<\/li>\n<li><strong>A change log separate from monitoring<\/strong>, so when a graph shifts at 3pm, the first question &#8211; &#8220;did someone change something?&#8221; &#8211; has a fast answer instead of starting an investigation from zero.<\/li>\n<li><strong>Vendor support contacts and SLAs<\/strong> for anything this stack flags but cannot fix itself, like upstream packet loss on a transit link that is not yours to touch.<\/li>\n<\/ul>\n<p>A monitoring stack earns its keep by shortening the gap between &#8220;something broke&#8221; and &#8220;someone who can fix it knows exactly what broke.&#8221; Everything in this guide is in service of that one gap &#8211; nothing here matters if the alert fires into a channel nobody is watching at 2 am.<\/p>\n<h2 id=\"multi-pop-visibility-one-librenms-instance-or-one-per-site\">Multi-POP visibility: one LibreNMS instance or one per site?<\/h2>\n<p>One central LibreNMS instance polling every POP over a site-to-site tunnel works fine up to roughly a dozen sites, as long as the tunnels themselves are reliable &#8211; the moment a WAN link to one POP flaps, every device behind it reports down at once, which is correct but noisy. Past that, two patterns actually hold up:<\/p>\n<ul>\n<li><strong>Regional LibreNMS instances<\/strong> (one per metro or per upstream provider), each feeding a shared Grafana that reads from all of them via multiple data sources. This isolates a WAN flap to one instance&#8217;s alerting and keeps the blast radius of any single LibreNMS outage small.<\/li>\n<li><strong>A lightweight local poller per POP<\/strong> (a small LXC running just SmokePing and a distributed poller agent) reporting back to one central LibreNMS, so latency\/loss detection survives even if the backhaul to the central instance briefly drops &#8211; the local poller buffers and catches up.<\/li>\n<\/ul>\n<p>Neither pattern is worth building before you actually have the multi-site problem. A single LibreNMS instance covering every POP from one Proxmox host, per the build order above, is the right starting point &#8211; this is the upgrade path once that instance is itself page one of the dashboard every morning.<\/p>\n<h2 id=\"start-smaller-than-this\">Start smaller than this<\/h2>\n<p>If you are deploying your first POP, run LibreNMS and SmokePing only. Add Grafana when someone asks for a wall display, and Uptime Kuma when you want a public status page. A monitoring stack you understand end to end beats a bigger one you inherited and never verified.<\/p>","protected":false},"excerpt":{"rendered":"<p>LibreNMS, Grafana, and SmokePing on a single Proxmox host \u2014 the exact stack, container sizing, and alert rules we deploy at every new POP.<\/p>","protected":false},"author":1,"featured_media":6415,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"googlesitekit_rrm_CAow6N_ODA:productID":"","_chatbot_visible":"","_zea_seo_title":"ISP Monitoring Stack on Proxmox: LibreNMS & Grafana","_zea_seo_description":"The ISP monitoring stack Proxmox hosts at every POP: LibreNMS, Grafana, and SmokePing sizing, container specs, and real alert rules.","_zea_seo_focus_keyphrase":"ISP monitoring stack Proxmox","_zea_seo_canonical":"","_zea_seo_robots_noindex":false,"_zea_seo_robots_nofollow":false,"_zea_seo_sitemap_exclude":false,"_zea_seo_cornerstone":false,"_zea_seo_sitemap_priority":"","_zea_seo_og_title":"Building an ISP Monitoring Stack on Proxmox","_zea_seo_og_description":"Deploy a high-availability NOC telemetry stack on Proxmox VE: Zabbix 7.0 SNMP polling, Grafana dashboards, and automated alert feeds.","_zea_seo_og_image":"https:\/\/zilleali.com\/wp-content\/uploads\/2026\/11\/card_post_isp_ops.jpg","_zea_seo_twitter_title":"Building an ISP Monitoring Stack on Proxmox","_zea_seo_twitter_description":"Deploy a high-availability NOC telemetry stack on Proxmox VE: Zabbix 7.0 SNMP polling, Grafana dashboards, and automated alert feeds.","_zea_seo_analysis_score":0,"_zea_ai_pending":false,"_zea_ai_notes":"","_zea_ai_keyword":"","footnotes":""},"categories":[207],"tags":[213,205,198,212,211],"class_list":["post-6145","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-grafana","tag-infrastructure","tag-isp","tag-librenms","tag-proxmox"],"_links":{"self":[{"href":"https:\/\/zilleali.com\/zh\/wp-json\/wp\/v2\/posts\/6145","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zilleali.com\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zilleali.com\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zilleali.com\/zh\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zilleali.com\/zh\/wp-json\/wp\/v2\/comments?post=6145"}],"version-history":[{"count":9,"href":"https:\/\/zilleali.com\/zh\/wp-json\/wp\/v2\/posts\/6145\/revisions"}],"predecessor-version":[{"id":6379,"href":"https:\/\/zilleali.com\/zh\/wp-json\/wp\/v2\/posts\/6145\/revisions\/6379"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/zilleali.com\/zh\/wp-json\/wp\/v2\/media\/6415"}],"wp:attachment":[{"href":"https:\/\/zilleali.com\/zh\/wp-json\/wp\/v2\/media?parent=6145"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zilleali.com\/zh\/wp-json\/wp\/v2\/categories?post=6145"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zilleali.com\/zh\/wp-json\/wp\/v2\/tags?post=6145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}