deleted>Frq07399 mNo edit summary |
Registered User No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Article Purpose == | == Article Purpose == | ||
This article provides the basic information needed to start using the Linux<sup>®</sup> monitoring tool: '''netdata'''<ref name=netdatadotio/>. | This article provides the basic information needed to start using the Linux<sup>®</sup> monitoring tool: '''netdata'''<ref name=netdatadotio/>. | ||
Line 17: | Line 9: | ||
| style="text-align:left;" | '''netdata'''<ref name=netdatadotio>https://my-netdata.io</ref> is a system for distributed real-time performance and health monitoring. It provides unparalleled insights, in real-time, of everything happening on the system it runs (including applications such as web and database servers), using modern interactive web dashboards. | | style="text-align:left;" | '''netdata'''<ref name=netdatadotio>https://my-netdata.io</ref> is a system for distributed real-time performance and health monitoring. It provides unparalleled insights, in real-time, of everything happening on the system it runs (including applications such as web and database servers), using modern interactive web dashboards. | ||
| {{Y}} || {{Y}} || {{Y}} | | {{Y}} || {{Y}} || {{Y}} | ||
| | | {{N}} || {{N}} || {{N}} | ||
|- | |- | ||
</onlyinclude> | </onlyinclude> | ||
Line 28: | Line 20: | ||
/usr/sbin/netdata | /usr/sbin/netdata | ||
It is integrated in weston image distribution through meta-st package: ''meta-st/meta-st-openstlinux/recipes-st/packagegroups/packagegroup-framework-tools.bb''. | It is integrated in weston image distribution through meta-st package: <code>''meta-st/meta-st-openstlinux/recipes-st/packagegroups/packagegroup-framework-tools.bb''</code>. | ||
RDEPENDS_packagegroup-framework-tools-ui = "\ | RDEPENDS_packagegroup-framework-tools-ui = "\ | ||
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xvinfo', '', d)} \ | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xvinfo', '', d)} \ | ||
Line 35: | Line 27: | ||
${@bb.utils.contains('DISTRO_FEATURES', 'gplv3', 'lmsensors-libsensors', '', d)} \ | ${@bb.utils.contains('DISTRO_FEATURES', 'gplv3', 'lmsensors-libsensors', '', d)} \ | ||
" | " | ||
== Getting started == | == Getting started == | ||
Line 59: | Line 48: | ||
=== Generic netdata web page === | === Generic netdata web page === | ||
On host PC browser, the generic netdata web page is found at address: | On host PC browser, the generic netdata web page is found at address: | ||
<nowiki>http</nowiki>://{{ | <nowiki>http</nowiki>://{{HighlightParam|''<ip_of_board>''}}:19999 | ||
[[File:netdata_screenshot_main.png|1000px|link=]] | [[File:netdata_screenshot_main.png|1000px|link=]] | ||
Line 67: | Line 56: | ||
*Starter and Developer Packages | *Starter and Developer Packages | ||
:- directly accessible on the target under: ''/usr/share/netdata/web/stm32.html'' | :- directly accessible on the target under: <code>''/usr/share/netdata/web/stm32.html''</code> | ||
*Distribution Package | *Distribution Package | ||
:- available under recipes-webadmin directory in file: ''meta-st/meta-st-openstlinux/recipes-webadmin/netdata/netdata/stm32.html'' | :- available under recipes-webadmin directory in file: <code>''meta-st/meta-st-openstlinux/recipes-webadmin/netdata/netdata/stm32.html''</code> | ||
On host PC browser, it is available at address: | On host PC browser, it is available at address: | ||
<nowiki>http</nowiki>://{{ | <nowiki>http</nowiki>://{{HighlightParam|''<ip_of_board>''}}:19999/stm32.html | ||
[[File:netdata_screenshot_stm32.png|1000px|link=]] | [[File:netdata_screenshot_stm32.png|1000px|link=]] | ||
Line 91: | Line 80: | ||
| GitHub link reference | | GitHub link reference | ||
|} | |} | ||
{{ ArticleBasedOnModel | Trace and debug tools article model}} | |||
{{ PublicationRequestId | 9038 | 08Oct'18 }} | |||
[[Category:Linux monitoring tools]] |
Latest revision as of 11:01, 4 September 2019
1. Article Purpose
This article provides the basic information needed to start using the Linux® monitoring tool: netdata[1].
2. Introduction
The following table provides a brief description of the tool, as well as its availability depending on the software packages:
Template:Y: this tool is either present (ready to use or to be activated), or can be integrated and activated on the software package.
Template:N: this tool is not present and cannot be integrated, or it is present but cannot be activated on the software package.
Tool | STM32MPU Embedded Software distribution | STM32MPU Embedded Software distribution for Android™ | ||||||
---|---|---|---|---|---|---|---|---|
Name | Category | Purpose | Starter Package | Developer Package | Distribution Package | Starter Package | Developer Package | Distribution Package |
netdata | Monitoring tools | netdata[1] is a system for distributed real-time performance and health monitoring. It provides unparalleled insights, in real-time, of everything happening on the system it runs (including applications such as web and database servers), using modern interactive web dashboards. | Template:Y | Template:Y | Template:Y | Template:N | Template:N | Template:N |
3. Installing the trace and debug tool on your target board
3.1. Using the STM32MPU Embedded Software distribution
netdata is installed by default and ready to be used with all STM32MPU Embedded Software Packages.
Template:Board$ which netdata /usr/sbin/netdata
It is integrated in weston image distribution through meta-st package: meta-st/meta-st-openstlinux/recipes-st/packagegroups/packagegroup-framework-tools.bb
.
Template:Green \ ${@bb.utils.contains('DISTRO_FEATURES', 'gplv3', 'lmsensors-libsensors', , d)} \ "RDEPENDS_packagegroup-framework-tools-ui = "\ ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xvinfo', , d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'gplv3', 'glmark2', , d)} \
4. Getting started
netdata provides all monitoring information on a web page accessible at the IP address of the board.
It proposes a default web page, on port 19999. It is also possible to create a custom page.
4.1. netdata service
netdata is managed as a service. In OpenSTLinux distribution, it can be found under meta-st/meta-st-openstlinux/recipes-webadmin/netdata/netdata/netdata.service.
The following command allows to verify if the service is active and running on the target board:
Template:Board$ systemctl | grep netdata netdata.service loaded Template:Green Netdata, Real-time performance monitoring
In case it is not running, the service can be started using the following command:
Template:Board$ systemctl start netdata
It is recommended to stop the service when it is not needed any longer:
Template:Board$ systemctl stop netdata
4.2. Generic netdata web page
On host PC browser, the generic netdata web page is found at address:
<ip_of_board>:19999http://
4.3. Customized netdata web page
A customized web page is proposed in OpenSTLinux environment to monitor some specific indicators: STM32MP1 Dashboard
- Starter and Developer Packages
- - directly accessible on the target under:
/usr/share/netdata/web/stm32.html
- Distribution Package
- - available under recipes-webadmin directory in file:
meta-st/meta-st-openstlinux/recipes-webadmin/netdata/netdata/stm32.html
On host PC browser, it is available at address:
<ip_of_board>:19999/stm32.htmlhttp://
5. References
- Useful external links
Document link | Document Type | Description |
---|---|---|
netdata source and documentation page | Standard | GitHub link reference |