Ad Widget

Collapse

How to use macros to get value from dependent key

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Vitus9856
    Junior Member
    • Jul 2022
    • 2

    #1

    How to use macros to get value from dependent key

    Hello.
    I have the GetSSLExpiration2.sh script.
    Which used by item named "SSL Cert Expiration Count" with "External Check" type.
    This item get output from the script with type JSON like:
    {"DAYS_BEFORE_EXPIRATION": "227","CN_NAME_EMPTY": "0","EXPIRATION_DATE": "2023-04-18"}
    And I have a dependent item named "EXPIRATION DATE" with "Dependent Item" type and Master Item from "SSL Cert Expiration Count"

    How do I pass the value of the EXPIRATION DATE element to Message in Actions?
Working...