Skip to main content

Local Mode

Local mode runs Ithiltir-node as a single-host HTTP server. It does not require Dash.

Start

ithiltir-node [--net eth0,eth1]

Default listen address:

0.0.0.0:9100

Environment variables:

VariableDescription
NODE_HOSTListen host
NODE_PORTListen port
ITHILTIR_NODE_LOCAL_PAGE_DIROverride local page directory

Endpoints

MethodPathResponse
GET, HEAD/Local HTML page
GET, HEAD/localAlias of /
GET, HEAD/metricsNodeReport
GET, HEAD/staticStatic

Before the first sample, /metrics returns 503. Before static data is ready, /static returns 503.

Local Page Override

Directory layout:

localpage/
page.html
assets/
page.css
page.js

Set:

export ITHILTIR_NODE_LOCAL_PAGE_DIR=/path/to/localpage

The node serves page.html for / and static files under /assets/.