We have several (identical) Linux servers.
And a monitoring tool that provides server information.
Several servers have netdata v1.33.1-216-nightly, they show all the required information (including diskspace).
2 servers have the latest version: netdata v2.3.0-43-nightly, they don’t show the diskspace information.
Error = disk_space.: chart not found
(part of) config:
[plugin:proc:diskspace:/]
space usage = auto
inodes usage = auto
(part of) monitor tool:
data-netdata="disk_space."
data-host=“http://‘.$url.’:19999”
data-dimensions=“used”
data-easypiechart-max-value=“230”
data-units=“GB”
data-decimal-digits=“0”
data-title=“Diskspace”
data-chart-library=“easypiechart”
data-easypiechart-barcolor=“(function (percent) { return (percent < 50 ? '#33cc33' : percent < 70 ? '#fff200' : '#ff6600');})”
data-width=“29%”
data-after=“-300”
data-points=“300”
Thanks, but i’m not very skilled with Linux or Netdata.
I checked the faulty server, it gives a lot of info.
I’m not sure what i’m looking for and what i have to do to show the used diskspace.
Here’s a part of the info that might be relevant:
“disk_space./”:{
“id”:“disk_space./”,
“name”:“disk_space./”,
“type”:“disk_space”,
“family”:“/”,
“context”:“disk.space”,
“title”:“Disk Space Usage (disk_space./)”,
“priority”:2023,
“plugin”:“diskspace.plugin”,
“module”:“”,
“units”:“GiB”,
“data_url”:“/api/v1/data?chart=disk_space./”,
“chart_type”:“stacked”,
“duration”:6069558,
“first_entry”:1736913600,
“last_entry”:1742983157,
“update_every”:1,
“dimensions”:{
“avail”:{
“name”:“avail”
},
“used”:{
“name”:“used”
},
“reserved_for_root”:{
“name”:“reserved for root”
}
},
“chart_variables”:{
},
“green”:null,
“red”:null,
“alarms”:{
“disk_space_usage”:{
“id”:“disk_space_usage”,
“status”:“CLEAR”,
“units”:“%”,
“duration”:60
},
“disk_fill_rate”:{
“id”:“disk_fill_rate”,
“status”:“UNDEFINED”,
“units”:“GB/hour”,
“duration”:60
},
“out_of_disk_space_time”:{
“id”:“out_of_disk_space_time”,
“status”:“CLEAR”,
“units”:“hours”,
“duration”:10
}
},