Every monitor page can be retrieved as a structure: the format=xml or format=json parameter on the address without the /ui suffix. By default the monitor root redirects a browser to /ui.
The XML and JSON structures match field for field — the manual gives the status response in both formats — so the reading side takes whichever suits it.
Which address for whom:
| For whom | Address | Format |
|---|---|---|
| a person | with /ui | a page |
| an XML program | without /ui, format=xml | XML |
| a JSON program | without /ui, format=json | JSON |
# one page in two formats curl -s 'http://127.0.0.1:8080/status?format=json'curl -s 'http://127.0.0.1:8080/status?format=xml'
2 relations
curl -s 'http://127.0.0.1:8080/status?format=json' | head -c 200
3 articles
◇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.◇Two inbound report processors and what to do with themBounces by message and complaints are parsed by two identically structured blocks; each has its own address list and its own pair of decisions about the message’s fate.◇Five ways for a queue to hand off a messageA queue does not have to use SMTP: it can write to a file, run a program, call over HTTP or discard.