I cant seem to see any way to pull monitor messages (short or normal messages) through to a incident. Is there some way this could be achieved?. The issue is, we have a plugin that performs a check for various content, but we wish to report missing content, where the incident will be triggered if any content is missing. The message is then filled with this information regarding what content check failed.
Answer by Stefan M. ·
Hi Richard,
well i thought as much - going through the code and docs. we could use error codes if it was the case of single pieces of content missing, but there can be multiple lines/content missing - which would be an issue.
I guess the only thing we can do is implement a manual error handling - and then inject a manual incident with custom message - perhaps through the rest interface.
Yes i think that would Work - albeit a slightly messed up way to go about it.
Answer by Rick B. ·
Unfortunately not, since the monitor and the incident are tied together through numeric values. If there are a limited number of possibilities for errors you may want to implement an error code in the monitor's returned measures and use this for the incident, along with the incident detail or a formatted email which includes a listing of reasons for various error codes. Does that make sense?
Rick B
JANUARY 15, 3:00 PM GMT / 10:00 AM ET