Globalcriticalrestart requiredset by the Hub
This line sets which addresses the monitor is open to and what they are allowed to do there. There are four levels: none — nobody; monitor — read-only; operator — plus viewing the configuration and running commands; admin — plus editing the configuration. deny-logs can be added to monitor to close access to the logs.
The monitor is a management console, not a viewing panel. From it you edit the configuration, run commands and delete messages from the queue. admin-level access equals access to the node.
The line repeats and is evaluated top to bottom — the first match wins. So a wide line above a narrow one overrides it: http-access 0/0 monitor at the top of the file makes everything below it meaningless.
Closed to everyone by default. The monitor listens on its port and answers 403 until an address is allowed here. The manual separately warns that the management interface should not be exposed to the internet.
The reason is written down in the code: the Hub’s address is often a shared network exit, and admin on it would go to every machine behind that same exit. If the Hub’s address is unknown, a comment is written instead of the line, and access stays local only.
Choose the level by what exactly the person you let in needs:
| Level | What it gives |
|---|---|
| none | nothing; an explicit deny higher up the list |
| monitor | reading state and queues |
| monitor,deny-logs | the same without access to logs |
| operator | plus reading the configuration and commands |
| admin | plus editing the configuration |
The order of lines matters: narrow ones above wide ones.
# narrow lines above wide ones: evaluation goes top to bottom http-mgmt-port 1000 http-access 127.0.0.1 admin http-access 10.0.0.5 monitorhttp-access 0/0 none
what people get wrong and how it ends3 mistakes▶
§ 3.3.1.58.3
§ 8.2
our experience
3 relations
http-mgmt-portGlobalThe port opens the door, the list decides whom to let through it. § 3.3.1.58.3http-redirect-to-httpsGlobalOne decides whom to let in, the other whether they come encrypted. inferencehttp-mgmt-sourceGlobalCame to replace it and, unlike it, distinguishes access levels. § 3.3.1.58.7no-http-mgmt-sourceGlobalCame to replace it: denial is now written with the same line with the none level. § 3.3.1.58.7http-enable-api-configGlobalWhat was created can be read by access level, but changed only with a key. inferencelog-fileGlobalThe monitor’s refusals by address are written to a log of the same family — only to its own file, pmtahttp.log. § 3.3.1.58.3
curl -s -o /dev/null -w '%{http_code}\n' http://NODE:1000/status
3 articles
◇The vendor's analytics — and what leaves the node for itA paid service that receives the node’s accounting data and returns analytics, a health score and a spam trap report; it is enabled by scope and stays off until its block exists.◇Exposing metrics over SNMPThe node can expose its metrics over SNMP — a second way of monitoring besides the web monitor.◇What the node tells about itself and through which channelsSeven observation surfaces: the web monitor, the console in four formats, the log, accounting, accounting search, metrics and export to external analytics.