OpenShift Router Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 11: Line 11:


The statistics are available on port 1936 (or the value of "STATS_PORT" environment variable declared in the router configuration). See [[#Query|Query]] above. The user name is "admin" (or the value of "STATS_USERNAME" environment variable). The password is the value of the "STATS_PASSWORD" environment variable.
The statistics are available on port 1936 (or the value of "STATS_PORT" environment variable declared in the router configuration). See [[#Query|Query]] above. The user name is "admin" (or the value of "STATS_USERNAME" environment variable). The password is the value of the "STATS_PASSWORD" environment variable.
<font color=red>curl -u admin -p http://localhost:1936</font>

Revision as of 16:31, 12 October 2017

Internal

Query

oadm router -o yaml

Statistics

The statistics are available on port 1936 (or the value of "STATS_PORT" environment variable declared in the router configuration). See Query above. The user name is "admin" (or the value of "STATS_USERNAME" environment variable). The password is the value of the "STATS_PASSWORD" environment variable.

curl -u admin -p http://localhost:1936