Automic Workload Automation

 View Only
  • 1.  Query for EVNT's that have "Monitor MRT" and "fixed value" set

    Posted Nov 20, 2023 12:42 PM

    Hello,

    Does anyone have the sql available to check for EVNT's that have "Monitor MRT" and "fixed value" set, and be willing to share?

    I need to check the settings for those that are hardcoded, and prefer not to go through close t0 300 EVNT's.

    Yes, I admit to being query challenged when it comes to the AE database 






  • 2.  RE: Query for EVNT's that have "Monitor MRT" and "fixed value" set

    Posted Nov 21, 2023 02:13 AM

    Hi @Rick Murray

    Depending on the "Calculation Method" and the "actions" the value is different. This SQL returns all EVNTs that have any MRT setting:

    select oh_name, OH_MrtMethod from oh 
    where OH_MrtMethod > '0' 
    and oh_otype = 'EVNT' 
    and oh_deleteflag = '0'
    and oh_client = '1000'

    This doesn't mention all value combination, but gives a bit of an overview: https://docs.automic.com/documentation/webhelp/english/ALL/components/AE/21.0/DB%20Schema/db/_structure/HTML/OH.html

    Cheers

    Christoph 



    ------------------------------
    ----------------------------------------------------------------
    Automic AE Consultant and Trainer since 2000
    ----------------------------------------------------------------
    ------------------------------



  • 3.  RE: Query for EVNT's that have "Monitor MRT" and "fixed value" set

    Posted Nov 21, 2023 06:02 AM
    Edited by Rick Murray Nov 21, 2023 06:07 AM

    Thanks Christoph 

    Once I was in the correct table, I was able to retrieve the records needed.