![]() This PR was created to fix #3414, here I am completing the job initiated by Christopher, among the newest features that we are bring we have JSON inside the core - We are bringing to the core the capacity to work with JSON files, this is available either using the JSON-C library case it is present in the system or using JSMN library that was incorporated to our core. The preference is to have JSON-C, because it is a more complete library, but case the user does not have the library installed we are keeping the JSMN for we do not lose the feature. Health LIST - We are bringing more one command to the Health API, now with the LIST it is possible to get in JSON format the alarms active with Netdata. Health reorganized - Previously we had duplicated code in different files, this PR is fixing this (Thanks @cakrit !), the Health is now better organized. Removing memory leak - The first implementation of the json.c was creating SILENCERS without to link it in anywhere. Now it has been linked properly. Script updated - We are bringing some changes to the script that tests the Health. This PR also fixes the race condition created by the previous new position of the SILENCERS creation, I had to move it to daemon/main.c, because after various tests, it was confirmed that the error could happen in different parts of the code, case it was not initialized before the threads starts. Component Name health directory health-cmd Additional Information Fixes #6356 and #3414 |
||
---|---|---|
.. | ||
api | ||
gui | ||
server | ||
Makefile.am | ||
README.md |
Web dashboards overview
The default port is 19999; for example, to access the dashboard on localhost, use: http://localhost:19999
To view Netdata collected data you access its REST API v1.
For our convenience, Netdata provides 2 more layers:
-
The
dashboard.js
javascript library that allows us to design custom dashboards using plain HTML. For information on creating custom dashboards, see Custom Dashboards and Atlassian Confluence Dashboards -
Ready to be used web dashboards that render all the charts a Netdata server maintains.
Customizing the standard dashboards
Charts information is stored at /usr/share/netdata/web/dashboard_info.js. This file includes information that is rendered on the dashboard, controls chart colors, section and subsection heading, titles, etc.
If you change that file, your changes will be overwritten when Netdata is updated. You can preserve your settings by creating a new such file (there is /usr/share/netdata/web/dashboard_info_custom_example.js you can use to start with).
You have to copy the example file under a new name, so that it will not be overwritten with Netdata updates.
To configure your info file set in netdata.conf:
[web]
custom dashboard_info.js = your_file_name.js