Hi all!
We use Cacti to monitor various server metrics and I have recently started looking into using it for disk IO monitoring.
The method found uses the UCD-DISKIO-MIB SNMP MIB which unfortunately seems to use the dynamically created device mapper nodes (/dev/dm-##).
This of course is not only subject to change, but isn't the same on both nodes of the cluster when the service migrates to it.
In fact, according to Red Hat's documentation...
Quote:
NOTE: /dev/dm-N nodes should never be used in scripts to access the device since the N number is assigned dynamically and changes with the sequence of how devices are activated. Therefore, true names in the /dev/mapper directory should be used. This layout is to support udev requirements of how nodes/symlinks should be created.
|
So my questions are:
- Is there a way to configure snmpd to report the /dev/mapper entries which aren't subject to change instead of the device mapper nodes?
- Or instead, is it possibly to get UDEV to use the same persistent device mapper node for the volume in question on all nodes of the cluster?