I want to modify my mail template which is sent out when a host changes to down state.
I want to include a list of all other nodes which are down at the moment.
R1 device is down.
All other hosts down:
R2 since YYYY-MM-DDTHH:SS (Time elapsed: hh:ss)
R3 since YYYY-MM-DDTHH:SS (Time elapsed: hh:ss)
Is this possible somehow?
Is it somehow possible to access other variables, not just related to “alert”?
That information won’t be in the alert being triggered so you will have to access it using Laravel Models:
Thank you, I missed this somehow in docs. I was able to make the required adjustments using Laravel models.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.