You might be able to use the HOST-RESOURCES-MIB and create a MonitoredDisk model and associate it with the device. Caveat: it will require some scripting skills and knowledge of VNMSH to make it work. I experimented with this a few years back and got it working but then the requirements changed. The problem is that by default the file system monitoring for *NIX hosts uses the file system partition names rather than the mount point names and the mount point names are what you really need in your alarms. But in the MIB there's a mapping between the file system partition names and the mount point names. For example, to find the mount point name for the root partition (use the VNMSH ‘show attributes’ command):
1. Add support for selected attributes from HOST-RESOURCES-MIB (use MIB Tools to map attributes) 2. Find the attribute 'Iid' corresponding to the file system name (which is the 'Value' of the hrStorageDescr attribute) = 3 Id Name Iid Value <hrStorageDescr_attr_id> hrStorageDescr 3 Disk partition /dev/mapper/vg01-root 1. Find the 'Iid' of the hrFSStorageIndex attribute whose 'Value' corresponds to the 'Iid' found in step 1 Id Name Iid Value <hrFSStorageIndex_attr_id> hrFSStorageIndex 1 3 1. Find the 'Value' of the hrFSMountPoint attribute whose 'Iid' corresponds to the 'Iid' found in step 2 Id Name Iid Value <hrFSMountPoint_attr_id> hrFSMountPoint 1 / So in the above example the mount point for the “Disk partition /dev/mapper/vg01-root” partition is ‘/’. Try something like this: 1. Add support for selected attributes from HOST-RESOURCES-MIB (use MIB Tools to map attributes) 2. Create a MonitoredDisk model with the required parameter values (add/remove whatever attributes you need here or run update to modify them later) create model mth=0xc40075 attr=0x1006e,val=<model_name> attr=0xc4115a,val=<file_system_name> attr=0xc4115b,val="<File_system_alias>" attr=0xc41170,val=<major_threshold> attr=0xc41171,val=<critical_threshold> attr=0xc41176,val=0 1. Associate rfc2790App model with the MonitoredDisk model with the Provides relation create association rel=Provides lmh=0x400386 rmh=<monitored_disk_model_handle> 1. Associate the Host model with the MonitoredDisk model with the SENDS_EVENTS_TO relation create association rel=SENDS_EVENTS_TO lmh=0x400393 rmh=0x400386 It’s been a long time since I looked at this so you will need to do some experimenting to see if it works for your requirements but it should get you started. I think there’s an extra step to update the rfc2790app model of the target host with appropriate MonitoredDisk attributes for example. Hope that helps. Craig Porter, Enterprise Systems Management - Availability & Performance Monitoring Marsh & McLennan Companies Global Technology Infrastructure (MGTI) | Centralized Operations Sackville House 1.6, 143-149 Fenchurch Street, London EC3M 6BN, Great Britain +44 (0)20 7178 4827 | Mobile +44 (0)7585 803 093 | [email protected]<mailto:[email protected]> www.mmc.com<http://www.mmc.com/> From: Stephen Warne [mailto:[email protected]] Sent: 02 September 2015 10:42 To: spectrum Subject: RE: [spectrum] Monitoring SCSI file systems in Spectrum Hi Fereydoon If all else fails you could create a watch to monitor this resource if it’s utilisation is available through a mib such as RFC2790. Regards Stephen. From: Fereydoon Mallahi Karai [mailto:[email protected]] Sent: 01 September 2015 22:01 To: spectrum Subject: [spectrum] Monitoring SCSI file systems in Spectrum Hello, I want to monitor the file system '/dev/sdc1' of a SCSI storage which has been installed and mounted on a Linux server. This Linux server has been discovered as a SNMP model (Workstation-Server) in Spectrum (Rel 9.4). When i go to "Component Detail > Information > System Resources > Peripherals (RFC 2790)', I can see the 'SCSI disk (/dev/sdc)' as a peripheral device but i can't see the "Disk File System (UCD-SNMP)" in "Component Detail > Information > System Resources > File system". I will appreciate if you inform me if you have any suggestion/comment. Thank you. Ferey. * --To unsubscribe from spectrum, send email to [email protected]<mailto:[email protected]> with the body: unsubscribe spectrum [email protected]<mailto:[email protected]> * --To unsubscribe from spectrum, send email to [email protected]<mailto:[email protected]> with the body: unsubscribe spectrum [email protected]<mailto:[email protected]> ________________________________ The Insurance Act 2015 – Are you prepared? Check our website, uk.marsh.com, or ask your Marsh contact for further details. Marsh Ltd. Registered in England and Wales Number: 1507274 Registered office 1 Tower Place West, Tower Place, London, EC3R 5BU. Marsh Ltd is authorised and regulated by the Financial Conduct Authority. This message and any attachments are confidential. If you have received this message in error please delete it from your system. If you require any assistance please notify the sender. Thank you. --- To unsubscribe from spectrum, send email to [email protected] with the body: unsubscribe spectrum [email protected]
