-
Notifications
You must be signed in to change notification settings - Fork 33
HTTP Interface
Jon Watte edited this page Sep 24, 2012
·
1 revision
istatd comes with an HTTP interface, part of which is a useful REST-like service. In fact, istatd's web frontend is simply a small convenience layer over that. However, it occasionally comes in handy to talk to this remote service directly, for various monitoring and exporting utilities.
The following are different requests that can be made:
-
Get a counter -
GETrequest to retrieve data for a single counter. -
Get multiple counters -
POSTrequest to retrieve data for multiple counters at once. -
List matching counters -
GETrequest to find counter names that match a given pattern. -
List matching agents -
GETrequest to find agents which have forwarded data to this istatd server that match a given pattern. -
Get files -
GETrequest to fetch assets contained in thefiles/folder. -
Get settings -
GETrequest to retrieve a named settings file. -
Write settings -
POSTrequest to save a named settings file.