Netdata Server Stats

youds

Verified User
Joined
Jul 11, 2008
Messages
392
Location
Lancashire, UK
Hi

UPDATE - NEW DOWNLOAD LOCATION
- http://digitalmods.io/downloads/directadmin/system-status.tar.gz
- alternatively the zip file attached is kept up-to-date.



UPDATE
You can now download the plugin to test; see attached. It's in a zip file because the forum would not allow .tar.gz uploads. It's fully responsive and works as a widget.

Commands you must run:
Code:
/usr/local/directadmin/custombuild/build netdata
Let me know how it goes!

UPDATE 2
Working on iOS can confirm is responsive for mobiles too.

ORIGINAL POST
So I’m going to do a plug-in for free release for netdata statistics plug-in within a widget. At present it can be enabled (see here https://www.directadmin.com/features.php?id=2758) but this is not a widget and isn’t really integrated, at all.

I will most likely be doing this tomorrow or Monday. As far as I can see you can retrieve only limited SVG data so I’ll be creating my own charts.

So far the plan is to have:
- CPU
- RAM
- Data

With charts configurable for 1 day, month, 3 months, 6 months and a year.

If there should be any other stats say now or forever hold your peace!
 

Attachments

Last edited:

youds

Verified User
Joined
Jul 11, 2008
Messages
392
Location
Lancashire, UK
Thanks Brent.

So far I have a line chart setup, working plug-in, so now need to make the API calls.

No problem 👍
 

youds

Verified User
Joined
Jul 11, 2008
Messages
392
Location
Lancashire, UK
Here is how it looks, out of the box. I used Morris.js for the graphs and an iframe "hack" to get the data considering it was a separate request. (DirectAdmin requires a referrer header)

As you may see I have yet to implement the date feature (plus controls) - but this is pretty neat, huh?
 

Attachments

youds

Verified User
Joined
Jul 11, 2008
Messages
392
Location
Lancashire, UK
So I just released this as a first version, see original post. (or attached see this post)

There is scope to do more with this plugin, for now this is working OK as is. Basic day/week/month/year function working from data collected up till that day.

Enjoy!
 
Last edited:

bdacus01

Verified User
Joined
Jul 22, 2017
Messages
1,527
Location
Murfreesboro
Here is how it looks, out of the box. I used Morris.js for the graphs and an iframe "hack" to get the data considering it was a separate request. (DirectAdmin requires a referrer header)

As you may see I have yet to implement the date feature (plus controls) - but this is pretty neat, huh?
This is lovely work youds...
 

odyslam

New member
Joined
Sep 15, 2020
Messages
3
Hey youds,

This is odysseas, developer advocate from Netdata. This plugin looks superb! If you want to add custom DA related data in the netdata dashboard, we could help you write a collector for DA. We primarily support Go and Python and it's super easy to develop one.

Moreover, we would love more screenshots and info, we could even share it in our social media! If you feel like, we also welcome guest authors in our blog :)

If you have any questions or I can help in any way, please do tell me. We are also running our own forums (so we don't derail this thread too much).
 

youds

Verified User
Joined
Jul 11, 2008
Messages
392
Location
Lancashire, UK
Hey youds,

This is odysseas, developer advocate from Netdata. This plugin looks superb! If you want to add custom DA related data in the netdata dashboard, we could help you write a collector for DA. We primarily support Go and Python and it's super easy to develop one.

Moreover, we would love more screenshots and info, we could even share it in our social media! If you feel like, we also welcome guest authors in our blog :)

If you have any questions or I can help in any way, please do tell me. We are also running our own forums (so we don't derail this thread too much).
Yeah, I wanted to make it integrated from the UI to the API for more support. It doesn't yet have that "addictive" feeling. In terms of collaboration, the only thing I would need is access to better metrics from the API.

I will post some screenshots now and yes would love to write up something on your blog - this is something I do anyway.

Going over to your forums now.

Kind regards
 

youds

Verified User
Joined
Jul 11, 2008
Messages
392
Location
Lancashire, UK
Strange. What theme are you using? System Status should be available from plugins menu (Extra Features) and would be same URL. Thanks.
 

odyslam

New member
Joined
Sep 15, 2020
Messages
3
Hey, thanks for that @youds. Great Feedback. So you are not interested to allow the user to access the native Netdata UI via the DA dashboard? If so, why is that?

P.S, we just released a new version which is kinda awesome. We offer Metric Correlations for free through Netdata cloud as also an even more advanced Prometheus collector and many more features.
 

youds

Verified User
Joined
Jul 11, 2008
Messages
392
Location
Lancashire, UK
Yes I think native access is available when you install netdata and would be available from admin tools. What I want from this is to have user interfaces which correlate with all the netdata metrics. Maybe make some customisations but I want to keep it simple and gradually integrate more features yes, in time.

For now just glad to have a working plug-in.
 

sce

Verified User
Joined
Aug 22, 2008
Messages
92
Location
EU
Today I've restarted the server due to something else and now i see your link under admin tools and those work fine!
 
Top