⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
self
/
root
/
usr
/
local
/
src
/
netdata
/
web
/
gui
/
View File Name :
dashboard_info_custom_example.js
// SPDX-License-Identifier: GPL-3.0-or-later /* * Custom netdata information file * ------------------------------- * * Use this file to add custom information on netdata dashboards: * * 1. Copy it to a new filename (so that it will not be overwritten with netdata updates) * 2. Edit it to fit your needs * 3. Set the following option to /etc/netdata/netdata.conf : * * [web] * custom dashboard_info.js = your_filename.js * * Using this file you can: * * 1. Overwrite or add messages to menus, submenus and charts. * Use dashboard_info.js to find out what you can define. * * 2. Inject javascript code into the default netdata dashboard. * */ // Codacy declarations /* global customDashboard */ // ---------------------------------------------------------------------------- // MENU // // - title the menu title as to be rendered at the charts menu // - icon html fragment of the icon to display // - info html fragment for the description above all the menu charts customDashboard.menu = { }; // ---------------------------------------------------------------------------- // SUBMENU // // - title the submenu title as to be rendered at the charts menu // - info html fragment for the description above all the submenu charts customDashboard.submenu = { }; // ---------------------------------------------------------------------------- // CONTEXT (the template each chart is based on) // // - info html fragment for the description above the chart // - height a ratio to the default as a decimal number: 1.0 = 100% // - colors a single color or an array of colors to use for the dimensions // - valuerange the y-range of the chart as an array [min, max] // - heads an array of gauge charts to render above the submenu section // - mainheads an array of gauge charts to render at the menu section customDashboard.context = { };