Ignore devices for ucd-diskio

Hello,

I have a Proxmox cluster with multiple rbd devices (rados block device). LibreNMS is discovering all of them and creating Disk I/O graphs. There are over 100 devices per host.
Is there any way to create device ignore rules for UCD DiskIO like the ones for mount points in the Storage module? I would like to ignore all /dev/rbd* devices and still be able to create Disk I/O graphs for the remaining disks.

Regards,
M.

Yes under Global settings -> Discovery -> Storage Module.

Hello Kevin,

That applies only for the Storage Module that generates disk usage graphs for mount points.
I need filtering for the UCD DiskIO Module that generates Disk I/O graphs for disk devices.

Regards,
M.

diskio code is very simple and doesn’t support filtering. Take a look at it if you like.

After some digging around, I’ve found what I was looking for:

I added $config['bad_disk_regexp'][] = '/^rbd[0-9].*/'; to config.php and it works perfectly.

M.

How did you find it?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.