Data Infrastructure Management Software Discussions

Highlighted

How can we add a listing of directories in a volume to Active IQ Unified Manager alerts

We use OCUM to create alerts when a volume his 80% and 90% utilization, but we would really like to have a directory listing of the directories in that volume added to the alert description field.  Is there way to easily do this or do we have to switch to using a custom script to create and send the alerts?  We are currently using Active IQ Unified Manager 9.6P1.

3 REPLIES 3
Highlighted

Re: How can we add a listing of directories in a volume to Active IQ Unified Manager alerts

Hi,

 

I think you are asking about the Folders located inside the Volume presented via NAS or SAN Protocols ?

 

No. This is not possible via OCUM/AUM: OCUM alerts are based on the EMS (Event Management system) which collects data from ONTAP kernel, and it is not desgined to do that.

 

You will need to use custom or Host side application/script to achieve the same.

 

Thanks!

Highlighted

Re: How can we add a listing of directories in a volume to Active IQ Unified Manager alerts

We had a script that would generate the e-mails and format them the way that we are looking for using the df command, but then we switched to the OCUM/ActiveIQ method as it seemed cleaner.  If we were to call that external script, is there a way to parse that output into the e-mail generated by OCUM/ActiveIQ or the only workflow is to execute the script when conditions are met and all of the formatting is handle by our script and not OCUM/ActiveIQ?

Highlighted

Re: How can we add a listing of directories in a volume to Active IQ Unified Manager alerts

In the OCUM/AUM 9.6 and I think even previous versions, when you setup an Alert, there is an 'Action' tab which basically allows you to add or associate a script with your ALERT. What that means is that : When an alert is generated for an event in Unified Manager, an alert email is sent to the specified recipients and if you have associated an alert with a script, the script is executed.

 

It is covered here:
https://docs.netapp.com/ocum-96/index.jsp?topic=%2Fcom.netapp.doc.onc-um-ag%2FGUID-20ABB8A2-44DB-42A2-B215-84BF2FF45782.html

 

I have never used this feature, but after reading the documentation it appears to me that it is used for running a command on the FILER to get more details perhaps or to do something in resposne to that event.

If your intention is to generate a list of folders/Dir and their sizes for the 'Volume Space Full' or 'Volume Space Nearly Full' Altert email, then I am afraid you may have to do this outside of OUCM using your custom (like 'du' in *nix.)

 

As you said - execute the script when conditions are met.

 

Thanks!

Check out the KB!
Knowledge Base
All Community Forums