[ NetData ] [ 1.36.1] Real-time performance monitoring, done right

This is the best place for community developers to publish their genius work. Your Apps enrich the QNAP Turbo NAS.
Post Reply
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

[ NetData ] [ 1.36.1] Real-time performance monitoring, done right

Post by QNAP_Stephane »

Source : https://github.com/firehol/netdata
demo : http://netdata.firehol.org

Download :

https://www.myqnap.org/product/netdata/


Note :

listen on port 19999

Feature :

netdata is a highly optimized Linux daemon providing real-time performance monitoring for Linux systems, Applications, SNMP devices, over the web!

It tries to visualize the truth of now, in its greatest detail, so that you can get insights of what is happening now and what just happened, on your systems and applications.

This is what you get:

Beautiful out of the box bootstrap dashboards
Custom dashboards that can be built using simple HTML (no javascript necessary)
Blazingly fast and super efficient, written in C (for default installations, expect just 2% of a single core CPU usage and a few MB of RAM)
Zero configuration - you just install it and it autodetects everything
Zero dependencies, it is its own web server for its static web files and its web API
Extensible, you can monitor anything you can get a metric for, using its Plugin API (anything can be a netdata plugin - from BASH to node.js)
Embeddable, it can run anywhere a Linux kernel runs
Last edited by QNAP_Stephane on Sat Nov 05, 2022 4:51 pm, edited 22 times in total.
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
User avatar
Gryzor
Easy as a breeze
Posts: 293
Joined: Sat Oct 24, 2015 3:21 pm
Contact:

Re: [ NetData ] [ 1.00 ] Real-time performance monitoring, done right

Post by Gryzor »

Hm, all I get is "Access to file '' is not permitted."... any ideas?
.:.
QNAP TS-251-4G / 4.3.2.0026
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [ NetData ] [ 1.00 ] Real-time performance monitoring, done right

Post by QNAP_Stephane »

no idea,

running fine on TBS-453A, TS-253PRO and TS-231
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
User avatar
Gryzor
Easy as a breeze
Posts: 293
Joined: Sat Oct 24, 2015 3:21 pm
Contact:

Re: [ NetData ] [ 1.00 ] Real-time performance monitoring, done right

Post by Gryzor »

Does it have an prerequisites I should check?

A pity, it sounds lovely... just rebooted, just for the heck of it, but I get the same message.
.:.
QNAP TS-251-4G / 4.3.2.0026
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [ NetData ] [ 1.00 ] Real-time performance monitoring, done right

Post by QNAP_Stephane »

no prerequiste

try to run it launch in SSH there is some verbosity before launch daemon

cd /opt/NetData/bin
./netdata -p 9119 # where -p is the ui port binding
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
User avatar
Gryzor
Easy as a breeze
Posts: 293
Joined: Sat Oct 24, 2015 3:21 pm
Contact:

Re: [ NetData ] [ 1.00 ] Real-time performance monitoring, done right

Post by Gryzor »

Ah, there are some errors there:


[~] # cd /opt/NetData/bin/
[/opt/NetData/bin] # ./netdata -p 9119
16-03-30 19:45:47: ERROR: netdata: Cannot open file '/opt/NetData/etc/netdata/netdata.conf' (errno 2, No such file or directory)
16-03-30 19:45:47: ERROR: netdata: IPv6 socket() failed. (errno 97, Address family not supported by protocol)
16-03-30 19:45:47: ERROR: netdata: IPv4 bind() failed. (errno 98, Address already in use)
16-03-30 19:45:47: FATAL: netdata: Cannot listen socket. # : Success

Trying a different port:
[/opt/NetData/bin] # ./netdata -p 2020
16-03-30 19:45:58: ERROR: netdata: Cannot open file '/opt/NetData/etc/netdata/netdata.conf' (errno 2, No such file or directory)
16-03-30 19:45:58: ERROR: netdata: IPv6 socket() failed. (errno 97, Address family not supported by protocol)
Managed to open an IPv4 socket on port 2020.[/opt/NetData/bin] #

Indeed there's no conf file in that directory, but no idea about the IPvX errors...
.:.
QNAP TS-251-4G / 4.3.2.0026
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [ NetData ] [ 1.00 ] Real-time performance monitoring, done right

Post by QNAP_Stephane »

you should acces on port 2020 now

9119 was in used on your NAS

not yet checked for the netdata.conf, but seems something user has can add
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
User avatar
Gryzor
Easy as a breeze
Posts: 293
Joined: Sat Oct 24, 2015 3:21 pm
Contact:

Re: [ NetData ] [ 1.00 ] Real-time performance monitoring, done right

Post by Gryzor »

Ah, it was probably already opened because I had already opened the web page before that.

If you can see how/when the conf file is created it'd be great :)
.:.
QNAP TS-251-4G / 4.3.2.0026
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [ NetData ] [ 1.00 ] Real-time performance monitoring, done right

Post by QNAP_Stephane »

i will check to embbed it on next release

but you can create it if needed

https://github.com/firehol/netdata/wiki/Configuration
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
User avatar
Gryzor
Easy as a breeze
Posts: 293
Joined: Sat Oct 24, 2015 3:21 pm
Contact:

Re: [ NetData ] [ 1.00 ] Real-time performance monitoring, done right

Post by Gryzor »

Great to hear :)

Could you share your own conf to use as a template?
.:.
QNAP TS-251-4G / 4.3.2.0026
User avatar
Gryzor
Easy as a breeze
Posts: 293
Joined: Sat Oct 24, 2015 3:21 pm
Contact:

Re: [ NetData ] [ 1.00 ] Real-time performance monitoring, done right

Post by Gryzor »

Ah, that's weird; reading the documentation I visited myNAS:9119/netdata.conf and it actually exists - somewhere! Here it is:

[EDIT] Ah darn, it's too big and gets rejected by the forum; let me know if you're interested in me uploading it somewhere!
.:.
QNAP TS-251-4G / 4.3.2.0026
goodelyfe
Know my way around
Posts: 122
Joined: Tue Jul 01, 2014 5:50 pm

Re: [ NetData ] [ 1.00 ] Real-time performance monitoring, done right

Post by goodelyfe »

Beautiful piece of software here
User avatar
Gryzor
Easy as a breeze
Posts: 293
Joined: Sat Oct 24, 2015 3:21 pm
Contact:

Re: [ NetData ] [ 1.00 ] Real-time performance monitoring, done right

Post by Gryzor »

goodelyfe wrote:Beautiful piece of software here
Does it work for you?
.:.
QNAP TS-251-4G / 4.3.2.0026
goodelyfe
Know my way around
Posts: 122
Joined: Tue Jul 01, 2014 5:50 pm

Re: [ NetData ] [ 1.00 ] Real-time performance monitoring, done right

Post by goodelyfe »

Gryzor wrote:
goodelyfe wrote:Beautiful piece of software here
Does it work for you?

Indeed it does
User avatar
Gryzor
Easy as a breeze
Posts: 293
Joined: Sat Oct 24, 2015 3:21 pm
Contact:

Re: [ NetData ] [ 1.00 ] Real-time performance monitoring, done right

Post by Gryzor »

Ah damn. I wonder what's different for my box...
.:.
QNAP TS-251-4G / 4.3.2.0026
Post Reply

Return to “Community Apps”