Create graph for Linux Processes grouped by states using Grafana, InfluxDB and collectd

SCREENSHOT 11) Set the graph title to the right where is the graph options – Processes states.

The query is ready and several graph options follow.

main menu
graph title

SCREENSHOT 12) Set the “Tooltip mode” to “All” to show all the queries’ results for a given time in the tooltip.

main menu
Tooltip mode All

SCREENSHOT 13) Select the legend type “Table” for better visibility.

Scroll down if needed.

main menu
Legend table

SCREENSHOT 14) Add additional values in the legend for the measurements like the current value of the measurements and so on.

Add “Last*” and select another values.

main menu
legend values

SCREENSHOT 15) 4 calculations are selected to be shown in the graph legend – Last, Mean, Min, Max.

These 4 calculations are meaningful for the current measurement – Processes states. There are many more in the drop-down list.

main menu
legend last mean min max

SCREENSHOT 16) Scrow down to the Graphs styles sub-menu and chose “Always” for the “Connect null values”

If there are some missing values there won’t be gaps in the graphs.

main menu
connect null values

SCREENSHOT 17) Increase the lines width in the graph for better readability.

main menu
Line width

SCREENSHOT 18) The units of the processes states are just number from 0 to several thousands, so “short” or “Number” will be OK.

main menu
Standard options short

SCREENSHOT 19) Apply all the graph modifications.

main menu
Apply graph modifications.

SCREENSHOT 20) The Processes states graph with 6 lines is ready and can be resized.

main menu
Processes states graph ready

Leave a Reply

Your email address will not be published. Required fields are marked *