> ## 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.

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

# Mobile App <> Cl Node Monitoring

# 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.

<Frame>
  <img src="https://mintcdn.com/bitflyexplorergmbh/bISFwNjB_9Ym1Ov6/.gitbook/assets/image%20(152).png?fit=max&auto=format&n=bISFwNjB_9Ym1Ov6&q=85&s=a13a291d3ffd4b8b23444f4046befe25" alt="Screenshot: Mobile app and node monitoring overview" width="1858" height="521" data-path=".gitbook/assets/image (152).png" />
</Frame>

*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!)

<Info>
  Please adjust the network on the beaconcha.in browser and mobile app accordingly.
</Info>

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 and paste it to your **beacon & validator node**

<Frame>
  <img src="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" alt="Screenshot: Lighthouse mobile app flag in settings" width="875" height="1155" data-path=".gitbook/assets/mspaint_2021-08-05_08-47-46.png" />
</Frame>

<Frame>
  <img src="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" alt="Screenshot: Lighthouse command line flags" width="949" height="267" data-path=".gitbook/assets/mspaint_2021-08-05_08-59-42.png" />
</Frame>

*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*!

<Frame>
  <img src="https://mintcdn.com/bitflyexplorergmbh/bISFwNjB_9Ym1Ov6/.gitbook/assets/grafik%20(5).png?fit=max&auto=format&n=bISFwNjB_9Ym1Ov6&q=85&s=1d008b8a94e486eb3da6b7e7c41bce12" alt="Screenshot: Mobile app Machines view" width="595" height="640" data-path=".gitbook/assets/grafik (5).png" />
</Frame>

## Prysm

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

<Frame>
  <img src="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" alt="Screenshot: Prysm section in beaconcha.in settings" width="797" height="1219" data-path=".gitbook/assets/firefox_2021-08-05_09-51-26.png" />
</Frame>

2\. Open a **new Terminal** and copy and paste the commands

<Frame>
  <img src="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" alt="Screenshot: Prysm exporter configuration" width="1127" height="254" data-path=".gitbook/assets/mspaint_2021-08-05_09-53-29.png" />
</Frame>

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!

<Frame>
  <img src="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" alt="Screenshot: Prysm exporter sending data" width="1129" height="859" data-path=".gitbook/assets/mspaint_2021-08-05_09-55-15.png" />
</Frame>

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*!

<Frame>
  <img src="https://mintcdn.com/bitflyexplorergmbh/bISFwNjB_9Ym1Ov6/.gitbook/assets/grafik%20(5).png?fit=max&auto=format&n=bISFwNjB_9Ym1Ov6&q=85&s=1d008b8a94e486eb3da6b7e7c41bce12" alt="Screenshot: Mobile app Machines view" width="595" height="640" data-path=".gitbook/assets/grafik (5).png" />
</Frame>

## Nimbus

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

<Frame>
  <img src="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" alt="Screenshot: Nimbus section in beaconcha.in settings" width="1128" height="657" data-path=".gitbook/assets/mspaint_2021-08-05_10-14-30.png" />
</Frame>

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

<Frame>
  <img src="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" alt="Screenshot: Nimbus client metrics flags" width="1126" height="266" data-path=".gitbook/assets/mspaint_2021-08-05_10-13-08.png" />
</Frame>

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*!

<Frame>
  <img src="https://mintcdn.com/bitflyexplorergmbh/bISFwNjB_9Ym1Ov6/.gitbook/assets/grafik%20(5).png?fit=max&auto=format&n=bISFwNjB_9Ym1Ov6&q=85&s=1d008b8a94e486eb3da6b7e7c41bce12" alt="Screenshot: Mobile app Machines view" width="595" height="640" data-path=".gitbook/assets/grafik (5).png" />
</Frame>

## 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 find your API Key here: [https://beaconcha.in/user/settings#app](https://beaconcha.in/user/settings#app)

## 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 find your API Key in the [account settings](https://beaconcha.in/user/settings#api).

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/user/settings#app)in Monitoring/Metrics (service config)

<Frame>
  <img src="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" alt="Screenshot: Rocket Pool service config Monitoring/Metrics API key" width="1250" height="847" data-path=".gitbook/assets/image (1) (1) (1) (1).png" />
</Frame>

***

### 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)
