This message was deleted.
# longhorn-storage
a
This message was deleted.
q
Instead of telling Zabbix to use the /dev/sdX alias for disks use the real id:
Copy code
/dev/disk/by-id/
For example:
Copy code
/dev/disk/by-id/scsi-14f504e46494c45006779706e4d772d746d36582d6869556e
That way you can easily filter scsi disk from other disks
You can also use
Copy code
/dev/disk/by-path/
And there iscsi disks will be something like this
Copy code
/dev/disk/by-path/ip-192.168.20.149:3260-iscsi-iqn.2006-01.com.openfiler:tsn.0a16ba8cb6c9-lun-0
In Zabbix you can add filters so use them and pick only those whose name contains "scsi" or "iscsi"
s
Thanks @quick-sandwich-76600 🙂 Unfortunately the Zabbix supplied template doesn't discover /dev/disk/* otherwise that'd work. Our local OS disks have device-mapper (dm-*) devices and the Longhorn iSCSI disks don't, so I think that may be the solution.
q
Yes, that's a good option.
106 Views