# no need for shebang - this file is loaded from charts.d.plugin load_average_update_every=5 load_priority=100 # this is an example charts.d collector # it is disabled by default. # there is no point to enable it, since netdata already # collects this information using its internal plugins. load_average_enabled=0 load_average_check() { # this should return: # - 0 to enable the chart # - 1 to disable the chart if [ ${load_average_update_every} -lt 5 ] then # there is no meaning for shorter than 5 seconds # the kernel changes this value every 5 seconds load_average_update_every=5 fi [ ${load_average_enabled} -eq 0 ] && return 1 return 0 } load_average_create() { # create a chart with 3 dimensions cat <