> ## Documentation Index
> Fetch the complete documentation index at: https://docs.beaconcha.in/llms.txt
> Use this file to discover all available pages before exploring further.

# Mobile App <> Cl Node Monitoring

> A step-by-step tutorial on how to monitor your staking device and consensus layer node on the beaconcha.in mobile app

# Mobile App Node Monitoring

## General

This is a free monitoring tool provided by [beaconcha.in](https://beaconcha.in/) to enhance the solo staking experience. The user specifies the monitoring endpoint on its consensus layer and validator node.

![Screenshot: Mobile app and node monitoring overview](https://mintcdn.com/bitflyexplorergmbh/bISFwNjB_9Ym1Ov6/.gitbook/assets/image%20\(152\).png?fit=max\&auto=format\&n=bISFwNjB_9Ym1Ov6\&q=85\&s=a13a291d3ffd4b8b23444f4046befe25)

*By using this endpoint, beaconcha.in will be allowed and is required to store the given data to display it in the beaconcha.in the mobile application. To protect user privacy, the IP address will **never** be stored*

### **Requirements**

* beaconcha.in [Account](https://beaconcha.in/register)
* beaconcha.in [Mobile App](https://beaconcha.in/mobile)
* **Lighthouse** [**v.1.4.0**](https://github.com/sigp/lighthouse/releases) or higher
* **Prysm** [**v1.3.10**](https://github.com/prysmaticlabs/prysm/releases) or higher
* **Nimbus** [**v1.4.1**](https://github.com/status-im/nimbus-eth2/releases) **or higher**
* **Teku v22.3.0 or higher**
* **Lodestar** [**v1.6.0**](https://github.com/ChainSafe/lodestar/releases) **or higher**
* Staking on Linux (No windows support by clients yet!)

> [!NOTE]
>
> Please adjust the network on the beaconcha.in browser and mobile app accordingly.

Both the beaconcha.in [explorer](https://github.com/gobitfly/eth2-beaconchain-explorer) and the [mobile app](https://github.com/gobitfly/eth2-beaconchain-explorer-app) are open source!

## Lighthouse

*A step-by-step guide on the Prater Testnet. Please adjust the network for your own needs.*

1. Open the [**Mobile App** ](https://beaconcha.in/user/settings#app)Tab and enter a name for your staking setup.\
   Use the same worker name even if your consensus layer node runs on a separate machine than your validator node.\
   Copy the generated flag, replace `<your-api-key>` with your API key and paste it to your **beacon & validator node**

![Screenshot: Lighthouse mobile app flag in settings](https://mintcdn.com/bitflyexplorergmbh/bISFwNjB_9Ym1Ov6/.gitbook/assets/mspaint_2021-08-05_08-47-46.png?fit=max\&auto=format\&n=bISFwNjB_9Ym1Ov6\&q=85\&s=76a611df3aec7d6ee35482b12ac47e30)

![Screenshot: Lighthouse command line flags](https://mintcdn.com/bitflyexplorergmbh/bISFwNjB_9Ym1Ov6/.gitbook/assets/mspaint_2021-08-05_08-59-42.png?fit=max\&auto=format\&n=bISFwNjB_9Ym1Ov6\&q=85\&s=038cd38aa720eeb00732ec8d483c8e32)

*If your consensus layer node or execution layer node is not in sync yet, you will see some warning in the logs!*

\
2\. Open the [beaconcha.in mobile app](https://beaconcha.in/mobile) and login with your account under *Preferences.*\
Your staking device will appear under *Machines*!

![Screenshot: Mobile app Machines view](https://mintcdn.com/bitflyexplorergmbh/bISFwNjB_9Ym1Ov6/.gitbook/assets/grafik%20\(5\).png?fit=max\&auto=format\&n=bISFwNjB_9Ym1Ov6\&q=85\&s=1d008b8a94e486eb3da6b7e7c41bce12)

## Prysm

1. Head over to the [beaconcha.in settings](https://beaconcha.in/user/settings#app) and open the prysm section:

![Screenshot: Prysm section in beaconcha.in settings](https://mintcdn.com/bitflyexplorergmbh/bISFwNjB_9Ym1Ov6/.gitbook/assets/firefox_2021-08-05_09-51-26.png?fit=max\&auto=format\&n=bISFwNjB_9Ym1Ov6\&q=85\&s=5a28223deb59a3d07be2c4cb23694a9b)

2\. Open a **new Terminal**, copy the commands, replace `<your-api-key>` with your API key and paste them

![Screenshot: Prysm exporter configuration](https://mintcdn.com/bitflyexplorergmbh/bISFwNjB_9Ym1Ov6/.gitbook/assets/mspaint_2021-08-05_09-53-29.png?fit=max\&auto=format\&n=bISFwNjB_9Ym1Ov6\&q=85\&s=84cf66578d92564d9b8a29948ad90c8d)

3\. Make sure your Prysm client (consensus layer node and validator client) is already up and running. The exporter will now send the data to your mobile app!

![Screenshot: Prysm exporter sending data](https://mintcdn.com/bitflyexplorergmbh/bISFwNjB_9Ym1Ov6/.gitbook/assets/mspaint_2021-08-05_09-55-15.png?fit=max\&auto=format\&n=bISFwNjB_9Ym1Ov6\&q=85\&s=ff2963815c3840c4eed34009e914ebb8)

4\. Wait a few minutes and open the [beaconcha.in mobile app](https://beaconcha.in/mobile) and login with your account under *Preferences.*\
\
Your staking device will appear under *Machines*!

![Screenshot: Mobile app Machines view](https://mintcdn.com/bitflyexplorergmbh/bISFwNjB_9Ym1Ov6/.gitbook/assets/grafik%20\(5\).png?fit=max\&auto=format\&n=bISFwNjB_9Ym1Ov6\&q=85\&s=1d008b8a94e486eb3da6b7e7c41bce12)

## Nimbus

1. Head over to the [beaconcha.in settings](https://beaconcha.in/user/settings#app) and open the nimbus section:

![Screenshot: Nimbus section in beaconcha.in settings](https://mintcdn.com/bitflyexplorergmbh/o2bk90yHmcEfKQGJ/.gitbook/assets/mspaint_2021-08-05_10-14-30.png?fit=max\&auto=format\&n=o2bk90yHmcEfKQGJ\&q=85\&s=5f66c21b5dcd9a70849b0100c4b7ab9b)

2\. Add `--metrics --metrics-port=8008` to your nimbus client! Otherwise, the exporter will not be able to get any data from your client.

![Screenshot: Nimbus client metrics flags](https://mintcdn.com/bitflyexplorergmbh/bISFwNjB_9Ym1Ov6/.gitbook/assets/mspaint_2021-08-05_10-13-08.png?fit=max\&auto=format\&n=bISFwNjB_9Ym1Ov6\&q=85\&s=3a549b13a457ab98c2d8cb45d4e64653)

3\. Wait a few minutes and open the [beaconcha.in mobile app](https://beaconcha.in/mobile) and login with your account under *Preferences.*\
\
Your staking device will appear under *Machines*!

![Screenshot: Mobile app Machines view](https://mintcdn.com/bitflyexplorergmbh/bISFwNjB_9Ym1Ov6/.gitbook/assets/grafik%20\(5\).png?fit=max\&auto=format\&n=bISFwNjB_9Ym1Ov6\&q=85\&s=1d008b8a94e486eb3da6b7e7c41bce12)

## Teku

Add the following endpoint to your teku node `--metrics-publish-endpoint https://beaconcha.in/api/v1/client/metrics?apikey=YOUR_API_KEY`

You can create an API key here: [https://beaconcha.in/api/key-management](https://beaconcha.in/api/key-management)

## Lodestar

Add the following CLI flag to your Lodestar validator and consensus layer node `--monitoring.endpoint 'https://beaconcha.in/api/v1/client/metrics?apikey=YOUR_API_KEY'`

You can create an API key in [API key management](https://beaconcha.in/api/key-management).

Check out the Lodestar documentation about [client monitoring](https://chainsafe.github.io/lodestar/run/logging-and-metrics/client-monitoring) for further details.

## Monitoring with Rocket Pool

Works with Lighthouse, Lodestar, Teku and Nimbus only.

### Lighthouse, Lodestar and Teku

Add Your [beaconcha.in API key ](https://beaconcha.in/api/key-management)in Monitoring/Metrics (service config)

![Screenshot: Rocket Pool service config Monitoring/Metrics API key](https://mintcdn.com/bitflyexplorergmbh/bISFwNjB_9Ym1Ov6/.gitbook/assets/image%20\(1\)%20\(1\)%20\(1\)%20\(1\).png?fit=max\&auto=format\&n=bISFwNjB_9Ym1Ov6\&q=85\&s=bc70564c59e7585277da641df3a3a892)

***

### Nimbus

Nimbus does not expose all tracked data, some metrics such as validators are not visible in the app.

Guide: [https://gist.github.com/jshufro/89e32d417801bf3dfb02c32a983b63cf](https://gist.github.com/jshufro/89e32d417801bf3dfb02c32a983b63cf)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.