var netdataDashboard = window.netdataDashboard || {};
// menu
// information about the main menus
netdataDashboard.menu = {
'system': {
title: 'System Overview',
icon: '',
info: 'Overview of the key system metrics.'
},
'ap': {
title: 'Access Points',
icon: '',
info: undefined
},
'tc': {
title: 'Quality of Service',
icon: '',
info: 'Netdata collects and visualizes tc class utilization using its tc-helper plugin. If you also use FireQOS for setting up QoS, netdata automatically collects interface and class names. If your QoS configuration includes overheads calculation, the values shown here will include these overheads (the total bandwidth for the same interface as reported in the Network Interfaces section, will be lower than the total bandwidth reported here). Also, data collection may have a slight time difference compared to the interface (QoS data collection is implemented with a BASH script, so a shift in data collection of a few milliseconds should be justified).'
},
'net': {
title: 'Network Interfaces',
icon: '',
info: 'Per network interface statistics collected from /proc/net/dev
.'
},
'ipv4': {
title: 'IPv4 Networking',
icon: '',
info: undefined
},
'ipv6': {
title: 'IPv6 Networking',
icon: '',
info: undefined
},
'ipvs': {
title: 'IP Virtual Server',
icon: '',
info: undefined
},
'netfilter': {
title: 'Firewall (netfilter)',
icon: '',
info: undefined
},
'cpu': {
title: 'CPUs',
icon: '',
info: undefined
},
'mem': {
title: 'Memory',
icon: '',
info: undefined
},
'disk': {
title: 'Disks',
icon: '',
info: 'Charts with performance information for all the system disks. Special care has been given to present disk performance metrics in a way compatible with iostat -x
. netdata by default prevents rendering performance charts for individual partitions and unmounted virtual disks. Disabled charts can still be enabled by altering the relative settings in the netdata configuration file.'
},
'sensors': {
title: 'Sensors',
icon: '',
info: undefined
},
'nfsd': {
title: 'NFS Server',
icon: '',
info: undefined
},
'nfs': {
title: 'NFS Client',
icon: '',
info: undefined
},
'apps': {
title: 'Applications',
icon: '',
info: 'Per application statistics are collected using netdata\'s apps.plugin
. This plugin walks through the entire /proc
filesystem and aggregates statistics for applications of interest, defined in /etc/netdata/apps_groups.conf
(the default is here). The plugin internally builds a process tree (much like ps fax
does), and groups processes together (evaluating both child and parent processes) so that the result is always a chart with a predefined set of dimensions (of course, only application groups found running are reported). The reported values are compatible with top
, although the netdata plugin counts also the resources of exited children (unlike top
which shows only the resources of the currently running processes). So for processes like shell scripts, the reported values include the resources used by the commands these scripts run within each timeframe.',
height: 1.5
},
'users': {
title: 'Users',
icon: '',
info: 'Per user statistics are collected using netdata\'s apps.plugin
. This plugin walks through the entire /proc
filesystem and aggregates statistics per user. The reported values are compatible with top
, although the netdata plugin counts also the resources of exited children (unlike top
which shows only the resources of the currently running processes). So for processes like shell scripts, the reported values include the resources used by the commands these scripts run within each timeframe.',
height: 1.5
},
'groups': {
title: 'User Groups',
icon: '',
info: 'Per user group statistics are collected using netdata\'s apps.plugin
. This plugin walks through the entire /proc
filesystem and aggregates statistics per user group. The reported values are compatible with top
, although the netdata plugin counts also the resources of exited children (unlike top
which shows only the resources of the currently running processes). So for processes like shell scripts, the reported values include the resources used by the commands these scripts run within each timeframe.',
height: 1.5
},
'netdata': {
title: 'Netdata Monitoring',
icon: '',
info: undefined
},
'example': {
title: 'Example Charts',
info: undefined
},
'cgroup': {
title: '',
icon: '',
info: undefined
},
'cgqemu': {
title: '',
icon: '',
info: undefined
},
'memcached': {
title: 'memcached',
icon: '',
info: undefined
},
'mysql': {
title: 'MySQL',
icon: '',
info: undefined
},
'redis': {
title: 'Redis',
icon: '',
info: undefined
},
'retroshare': {
title: 'RetroShare',
icon: '',
info: undefined
},
'ipfs': {
title: 'IPFS',
icon: '',
info: undefined
},
'phpfpm': {
title: 'PHP-FPM',
icon: '',
info: undefined,
},
'postfix': {
title: 'postfix',
icon: '',
info: undefined,
},
'nginx': {
title: 'nginx',
icon: '',
info: undefined,
},
'apache': {
title: 'Apache',
icon: '',
info: undefined,
},
'named': {
title: 'named',
icon: '',
info: undefined
},
'squid': {
title: 'squid',
icon: '',
info: undefined
},
'nut': {
title: 'UPS',
icon: '',
info: undefined
},
'apcupsd': {
title: 'UPS',
icon: '',
info: undefined
},
'smawebbox': {
title: 'Solar Power',
icon: '',
info: undefined
},
'snmp': {
title: 'SNMP',
icon: '',
info: undefined
}
};
// submenu
// information about the submenus
netdataDashboard.submenu = {
'mem.ksm': {
title: 'Memory Deduper',
info: 'Kernel Same-page Merging (KSM) performance monitoring, read from several files in /sys/kernel/mm/ksm/
. KSM is a memory-saving de-duplication feature in the Linux kernel (since version 2.6.32). The KSM daemon ksmd periodically scans those areas of user memory which have been registered with it, looking for pages of identical content which can be replaced by a single write-protected page (which is automatically copied if a process later wants to update its content). KSM was originally developed for use with KVM (where it was known as Kernel Shared Memory), to fit more virtual machines into physical memory, by sharing the data common between them. But it can be useful to any application which generates many instances of the same data.'
},
'ipv4.ecn': {
info: 'Explicit Congestion Notification (ECN) is a TCP extension that allows end-to-end notification of network congestion without dropping packets. ECN is an optional feature that may be used between two ECN-enabled endpoints when the underlying network infrastructure also supports it.'
},
'netfilter.conntrack': {
title: 'Connection Tracker',
info: 'Netfilter Connection Tracker performance monitoring, read from /proc/net/stat/nf_conntrack
. The connection tracker keeps track of all connections of the machine, inbound and outbound. It works by keeping a database with all open connections, tracking network and address translation and connection expectations.'
},
'netfilter.nfacct': {
title: 'Bandwidth Accounting',
info: 'The following information is read using the nfacct.plugin
.'
},
'netfilter.synproxy': {
title: 'DDoS Protection',
info: 'DDoS Protection performance monitoring read from /proc/net/stat/synproxy
. SYNPROXY is a TCP SYN packets proxy. It is used to protect any TCP server (like a web server) from SYN floods and similar DDoS attacks. It is a netfilter module, in the Linux kernel (since version 3.12). It is optimized to handle millions of packets per second utilizing all CPUs available without any concurrency locking between the connections. It can be used for any kind of TCP traffic (even encrypted), since it does not interfere with the content itself.'
},
'system.softnet_stat': {
title: 'softnet',
info: 'Statistics for CPUs SoftIRQs related to network receive work, read from /proc/net/softnet_stat
. Break down per CPU core can be found at CPU / softnet statistics. processed states the number of packets processed, dropped is the number packets dropped because the network device backlog was full (to fix them use sysctl
to increase net.core.netdev_max_backlog
), squeezed is the number of packets dropped because the network device budget ran out (to fix them use sysctl
to increase net.core.netdev_budget
). More information about identifying and troubleshooting network driver related issues can be found at Red Hat Enterprise Linux Network Performance Tuning Guide.'
},
'cpu.softnet_stat': {
title: 'softnet',
info: 'Statistics for per CPUs core SoftIRQs related to network receive work, read from /proc/net/softnet_stat
. Total for all CPU cores can be found at System / softnet statistics. processed states the number of packets processed, dropped is the number packets dropped because the network device backlog was full (to fix them use sysctl
to increase net.core.netdev_max_backlog
), squeezed is the number of packets dropped because the network device budget ran out (to fix them use sysctl
to increase net.core.netdev_budget
). More information about identifying and troubleshooting network driver related issues can be found at Red Hat Enterprise Linux Network Performance Tuning Guide.'
}
};
// chart
// information works on the context of a chart
// Its purpose is to set:
//
// info: the text above the charts
// heads: the representation of the chart at the top the subsection (second level menu)
// mainheads: the representation of the chart at the top of the section (first level menu)
// colors: the dimension colors of the chart (the default colors are appended)
// height: the ratio of the chart height relative to the default
//
netdataDashboard.context = {
'system.cpu': {
info: 'Total CPU utilization (all cores). 100% here means there is no CPU idle time at all. You can get per core usage at the CPUs section and per application usage at the Applications Monitoring section.
Keep an eye on iowait ' + sparkline('system.cpu', 'iowait', '%') + '. If it is constantly high, your disks are a bottleneck and they slow your system down.
Another important metric worth monitoring, is softirq ' + sparkline('system.cpu', 'softirq', '%') + '. A constantly high percentage of softirq may indicate network drivers issues.'
},
'system.load': {
info: 'Current system load, i.e. the number of processes using CPU or waiting for system resources (usually CPU and disk). The 3 metrics refer to 1, 5 and 15 minute averages. Linux calculates this once every 5 seconds. Netdata reads them from /proc/loadavg
. For more information check this wikipedia article',
height: 0.7
},
'system.io': {
info: 'Total Disk I/O, for all disks, read from /proc/vmstat
. You can get detailed information about each disk at the Disks section and per application Disk usage at the Applications Monitoring section.'
},
'system.swapio': {
info: 'Total Swap I/O, read from /proc/vmstat
. (netdata measures both in
and out
. If either of them is not shown in the chart, it is because it is zero - you can change the page settings to always render all the available dimensions on all charts).'
},
'system.pgfaults': {
info: 'Total page faults, read from /proc/vmstat
. Major page faults indicates that the system is using its swap. You can find which applications use the swap at the Applications Monitoring section.'
},
'system.entropy': {
colors: '#CC22AA',
info: 'Entropy, read from /proc/sys/kernel/random/entropy_avail
, is like a pool of random numbers (/dev/random) that are mainly used in cryptography. It is advised that the pool remains always above 200. If the pool of entropy gets empty, you risk your security to be predictable and you should install a user-space random numbers generating daemon, like haveged or rng-tools
(i.e. rngd), to keep the pool in healthy levels.'
},
'system.forks': {
colors: '#5555DD',
info: 'The number of new processes created per second, read from /proc/stat
.'
},
'system.intr': {
colors: '#DD5555',
info: 'Total number of CPU interrupts, read from /proc/stat
. Check system.interrupts
that gives more detail about each interrupt and also the CPUs section where interrupts are analyzed per CPU core.'
},
'system.interrupts': {
info: 'CPU interrupts in detail, read from /proc/interrupts
. At the CPUs section, interrupts are analyzed per CPU core.'
},
'system.softirqs': {
info: 'CPU softirqs in detail, read from /proc/softirqs
. At the CPUs section, softirqs are analyzed per CPU core.'
},
'system.processes': {
info: 'System processes, read from /proc/stat
. Running are the processes in the CPU. Blocked are processes that are willing to enter the CPU, but they cannot, e.g. because they wait for disk activity.'
},
'system.active_processes': {
info: 'All system processes, read from /proc/loadavg
.'
},
'system.ctxt': {
info: 'Context Switches, read from /proc/stat
, is the switching of the CPU from one process, task or thread to another. If there are many processes or threads willing to execute and very few CPU cores available to handle them, the system is making more context switching to balance the CPU resources among them. The whole process is computationally intensive. The more the context switches, the slower the system gets.'
},
'system.idlejitter': {
colors: '#5555AA',
info: 'Idle jitter is calculated by netdata. A thread is spawned that requests to sleep for a few microseconds. When the system wakes it up, it measures how many microseconds have passed. The difference between the requested and the actual duration of the sleep, is the idle jitter. This number is useful in real-time environments, where CPU jitter can affect the quality of the service (like VoIP media gateways).'
},
'system.ipv4': {
info: 'Total IPv4 Traffic, read from /proc/net/netstat
.'
},
'system.ipv6': {
info: 'Total IPv6 Traffic, read from /proc/net/snmp6
.'
},
'system.ram': {
info: 'System memory, read from /proc/meminfo
.'
},
'system.swap': {
info: 'System swap memory, read from /proc/meminfo
.'
},
// ------------------------------------------------------------------------
// MEMORY
'mem.ksm_savings': {
heads: [
netdataDashboard.gaugeChart('Saved', '12%', 'savings', '#0099CC')
]
},
'mem.ksm_ratios': {
heads: [
function(id) {
return '
ifconfig
as RX dropped
(inbound) and TX dropped
(outbound). inbound packets can be dropped at the network interface level due to softnet backlog overflow, bad / unintented VLAN tags, unknown or unregistered protocols, IPv6 frames when the server is not configured for IPv6. Check this document for more information.'
},
// ------------------------------------------------------------------------
// IPv4
'ipv4.tcpmemorypressures': {
info: 'Number of times a socket was put in memory pressure due to a non fatal memory allocation failure (the kernel attempts to work around this situation by reducing the send buffers, etc).'
},
'ipv4.tcpconnaborts': {
info: 'TCP connection aborts. baddata (TCPAbortOnData
) happens while the connection is on FIN_WAIT1
and the kernel receives a packet with a sequence number beyond the last one for this connection - the kernel responds with RST
(closes the connection). userclosed (TCPAbortOnClose
) happens when the kernel receives data on an already closed connection and responds with RST
. nomemory (TCPAbortOnMemory
happens when there are too many orphaned sockets (not attached to an fd) and the kernel has to drop a connection - sometimes it will send an RST
, sometimes it won\'t. timeout (TCPAbortOnTimeout
) happens when a connection times out. linger (TCPAbortOnLinger
) happens when the kernel killed a socket that was already closed by the application and lingered around for long enough. failed (TCPAbortFailed
) happens when the kernel attempted to send an RST
but failed because there was no memory available.'
},
// ------------------------------------------------------------------------
// APPS
'apps.cpu': {
height: 2.0
},
'apps.mem': {
info: 'Real memory (RAM) used by applications. This does not include shared memory.'
},
'apps.vmem': {
info: 'Virtual memory allocated by applications. Please check this article for more information.'
},
'apps.preads': {
height: 2.0
},
'apps.pwrites': {
height: 2.0
},
// ------------------------------------------------------------------------
// USERS
'users.cpu': {
height: 2.0
},
'users.mem': {
info: 'Real memory (RAM) used per user. This does not include shared memory.'
},
'users.vmem': {
info: 'Virtual memory allocated per user. Please check this article for more information.'
},
'users.preads': {
height: 2.0
},
'users.pwrites': {
height: 2.0
},
// ------------------------------------------------------------------------
// GROUPS
'groups.cpu': {
height: 2.0
},
'groups.mem': {
info: 'Real memory (RAM) used per user group. This does not include shared memory.'
},
'groups.vmem': {
info: 'Virtual memory allocated per user group. Please check this article for more information.'
},
'groups.preads': {
height: 2.0
},
'groups.pwrites': {
height: 2.0
},
// ------------------------------------------------------------------------
// NETWORK QoS
'tc.qos': {
heads: [
function(id) {
if(id.match(/.*-ifb$/))
return netdataDashboard.gaugeChart('Inbound', '12%', '', '#5555AA');
else
return netdataDashboard.gaugeChart('Outbound', '12%', '', '#AA9900');
}
]
},
// ------------------------------------------------------------------------
// NETWORK INTERFACES
'net.net': {
heads: [
netdataDashboard.gaugeChart('Received', '12%', 'received'),
netdataDashboard.gaugeChart('Sent', '12%', 'sent')
]
},
// ------------------------------------------------------------------------
// NETFILTER
'netfilter.sockets': {
colors: '#88AA00',
heads: [
netdataDashboard.gaugeChart('Active Connections', '12%', '', '#88AA00')
]
},
'netfilter.new': {
heads: [
netdataDashboard.gaugeChart('New Connections', '12%', 'new', '#5555AA')
]
},
// ------------------------------------------------------------------------
// DISKS
'disk.util': {
colors: '#FF5588',
heads: [
netdataDashboard.gaugeChart('Utilization', '12%', '', '#FF5588')
],
info: 'Disk Utilization measures the amount of time the disk was busy with something. This is not related to its performance. 100% means that the Linux kernel always had an outstanding operation on the disk. Keep in mind that depending on the underlying technology of the disk, 100% here may or may not be an indication of congestion.'
},
'disk.backlog': {
colors: '#0099CC',
info: 'Backlog is an indication of the duration of pending disk operations. On every I/O event the Linux kernel is multiplying the time spent doing I/O since the last update of this field with the number of pending operations. While not accurate, this metric can provide an indication of the expected completion time of the operations in progress.'
},
'disk.io': {
heads: [
netdataDashboard.gaugeChart('Read', '12%', 'reads'),
netdataDashboard.gaugeChart('Write', '12%', 'writes')
],
info: 'Amount of data transferred to and from disk.'
},
'disk.ops': {
info: 'Completed disk I/O operations. Keep in mind the number of operations requested might be higher, since the Linux kernel is able to merge adjacent to each other (see merged operations chart).'
},
'disk.qops': {
info: 'I/O operations currently in progress. This metric is a snapshot - it is not an average over the last interval.'
},
'disk.iotime': {
height: 0.5,
info: 'The sum of the duration of all completed I/O operations. This number can exceed the interval if the disk is able to execute I/O operations in parallel.'
},
'disk.mops': {
height: 0.5,
info: 'The number of merged disk operations. The Linux kernel is able to merge adjacent I/O operations, for example two 4KB reads can become one 8KB read before given to disk.'
},
'disk.svctm': {
height: 0.5,
info: 'The average service time for completed I/O operations. This metric is calculated using the total busy time of the disk and the number of completed operations. If the disk is able to execute multiple parallel operations the reporting average service time will be misleading.'
},
'disk.avgsz': {
height: 0.5,
info: 'The average I/O operation size.'
},
'disk.await': {
height: 0.5,
info: 'The average time for I/O requests issued to the device to be served. This includes the time spent by the requests in queue and the time spent servicing them.'
},
'disk.space': {
info: 'Disk space utilization. reserved for root is automatically reserved by the system to prevent the root user from getting out of space.'
},
'disk.inodes': {
info: 'inodes (or index nodes) are filesystem objects (e.g. files and directories). On many types of file system implementations, the maximum number of inodes is fixed at filesystem creation, limiting the maximum number of files the filesystem can hold. It is possible for a device to run out of inodes. When this happens, new files cannot be created on the device, even though there may be free space available.'
},
'mysql.net': {
info: 'The amount of data sent to mysql clients (out) and received from mysql clients (in).'
},
// ------------------------------------------------------------------------
// MYSQL
'mysql.queries': {
info: 'The number of statements executed by the server.