I have Items and Triggers that check SSL Certificates for the number of days remaining before they expire. 90d, 60d, 30d, etc.
They send email and slack messages to sysadmins. But I also want to include the Issuer from the Certificate.
I have created another script that returns that value, and I can create Items for each one.
Within the Operations default message, there are macros that expand to form the message, such as: {{HOST.HOST}:{ITEM.KEY}.last()}
My question is, where does the return value from my new script save its value, and can I reference it in the message?
Wouldn't it just be another {ITEM.KEY}.last() but from a different item? Can I create a user macro to place the return value into?
They send email and slack messages to sysadmins. But I also want to include the Issuer from the Certificate.
I have created another script that returns that value, and I can create Items for each one.
Within the Operations default message, there are macros that expand to form the message, such as: {{HOST.HOST}:{ITEM.KEY}.last()}
My question is, where does the return value from my new script save its value, and can I reference it in the message?
Wouldn't it just be another {ITEM.KEY}.last() but from a different item? Can I create a user macro to place the return value into?
Comment