APIPythonOpen-Source Solutions

 View Only
  • 1.  Send space alerts to particular user

    Posted 10-19-2016 12:23:00 PM
    Hi
    We have many users for our engine and one of these is our support team.  We would like them to receive all the capacity alerts such as 78%, 85% capacity etc but not sure how to do this within the GUI.

    Does anyone know how I can do this?


  • 2.  RE: Send space alerts to particular user

    Posted 10-19-2016 12:32:00 PM
    just to make clear, we don't want them to get the alerts based on creating VDBs that fail with critical alerts...eg we don't want them to get alerts like this.

    Description

    DB_REFRESH job for "TEAM - WebDev/WebDev_Fabio_EktronCMS_2015-12-08" failed due to an error during execution: Recovery failed for virtual database "EktronCMS"

    Action

    Make sure that the SQL Server instance "MSSQLSERVER" on the target host "" is up and that the user "\svc.delphixadmin" has privileges to restore a database on the host.


    only the ones to do with the delphix engine capacity which would stop the dSources from updating.


    Thinking about it, it may just be better to get the info from the API and alerting via this.



  • 3.  RE: Send space alerts to particular user
    Best Answer

    Posted 10-19-2016 03:36:00 PM
    Hi there,

    I think setting up a new alert profile will do what you want. An alert profile is a way for you to say to Delphix "Whenever an alert like X happens, please email Y".

    This is something that you would need to do via the CLI interface, rather than the GUI. The exact commands you'd need to type will vary depending on the version of Delphix you are running. Here is the documentation for version 5.0:
    https://docs.delphix.com/display/DOCS50/Email+%28SMTP%29+Alerts#Email(SMTP)Alerts-AlertProfiles

    The gist of this is that you need to:
    1) Create a new profile
    2) Set the "action" on the profile so that it sends email to the addresses you want.
    3) Set the "filters" on the profile so that the profile matches only the alerts you care about.

    In your case, it sounds like you are only interested in certain types of alerts. This would mean you'd want to set up an "event filter" (and not a "severity filter" or a "target filter")

    It also sounds like you only care about alerts generated by system faults related to usage levels. So, I think "fault.system.usage.*" would be a good match string to put in your event filter.





  • 4.  RE: Send space alerts to particular user

    Posted 10-20-2016 06:20:00 AM
    Fantastic, thanks Tom


  • 5.  RE: Send space alerts to particular user

    Posted 10-21-2016 08:49:00 AM
    Hi
    Once I've set up a filter, how would I edit it (eg update the email address>?)

    The doc doesn't mention anything about editing existing ones, just setting up new ones.


  • 6.  RE: Send space alerts to particular user

    Posted 10-21-2016 04:15:00 PM
    Hi Mark,
    You can edit it in the CLI doing the following:

    ssh delphix_admin@
    delphix > alert
    delphix alert > profile
    delphix alert profile > select
    delphix alert profile "yourprofile" > update
    delphix alert profile "yourprofile" update *> set severityFilter=
    delphix alert profile&nbsp;"yourprofile" update *> commit<br>
    Hope that helps!


  • 7.  RE: Send space alerts to particular user

    Posted 06-03-2019 08:23:00 PM
    our engine version is 5.1.7 . We also trying the same alert configure. Did below , but couldn't see related filter coming to select while create or update. We just need only space related and not others of any refresh,snaps,etc fails. Could you help us the flow for 5.1.7.0 for non-admin users ?

    create 
    set actions.0.type=AlertActionEmailList
    set actions.0.addresses.0=<email id>
    set severityFilter=INFORMATIONAL,WARNING,CRITICAL
    commit

    update
    set filterSpec.type=EventFilter <- not getting suitable filter name for space related to select

    Couldn't see more for this in details from https://docs.delphix.com/display/DOCS50/Email+%28SMTP%29+Alerts

    Regards,
    Sunanda