Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

Use monit description #2

Merged
merged 4 commits into from
Jul 6, 2016
Merged

Use monit description #2

merged 4 commits into from
Jul 6, 2016

Conversation

patrobinson
Copy link

Taking on the work from pinterest#3, pull in monit env variables to populate the EVENT description and tidy it up a bit.

@petervandoros
Copy link

LGTM 👍

@patrobinson patrobinson merged commit 2b07042 into master Jul 6, 2016
@patrobinson patrobinson deleted the use-monit-description branch July 6, 2016 04:18
echo "Usage: $0 <event>"
exit 1
elif [ -z "$PAGERDUTY_SERVICE_KEY" ]; then
if [ -z "$PAGERDUTY_SERVICE_KEY" ]; then
echo "Failed to trigger event: you must set the PAGERDUTY_SERVICE_KEY variable."
exit 1
elif [ ! -x "/usr/local/bin/pagerduty" ]; then
echo "Failed to trigger event: /usr/local/bin/pagerduty does not exist or is not executable."
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thats a good candidate for slacktee maybe?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds like a good thing to implement. Feel free to add a card to our backlog and me and @simpsora can prioritise.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants