You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@sroy-ingenu sorry looks this was not responded to for so long. I see there is the ability to the pass a message template to overwrite it so each user can do what they want. I do think your formatting is nicer and I would be 👍 as long as we remove the line with URL as we do not know the prefered URL to serve a sensu dashboard.
Hi,
Right now the build notice output is:
status | hostname/checkname: check output
My current custom message:
Status: status
Host: hostname/check
Check: check output
Url: http://sensu-server/#/client/ingenu/hostname?check=checkname
Accomplished by modifying line 144:
From:
"#{@event['check']['status'].to_s.rjust(3)} | #{incident_key}: #{@event['check']['output'].strip}"
To:
"Status:#{@event['check']['status'].to_s.rjust(3)} \nHost: #{incident_key} \nCheck: #{@event['check']['output'].strip} \nUrl: http://sensu-server-URL/#/client/ingenu/#{@event['client']['name']}?check=#{@event['check']['name']}"
Thanks
The text was updated successfully, but these errors were encountered: