|
No, I haven't run into this problem, but that is not to say that it doesn't exist. I don't watch this service closely, I merely got this up and running and turned it over to the people who run the service. The most complaints I get are about the latency graphs and how they differ from the CMC. I still can't explain that, but I know the graphs represent what the SNMP agents are reporting ... anyway sorry to ramble.
I only spent a few seconds looking at this, but the issue makes sense. You certainly don't want the volume size reported to reflect both its own size plus the size of the snapshots. This would confuse the heck out of people. But I also understand the need to know how much snapshot space you're using, especially if you're generating lots of snapshots. The max we have is 2. Again, I don't run the service, so I don't know why we don't use more.
There is a whole additional table dedicated to Snapshots ... LEFTHAND-NETWORKS-NSM-CLUSTERING-MIB::clusVolumeSnapshotEntry, or .1.3.6.1.4.1.9804.3.1.1.2.12.101.1. This template set doesn't look at this table at all, but it really should!!
There is some great info in there ... including clusVolumeSnapshotUsedSpace, which is exactly what you want, or even clusVolumeSnapshotClusterUsedPercent or clusVolumeSnapshotProvisionedSpace. Heck, they even have IO and latency information for the snapshots ... so they're essentially treated like additional volumes!
This would not be hard to duplicate the volume data query and adapt it to the snapshot table. Thinking through this in my head though ... you'd have to create new graphs for each snapshot you create. Then you'd have stats for just *that* snapshot. If you automate your snapshot creation through the CMC CLI (I only know it exists, never used it) then this script could also automate the creation of the graphs ... but this seems like a lot of effort. I imagine you want an aggregate graph that includes the space of all the snapshots for the entire cluster? or an aggregate of all snapshots for a particular volume? This would require a script-server perhaps that is capable of reading in all the right OIDs, and then spits out a total space used. There is nothing (from what I can see) within the current MIB tree that provides a good overview of snapshot use. This would be a good feature request to HP I guess. Then it would be trivial (and far more useful, Nagios would like it too!)
Hope this helps. Let me know what you think. And sorry for the late reply, I am slammed with work.
|