Last updated
Last updated
To collect hardware information from your servers, you need Capture, a server monitoring agent for Checkmate. Capture receives requests from Checkmate (server), and sends necessary infrastructure status data.
Capture is a hardware monitoring agent that collects hardware information from the host machine and exposes it through a RESTful API. The agent is designed to be lightweight and easy to use.
Capture is only available for Linux.
Docker installation is recommended for running the Capture. Please see the section for more information.
Pull the image from the registry and then run it with one command.
If you don't want to pull the image, you can build and run it locally.
Before running the container, please make sure to replace the REPLACE_WITH_YOUR_SECRET
with your own secret.
! You need to put this secret to Checkmate's infrastructure monitoring dashboard
-v /etc/os-release:/etc/os-release:ro
to get platform information correctly
-p 59232:59232
to expose the port 59232
-d
to run the container in detached mode
-e API_SECRET=REPLACE_WITH_YOUR_SECRET
to set the API secret
(optional) -e GIN_MODE=release/debug
to switch between release and debug mode
Recommended installation path is /usr/local/bin
.
Do not forget to make the binary executable.
You can install the Capture using the go install
command.
You can build the Capture from the source code.
Clone the repository
Change the directory
Build the Capture
or
Run the Capture
Configure the capture with the following environment variables:
Please make sure to replace the default your_secret
with your own secret.
! You need to put this secret to Checkmate's infrastructure monitoring dashboard
You can download the pre-built binaries from the page.
is essential for cloning the repository.
is required to build the project.
is optional but recommended for building the project with pre-defined commands.
API_SECRET
The secret key for the API
Required
string
-
Any string value
PORT
The port that the Capture listens on
Optional
integer
59232
0 - 65535
GIN_MODE
The mode of the Gin framework
Optional
string
system -> debug docker -> release
release, debug