#self-hosting netdata
1 messages · Page 1 of 1 (latest)
@lean patrol regarding this #💬general message
should it be
destination = 1.2.3.4
or with the port after too?
it worked without the port
default port is 19999
yeah it worked
i got the node here now
i ran it as a docker container, if i want to run it directly with the script
wget -O /tmp/netdata-kickstart.sh https://my-netdata.io/kickstart.sh && sh /tmp/netdata-kickstart.sh
good, it is pretty easy in fact:
- create key, enable this key on parent
- configure the key and dest IP address on children
would this script work then?
yeah
i don't get the question, the script will try to install ND directly on the host
yeah, where do i find the stream.conf then?
and how do i restart it? is it running as a service?
yes, as a service - systemctl restart netdata
you go to /etc/netdata/ or /opt/netdata/etc/netdata/ depends on the distro. /etc/netdata if we have native packages for this system (e.g. debian, ubuntu, centos), and /opt/netdata/etc/netdata/ if we don't - static build would be installed.
the docs made it a little more complicated then it was
this would not work when its selfhosted or i can't like get into the settings on the dashboard
@lean patrol
Almost nothing is configured via UI at the moment, you need to use configuration files for everything. We plan to fix it, but for now only terminal + config files.
oh alright, if you don't mind do you know how to setup discord alerts?
to the webhook
i guess alerts is not in stream.conf
lets check
is DEFAULT_RECIPIENT_DISCORD needed?
what should that be?
a channel in discord?
I guess that should be a Discord channel name
that worked
do you know what it alerts on? same alerts as on dashboard?
sorry, when i did docker-compose down and then up all nodes went gone
that should not happend right?
what?
they will reconnect
just in case - make sure you don't delete stream.conf
the stream.conf is there but not connecting
There is something we are missing, just restart can't result in such problem.
it goes missing now too, thats weird
okay seems to be fixed
👍
this is quite easy when you just understand first time
can i get it so it alerts if any node go offline? @lean patrol
You can have "Unreachable node" notification if connected to the Netdata cloud. You need just to connect the parent instance.
would that add all nodes to the cloud?
or just one?
like would all show up or only parent?
@lean patrol also sorry if i seems stupid but how would the best way be to add it to netdata cloud?
yeah
only the parent
yes
woah it worked
would it not be better to add the discord alerts thru here now instead?
@lean patrol
or does it not matter?
and how do i add Unreachable node notification?
bottof left corner click on your profile and go to Notifications
there you configure notifications per space - alerts/unreachable/alerts + uncreachable
well there are 2 options: Netdata parent sends notifications (that is what you did) or ND cloud sends them (less avialable notification methods but we try to add more)
ND cloud do support discord so that would work
Worked thanks @lean patrol
Great! It was fast - from " I am new with netdata" to configuring streaming and connecting to Cloud 😸
Is there anything else you would do?
Yeah xD
nah just explore Netdata
Alright
we recently added system journal plugin, check https://www.youtube.com/watch?v=-PLUjVXwC4Q
📜 Read the detailed documentation of our new Function here:
https://learn.netdata.cloud/docs/data-collection/systemd-journal
🔎 Check out this new Function live at our demo space!!
https://app.netdata.cloud/spaces/netdata-demo/
The systemd journal plugin by Netdata makes viewing, exploring and analyzing systemd journal logs simple and efficient...
one more question, its not secured with SSL as its local but its connected to cloud. that be fine right?
but it is not available in Docker now, will be soon
i am not using docker, i changed
Netdata-Cloud connection is secure
it worked much better with restarting without docker
Netdata-Netdata (streaming) is not without SSL
yeah
but if that is your local network that not a big problem
but anyway with SSL is better but it requires additional configuration on both parent and children
There is not like and secrets 🙂
yeah
also check Function tab
when u connected to the Cloud you can see Top-like table with processes
for each node
as i said just explore the UI
one of, yes
nice job
sorry. one more question, why can I have however many nodes I want with parent child but not direct to cloud? @lean patrol
can you rephrase?
ehh
okay so
if i want to add nodes to the cloud without doing the parent and child streaming, there is a maximum of 5 active nodes right?
why can I have ”unlimited” nodes with the parent child streaming?
i am not sure, need to check. I am working on open-source Agent (https://github.com/netdata/netdata)
I see, you are right. Parent-child is open-source Agent only, hence the unlimited number of nodes (but it requires parent/child). Also cloudless setup is limited in the number of features - for instance Functions don't work. Also we are working on configuring Agents through UI - this will be Cloud only feature too at least in the beginning. ND Cloud doesn't store your data (Agents store it locally), it is mainly for accessing your nodes from any place + additional features (that can't be on Agents because require authentication, etc)
But I am not the best person to answer such question because I am just one of developer of Netdata Agent. Ask in #💬general about Cloud stuff