Repository navigation
|
I am using beszel to monitor disks on my open media vault (OMV) server. It does not have reliable mapping of disks to Since I don't have reliable Docker volumes: The problem is, I don't get disk I/O stats. Side note: I also don't get them for the root device, but perhaps that is a different issue since I'm not specifically mounting root (well, indirectly, to mount the socket since the agent is running on the docker host). One thing I'm not sure about is it looks like the agent has the information it needs, i.e. the partition data shows the device correctly, and diskstats lists data for those devices. Is there some reason the beszel client is not able to get the filesystem and use that to look up diskstats? From the debug logs, [
{
"device": "/dev/sda1",
"mountpoint": "/beszel_socket/beszel.sock",
"fstype": "ext4",
"opts": [
"rw",
"relatime"
]
} {
"device": "/dev/sdc",
"mountpoint": "/extra-filesystems/Share",
"fstype": "btrfs",
"opts": [
"ro",
"relatime"
]
} {
"device": "/dev/sdb",
"mountpoint": "/extra-filesystems/Storage",
"fstype": "btrfs",
"opts": [
"ro",
"relatime"
]
}
]And [
sda: {
"readCount": 139358,
"mergedReadCount": 30058,
"writeCount": 2402866,
"mergedWriteCount": 912224,
"readBytes": 4932836352,
"writeBytes": 48836927488,
"readTime": 1533907,
"writeTime": 33813807,
"iopsInProgress": 0,
"ioTime": 10099880,
"weightedIO": 40993992,
"name": "sda",
"serialNumber": "",
"label": ""
} sda1: {
"readCount": 138739,
"mergedReadCount": 30058,
"writeCount": 2402850,
"mergedWriteCount": 912224,
"readBytes": 4913648640,
"writeBytes": 48836927488,
"readTime": 1527893,
"writeTime": 33813433,
"iopsInProgress": 0,
"ioTime": 10462152,
"weightedIO": 35742650,
"name": "sda1",
"serialNumber": "",
"label": ""
} sda2: {
"readCount": 2,
"mergedReadCount": 0,
"writeCount": 0,
"mergedWriteCount": 0,
"readBytes": 2048,
"writeBytes": 0,
"readTime": 21,
"writeTime": 0,
"iopsInProgress": 0,
"ioTime": 24,
"weightedIO": 21,
"name": "sda2",
"serialNumber": "",
"label": ""
} sda5: {
"readCount": 223,
"mergedReadCount": 0,
"writeCount": 0,
"mergedWriteCount": 0,
"readBytes": 10043392,
"writeBytes": 0,
"readTime": 2125,
"writeTime": 0,
"iopsInProgress": 0,
"ioTime": 2036,
"weightedIO": 2125,
"name": "sda5",
"serialNumber": "",
"label": ""
} sdb: {
"readCount": 49758,
"mergedReadCount": 1936,
"writeCount": 14382,
"mergedWriteCount": 59276,
"readBytes": 10794471424,
"writeBytes": 3512905728,
"readTime": 94773,
"writeTime": 34849,
"iopsInProgress": 0,
"ioTime": 49152,
"weightedIO": 137126,
"name": "sdb",
"serialNumber": "",
"label": ""
} sdc: {
"readCount": 29035,
"mergedReadCount": 1587,
"writeCount": 60393,
"mergedWriteCount": 143196,
"readBytes": 1827348480,
"writeBytes": 13027586048,
"readTime": 26618,
"writeTime": 195105,
"iopsInProgress": 0,
"ioTime": 114108,
"weightedIO": 284388,
"name": "sdc",
"serialNumber": "",
"label": ""
}
] |
Replies: 6 comments 3 replies
|
Agreed, it looks like the necessary info is there so I'm not sure why it's not picking it up. Please try switching over to If it doesn't work right away, try changing the mounts to include the device. Like |
|
I'm now getting root disk I/O bandwidth, which is nice, but not for the two extra drives. In the logs: If I change the mount to e.g. So what I am requesting is for the disk stats to use the device that's already there in |
|
Thanks, I made some updates. Can you try pulling the image again and checking if it works any better? docker compose pull && docker compose up -d --force-recreate |
|
Hello again... Now that 0.18.5 is out, the configuration that was working with dev is no longer working. In particular, If I shell into the agent container, Note how things have shifted around since the last run, root is now Also note that the root filesystem pick was wrong, is there some reason it doesn't use e.g. Here are the disk-related logs: Here are the disk stats formatted: |
|
FYI, |
|
See #1847, everything is working as expected with the latest |
Thanks, I made some updates. Can you try pulling the image again and checking if it works any better?
docker compose pull && docker compose up -d --force-recreate