[configuration] title = nurswghbs001 width-units = 4 height-units = 3 update-interval = 15 disconnect-interval = 30 minute entity = nurswghbs001 legend-value = false markers = false pointer-position = false stepline = false [group] [widget] type = chart timespan = 1 day title = CPU Busy (100% - idle) max-range = 100 width-units = 1.33 legend-position = top period = 15 minute mode = stack metric = collectd.cpu.aggregation.busy.average label-format = statistic [series] statistic = avg alert-expression = value > 75 alert-style = stroke: red [series] statistic = max color = darkviolet style = opacity: 0.25 [widget] type = chart timespan = 1 hour title = CPU Usage Breakdown max-range = 100 width-units = 1.33 height-units = 0.5 mode = stack label-format = javascript:keepAfterLast(replace(metric, ".average", ""), '.') [series] metric = collectd.cpu.aggregation.steal.average color = darkviolet [series] metric = collectd.cpu.aggregation.wait.average color = steelblue [series] metric = collectd.cpu.aggregation.system.average color = orange [series] metric = collectd.cpu.aggregation.user.average color = green [widget] type = bar timespan = 1 hour limit = 1 title = CPU Usage by Processor pointer-position = false min-range = 0 max-range = 100 left-units = 1.33 width-units = 1.33 height-units = 0.5 top-units = 0.5 #group = instance var cpus = range(0,11) for cpu in cpus [column] label = @{cpu} [series] label = @{cpu} metric = collectd.cpu.wait metric-label = wait [tags] instance = @{cpu} [series] label = @{cpu} metric = collectd.cpu.system metric-label = system [tags] instance = @{cpu} [series] label = @{cpu} metric = collectd.cpu.user metric-label = user [tags] instance = @{cpu} endfor [widget] type = chart timespan = 6 hour title = Load Average and Processes min-range = 0 max-range = 2 max-range-right = 2 width-units = 1.33 left-units = 2.66 label-format = javascript:keepAfter(replace(metric, "collectd.", ""), '.') [series] metric = collectd.load.loadavg.15m style = stroke-width: 2px [series] metric = collectd.load.loadavg.1m color = grey [series] tooltip = Zombie processes metric = collectd.processes.zombies axis = right color = magenta [series] tooltip = Stopped processes metric = collectd.processes.stopped axis = right color = brown [group] [widget] type = chart timespan = 6 hour title = Network IO per second format = bytes legend-position = top mode = column-stack period = 30 minute statistic = avg label-format = label [series] label = docker0 - In metric = collectd.interface.if_octets.received [tags] instance = docker0 [series] label = docker0 - Out metric = collectd.interface.if_octets.sent replace-value = -value series-type = detail [tags] instance = docker0 [series] label = eth0 - In metric = collectd.interface.if_octets.received [tags] instance = eth0 [series] label = eth0 - Out metric = collectd.interface.if_octets.sent replace-value = -value series-type = detail [tags] instance = eth0 [widget] type = box timespan = 1 hour title = Memory usage, last hour format = bytes #label-format = javascript:keepAfter(metric, '.') [series] label = free metric = collectd.memory.free [series] label = buffers metric = collectd.memory.buffered [series] label = cached metric = collectd.memory.cached [series] label = used metric = collectd.memory.used [widget] type = chart timespan = 1 day title = Memory Usage format = bytes min-range-force = 0 period = 30 minute mode = range #label-format = statistic label label-format = javascript:keepAfterLast(metric, '.') + ' ' + statistic [series] metric = collectd.memory.cached statistic = min color = silver style = opacity: 0.5 [series] metric = collectd.memory.cached statistic = max color = silver style = opacity: 0.5 [series] label = used metric = collectd.memory.used statistic = min color = darkviolet [series] label = used metric = collectd.memory.used statistic = max color = darkviolet [widget] type = chart timespan = 1 day title = Swap Usage height-units = 0.5 top-units = 1 format = bytes max-range = 10485760 label-format = javascript:keepAfterLast(metric, '.') [series] metric = collectd.memory.swap_used [series] metric = collectd.memory.swap_cached [widget] type = chart timespan = 1 day title = Swapping height-units = 0.5 top-units = 1.5 left-units = 3 format = numeric legend-position = top label-format = javascript:keepAfterLast(metric, '.') [series] metric = collectd.io.swap_in [series] metric = collectd.io.swap_out [group] period = 30 minute statistic = avg mode = column-stack legend-position = top label-format = tagValue display = value > 0 timespan = 6 hour format = bytes [widget] type = bar title = Disk Space limit = 1 statistic = detail #script = widget.columnSort(function(a, b){ return b.tseries[1].value - a.tseries[1].value; }) sort = value DESC label-format = javascript:keepAfterLast(metric, '.') + '-' + tagValue list fss = /, /home endlist for fs in fss [column] label = @{fs} [series] metric = collectd.df.space.reserved color = brown metric-label = reserved [tags] instance = @{fs} [series] metric = collectd.df.space.used color = green metric-label = used [tags] instance = @{fs} [series] metric = collectd.df.space.free color = silver metric-label = free [tags] instance = @{fs} endfor list disks = sda, sda1, sda2, sda3, sda4, sda5 [widget] type = chart title = Disk I/O min-range = 0 max-range = 100 format = percent metric = collectd.disk.disk_io_time.io_time for disk in disks [series] [tags] instance = @{disk} endfor [widget] type = chart title = Disk Read per second metric = collectd.disk.disk_octets.read for disk in disks [series] [tags] instance = @{disk} endfor [widget] type = chart timespan = 6 hour title = Disk Write per second metric = collectd.disk.disk_octets.write for disk in disks [series] [tags] instance = @{disk} endfor