# Running a "headless" Netdata Agent with Cloud compatibility

**URL:** <https://community.netdata.cloud/t/running-a-headless-netdata-agent-with-cloud-compatibility/111>\
**Category:** General\
**Tags:** how-to, agent-configuration\
**Created:** [September 15, 2020, 6:13pm UTC](https://community.netdata.cloud/t/running-a-headless-netdata-agent-with-cloud-compatibility/111 "2020-09-15T18:13:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![joel](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/joel/32/138_2.png) [@joel](https://community.netdata.cloud/u/joel)\
**Post date:** [September 15, 2020, 6:13pm UTC](https://community.netdata.cloud/t/running-a-headless-netdata-agent-with-cloud-compatibility/111/1 "2020-09-15T18:13:06Z")

</div>

I’ve been seeing a few questions and comments about whether it’s possible to disable the local Netdata dashboard (you know, the one at `http://localhost:19999`!), while also still being able to see your metrics in Netdata Cloud. I thought I would address the concept and offer a solution in a short thread.

Here’s one example of this question in the wild: [Netdata Agent only for cloud usability](https://github.com/netdata/netdata/issues/9760). xenforq asks, “Does the agent support toggling features to make the only function sending statistics and data to Netdata Cloud?”

The answer is yes! And it’s actually quite easy to implement. You might want to take this quick step if you’re worried that your local dashboard is accessible by default on port 19999.

To disable the local dashboard, open `netdata.conf`.

```auto
cd /etc/netdata
sudo ./edit-config netdata.conf

```

Scroll down to the `[web]` section, then change `mode = none`.

```auto
[web]
    mode = none

```

Restart the Agent with `service netdata restart`. Your local dashboard is now disabled, but you can still see all your metrics and alarm statuses in Netdata Cloud.

Unfortunately, it’s not possible to completely disable the Agent’s database _and_ still see your metrics in Netdata Cloud. That’s because Netata Cloud doesn’t store your nodes’ metrics, only initiates a secure connection and streams data to your browser. If there’s nothing stored on your node, there’s nothing for Netdata Cloud to display!

Anyone already using this tweak, or is this the first time you heard about it?

For more information, read up on our [security design](https://learn.netdata.cloud/docs/agent/netdata-security), or stay tuned to some big changes coming to our docs in the next week or two! 😉

---

<div class="post-metadata">

**Author:** ![joel](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/joel/32/138_2.png) [@joel](https://community.netdata.cloud/u/joel)\
**Post date:** [September 28, 2020, 3:26pm UTC](https://community.netdata.cloud/t/running-a-headless-netdata-agent-with-cloud-compatibility/111/2 "2020-09-28T15:26:42Z")

</div>

@andrewm4894 — Yes, setting `mode = none` on the webserver also disables the API. I’m actually not sure at the moment if it’s possible to disable the web server but keep the API at `http://localhost:19999/api/v1/...`.

---

<div class="post-metadata">

**Author:** ![andrewm4894](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/andrewm4894/32/125_2.png) [@andrewm4894](https://community.netdata.cloud/u/andrewm4894)\
**Post date:** [September 28, 2020, 10:13am UTC](https://community.netdata.cloud/t/running-a-headless-netdata-agent-with-cloud-compatibility/111/3 "2020-09-28T10:13:56Z")

</div>

cool - did not know about this. Would this also mean your metrics and stuff are also not then available at the like of `http://localhost:19999/api/v1/...` ?

I’m assuming they would not be available and that this is what a user would want (e.g. if i dont want to expose the dashboard then i also would not want to have the api there too) but just curious.

---

<div class="post-metadata">

**Author:** ![OdysLam](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/odyslam/32/98_2.png) [@OdysLam](https://community.netdata.cloud/u/OdysLam)\
**Post date:** [September 28, 2020, 9:18am UTC](https://community.netdata.cloud/t/running-a-headless-netdata-agent-with-cloud-compatibility/111/4 "2020-09-28T09:18:48Z")

</div>

@joel,

We just got a question via `email` that is asking for specifically this. Great job man!

---

<div class="post-metadata">

**Author:** ![Simon\_Luger](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/simon_luger/32/391_2.png) [@Simon\_Luger](https://community.netdata.cloud/u/Simon_Luger)\
**Post date:** [January 19, 2021, 1:37pm UTC](https://community.netdata.cloud/t/running-a-headless-netdata-agent-with-cloud-compatibility/111/5 "2021-01-19T13:37:55Z")

</div>

i use a master dashboard node slave headless streaming method, i have the masternode setup in cloud, and see the data of the master node but not the slaves … if you log in to masternode then i can switch the slaves via top left menu

is this possible to view the slaves in cloud ? i mean the single database is configured to be on the monitor node.
