The transition to NetApp MS Azure AD B2C is complete. If you missed the pre-registration, you will be invited to reigister at next log in.
Please note that access to your NetApp data may take up to 1 hour.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

Active IQ Unified Manager Discussions

OCUM 7.1RC1 Alert scripting via CLI


Is it possible with an OCUM VM appliance to get to DFM CLI and enter commands like below?


# dfm alert create -h "Volume Space Full","Volume Space Nearly Full"  -r  TESTVOLUME -E test_alert_name


Are there any other ways to create alerts from the CLI like we could do in legacy DFM instances?







Alert scripting via CLI is not supported. But you can configure alert script via UI and utilize the 'um cli' commands in the script.




I understand..  That is not much help when I need to create 100+ alerts.



Per the docs:


Note: CLI commands are available when Unified Manager is installed on Red Hat Enterprise Linux or on Windows. The CLI commands are not available when Unified Manager is installed on VMware.





I hope this response has been helpful to you.


At your service,


Eugene E. Kashpureff, Sr.
Independent NetApp Consultant
Senior NetApp Instructor, FastLane US
(P.S. I appreciate 'kudos' on any helpful posts.)








I can successfully get to the CLI on the VM appliance and run um and dfm command..  

However, VM or RHEL machine; it appears there are no CLI commands to create an alert.




Good day Archie,


Hope you doing good , You mentioned you were able to get um/dfm cli on vm appliance


""get to the CLI on the VM appliance and run um and dfm command""



Can you guide me how to do that please.  We are using OCUM 7.2, login via ssh as "admin" user directly bring us to maintanance menu . How can we get command prompt to run um/dfm commands ?


Appriciate your help here





sorry - i can't imagine how to get alerts automatically created via scripting in UM - as fas as i see in the documentation you can manager your custom scripts via "Manage Scripts" in your UM settings page - but these are only used if you define them in an already created or newly create an alert via GUI. 

also the commands for um are very less you may use - in the manage scripts page you may use the questionmark button to show the help where you can find a section "Supported Unified Manager CLI commands" - and as you see there are not many of them and nothing about creating alerts via script.

so in your case it obviously looks like that there's no change to achieve the result you asking for.


sorry - eventually someone else has an idea on that.



NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner