Monitoring dashboards¶
Server monitoring¶
The Server Monitoring dashboard shows server-level statistics for the monitored environment. It requires the System Info Generator component of the Monitoring tool to be running. It is made up of the following components:
- Server Selection
- CPU Usage
- RAM Usage
- Network Usage
- File System Usage
Server selection¶
Select a server to monitor from the dropdown to populate the dashboard. All machines whose KX Refinery Monitoring daemons are publishing into this server will be shown.

CPU usage¶
Displays a bar chart of CPU usage percentage by core for the selected machine.

Source: Used CPU percentage is calculated by core as 100 - (idle seconds divided by the total time between updates). idleSecs comes from proc/stat.
RAM usage¶
Displays a pie chart of RAM usage percentage for the selected machine.

Source: FreeBytes and TotalBytes come from /proc/meminfo
Network usage¶
Displays a bar chart showing the packets sent, packets received, packet transmission errors and packet receiving errors. This is displayed by interface.

Source: nstat
File system usage¶
Displays percentage of total disk space used by mount excluding read-only directories.

Source: usedBytes calculated as totalBytes - freeBytes, from : /proc/mounts via statvfs.
Process monitoring¶
The Process Monitoring dashboard shows process-level statistics for the monitored environment. It is made up of the following components
- Server Selection
- Live Process State table
- CPU Usage since Midnight
- Memory Usage since Midnight
- Running Processes
All process level stats come from /proc/[pid]/stat.
Selecting a server¶
Select a server to monitor from the dropdown to populate the dashboard. All machines whose KX Refinery Monitoring daemons are publishing into this server will be shown.

Live process state table¶
Displays a table of running processes by process ID. It shows executable, runState and cmdline.
Selecting a row in this table will populate the other components in the dashboard with details for the selected process.

CPU usage since midnight¶
Displays a line graph showing the CPU usage of the selected process between midnight and now. (If started since midnight, the graph will show the usage since process start.)

Memory usage since midnight¶
Displays a line graph showing the memory usage of the selected process between midnight and now. (If started after midnight, the graph will show the usage since process start.)

Running processes¶
Displays a count of the running processes on the monitored machine.
