orm_webserver

Onload User Guide (UG1586)

Document ID
UG1586
Release Date
2023-07-31
Revision
1.2 English

To allow the statistics to be queried from a remote machine, run the orm_webserver Python script on the machine that is running Onload, specifying a port through which HTTP clients can connect:

# orm_webserver <port>

The script starts a webserver process that provides the following URLs, where <stackname> is the EF_NAME for a stack:

  • http://<serverhost>:<port>/onload/stats
  • http://<serverhost>:<port>/onload/stack
  • http://<serverhost>:<port>/onload/opts
  • http://<serverhost>:<port>/onload/lots
  • http://<serverhost>:<port>/onload/all
  • http://<serverhost>:<port>/onload/stackname/<stackname>/stats
  • http://<serverhost>:<port>/onload/stackname/<stackname>/stack
  • http://<serverhost>:<port>/onload/stackname/<stackname>/opts
  • http://<serverhost>:<port>/onload/stackname/<stackname>/lots
  • http://<serverhost>:<port>/onload/stackname/<stackname>/all

Gathering the Statistics

An example of how to set up collectd to gather statistics from Onload Remote Monitor is provided in:

onload-<version>/src/tests/onload/onload_remote_monitor/using_collectd/