# \[OPNsense\] Connect agent to netdata cloud fails with "Install type: custom"

**URL:** <https://community.netdata.cloud/t/opnsense-connect-agent-to-netdata-cloud-fails-with-install-type-custom/2682>\
**Category:** Help\
**Tags:** cloud, aclk, agent, node-claiming, misc, platform\
**Created:** [March 20, 2022, 12:29pm UTC](https://community.netdata.cloud/t/opnsense-connect-agent-to-netdata-cloud-fails-with-install-type-custom/2682 "2022-03-20T12:29:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cmonty14](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/cmonty14/32/1665_2.png) [@cmonty14](https://community.netdata.cloud/u/cmonty14)\
**Post date:** [March 20, 2022, 12:29pm UTC](https://community.netdata.cloud/t/opnsense-connect-agent-to-netdata-cloud-fails-with-install-type-custom/2682/1 "2022-03-20T12:29:17Z")

</div>

After installation of netdata in OPNsense using the plugin os-netdata (or [net-mgmt/netdata](https://github.com/opnsense/plugins/tree/master/net-mgmt/netdata)) I want to connect this agent to [Netdata Cloud](https://learn.netdata.cloud/docs/agent/claim).

Based on this installation instruction I run this command:  
`curl https://my-netdata.io/kickstart.sh > /tmp/netdata-kickstart.sh && sh /tmp/netdata-kickstart.sh --claim-token -<token> --claim-rooms <room> --claim-url https://app.netdata.cloud`

This fails with following error:  
`ABORTED Found an existing netdata install at /usr/local, but the install type is 'custom', which is not supported, refusing to proceed.`

Verifying installation type is confirmed:

```auto
# netdata -W buildinfo | grep 'Install type:'
Install type: custom

```

_Question:_  
How must I proceed to connect an agent to netdata cloud with this installation type?

---

<div class="post-metadata">

**Author:** ![iigorkarpov](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/iigorkarpov/32/1482_2.png) [@iigorkarpov](https://community.netdata.cloud/u/iigorkarpov)\
**Post date:** [April 6, 2022, 1:02pm UTC](https://community.netdata.cloud/t/opnsense-connect-agent-to-netdata-cloud-fails-with-install-type-custom/2682/2 "2022-04-06T13:02:45Z")

</div>

Unfortunately you can’t use the netdata package from OPNsense repository with Netdata cloud. It’s built without support for this option. You can see it by yourself using the command

netdata -W buildinfo

I don’t know the reasons for this decision; trying to find the port maintainer.

I’d suggest you to

- build netdata agent package from the ports on `FreeBSD` (do not forget to turn on the cloud support during configuration);
- copy the package to your `OPNsense` and install it with `pkg add`;
- claim it using netdata-claim.sh -token=My\_Token -rooms=My\_Rooms -url=[https://app.netdata.cloud](https://app.netdata.cloud/)

Voila!

---

<div class="post-metadata">

**Author:** ![Tasos\_Katsoulas](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/tasos_katsoulas/32/1344_2.png) [@Tasos\_Katsoulas](https://community.netdata.cloud/u/Tasos_Katsoulas)\
**Post date:** [April 6, 2022, 1:53pm UTC](https://community.netdata.cloud/t/opnsense-connect-agent-to-netdata-cloud-fails-with-install-type-custom/2682/3 "2022-04-06T13:53:18Z")

</div>

Moving this thread under “Help” category, this may interests many other users.

---

<div class="post-metadata">

**Author:** ![Alessandro\_Miccono](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/alessandro_miccono/32/2055_2.png) [@Alessandro\_Miccono](https://community.netdata.cloud/u/Alessandro_Miccono)\
**Post date:** [August 20, 2022, 11:10pm UTC](https://community.netdata.cloud/t/opnsense-connect-agent-to-netdata-cloud-fails-with-install-type-custom/2682/4 "2022-08-20T23:10:13Z")

</div>

I did IT!!!

all on opnsense:

1. fetch [https://pkg.freebsd.org/FreeBSD:13:amd64/latest/All/psmisc-22.16\_1.pkg](https://pkg.freebsd.org/FreeBSD:13:amd64/latest/All/psmisc-22.16_1.pkg)
2. pkg add psmisc-22.16\_1.pkg

this will ad pidof that is required. (and other useless stuff but i don’t found a way to get only pidof

than  
3) pkg install bash e2fsprogs-libuuid git curl autoconf automake pkgconf liblz4 libuv json-c cmake gmake

it will install lot of stuff (list found from here: [Install Netdata on FreeBSD | Learn Netdata](https://learn.netdata.cloud/docs/agent/packaging/installer/methods/freebsd/))

than used the curl from netdata cloud

1. curl [https://my-netdata.io/kickstart.sh](https://my-netdata.io/kickstart.sh) \> /tmp/netdata-kickstart.sh && sh /tmp/netdata-kickstart.sh --claim-token my\_tocken --claim-url [https://app.netdata.cloud](https://app.netdata.cloud)

the scrit will find that you need to build, it will take some time but will work and will connect to the online version.
