Feature #23355
Add Netdata service
Description
Hi guys,
One thing I loved about Corral was the Netdata monitoring service. I would love to see that included in 9.10 sometime down the road.
-Will
Related issues
Associated revisions
History
#1
Updated by Kris Moore almost 4 years ago
- Status changed from Unscreened to Screened
- Assignee set to Suraj Ravichandran
- Priority changed from No priority to Expected
- Target version set to 9.10.4
Dirty little secret - I imported netdata into the 9.10 build a few weeks back ;) We just need to expose the UI knobs to enable and control it. Suraj, that a project you are perhaps up for looking at post 9.10.3?
#2
Updated by Suraj Ravichandran almost 4 years ago
I can work on this, if its too much I shall inform you kris.
#3
Updated by survive - almost 4 years ago
Hi guys,
Well that's pretty sweet! I just hope I can get the 9.10-nightiles running on this box even more now.
Any tricks to starting it?
-Will
#4
Updated by Kris Moore almost 4 years ago
I haven't looked too closely at firing it up (yet), but there should be a standard /usr/local/etc/rc.d/netdata startup script. I'm pretty sure it'll need some custom args in /etc/rc.conf and probably a nginx reverse proxy entry to localhost as well. If you managed to get it configured before I or Suraj can get to it, please update the ticket with any knobs you set, otherwise hang-tight!
#5
Updated by Kris Moore almost 4 years ago
- Target version changed from 9.10.4 to 11.1
#6
Updated by Brandon Golway over 3 years ago
Kris Moore wrote:
I haven't looked too closely at firing it up (yet), but there should be a standard /usr/local/etc/rc.d/netdata startup script. I'm pretty sure it'll need some custom args in /etc/rc.conf and probably a nginx reverse proxy entry to localhost as well. If you managed to get it configured before I or Suraj can get to it, please update the ticket with any knobs you set, otherwise hang-tight!
Awesome! I was going to request that this be in 11 since I was the driving force behind getting it integrated in 10 but I figured I'd hold off since you guys have bigger fish to fry.
#7
Updated by survive - over 3 years ago
Hi Brandon & Kris,
I have netdata working but it's all manual with each restart. I had to create the netdata user & group (uid\gid = 302) and fix up /usr/local/etc/netdata/netdata.conf to tell netdata to listen on the system's ip insted of localhost. Then I just run "netdata -P /var/run/netdata.pid" to start it. Not elegant & I have to fix it after each update, but minimal work has netdata working great.
I added the command as a post-init startup script but I don't think it runs on boot, but that could be totally wrong & it didn't run because I had just updated to anew nightly. Don't boot enough to say for sure.
-Will
#8
Updated by Suraj Ravichandran over 3 years ago
- File netdata_settings.png netdata_settings.png added
- Status changed from Screened to Needs Developer Review
- Assignee changed from Suraj Ravichandran to William Grzybowski
- % Done changed from 0 to 100
Have added netdata as a service (available to toggle on/off or enable/disable at boot from the services tab as a proper freenas service).
It also provides the user with a link to go to the netdata landing page for that freenas box.
We (as a team) have decided to deliberately not provide any configurable knobs/settings for netdata service as yet since we want to add it this way and gauge user feedback from it as well see how much cpu it really consumes (if that 1-2 % is actually true or just marketting, etc)
Attached is a screenshot showing how it looks when you click on the wrench icon of the netdata service as of now.
Starting tmrw it should be available in the nightlies (not adding it to stable untill 11.1 I think)
#9
Updated by William Grzybowski over 3 years ago
- Status changed from Needs Developer Review to Resolved
- Assignee changed from William Grzybowski to Suraj Ravichandran
#10
Updated by survive - over 3 years ago
Hi guys,
Netdata got updated & is now at v1.7.0 in the ports tree. Might be worth updating before you expose the GUI controls.
-Will
#11
Updated by Suraj Ravichandran over 3 years ago
Hi survive, I shall take a look at the netdata update, but in the interim can you tell me if anything major has updated in it?
#12
Updated by survive - over 3 years ago
Hi guys,
One other thing with Netdata is its "mynetdata" menu\registry feature which makes a single server a kind of "master browser" that lists your other Netdata servers. Details here:
https://github.com/firehol/netdata/wiki/mynetdata-menu-item
Would it be worth it to add controls for registry stuff? Maybe an advanced menu to enable or join a registry? There are 2 fields on the Netdata config file that control the registry, enabled & address.
I've been running Netdata on 2 filers since I switched over & it runs great, barely uses any CPU. Totally give it 2 thumbs up.
-Will
#13
Updated by survive - over 3 years ago
Hi Suraj,
It does a boatload of ZFS stats now. That's what propmpted me to try it (1.7) on my filers.
More details here:
https://github.com/firehol/netdata/releases
-Will
#14
Updated by Dru Lavigne over 3 years ago
- Related to Feature #25682: Make NetData work again! added
#15
Updated by Dru Lavigne over 3 years ago
- Subject changed from Netdata in 9.10? to Add Netdata service
#16
Updated by Dru Lavigne over 3 years ago
- Target version changed from 11.1 to 11.1-BETA1
#17
Updated by survive - about 3 years ago
Hi guys,
Just spun up a 11.1 box & found the netdata service.
One thing, there's a new release, 1.8.0 in the ports tree.
here's more info on what's new:
https://github.com/firehol/netdata/releases/tag/v1.8.0
I've been running 1.8.0 on my filers since it was released & it works fine here.
-Will
#18
Updated by Dru Lavigne about 3 years ago
Survive: please create a separate ticket asking for the updated version (as this one is already resolved and shipped in BETA1).
#19
Updated by Bonnie Follweiler about 3 years ago
- Needs QA changed from Yes to No
- QA Status Test Passes FreeNAS added
- QA Status deleted (
Not Tested)