Installing & configuring Node Exporter
Download and install Node Exporter
Download the latest version of Node Exporter and run the checksum verification process to ensure that the downloaded file has not been tampered with.
Each downloadable file comes with it's own checksum. Replace the actual checksum and URL of the download link in the code block above.
Make sure to choose the amd64 version. Right click on the linked text and select "copy link address" to get the URL of the download link to curl
.
Expected output: Verify output of the checksum verification
If checksum is verified, extract the files and move them into the (/usr/local/bin)
directory for neatness and best practice. Then, clean up the duplicated copies.
Configure the Node Exporter service
Create an account (node_exporter
) without server access for Node Exporter to run as a background service. This restricts potential attackers to only the Node Exporter service in the unlikely event that they manage to infiltrate via a compromised client update.
Create a systemd configuration file for the Node Exporter service to run in the background.
Paste the configuration parameters below into the file:
Once you're done, save with Ctrl+O
and Enter
, then exit with Ctrl+X
.
Start the Node Exporter service
Reload systemd to register the changes made, start the Node Exporter service, and check its status to make sure its running.
Expected output: The output should say Node Exporter is “active (running)”. Press CTRL-C to exit and Node Exporter will continue to run.
Use the following command to check the logs of Teku Beacon Node’s syncing process. Watch out for any warnings or errors.
Expected output:
Press Ctrl+C
to exit monitoring.
If the Node Exporter service is running smoothly, we can now enable it to fire up automatically when rebooting the system.
Last updated