Created
May 21, 2018 04:25
-
-
Save koshatul/2aac09cc47447cea8722af34d853f17e to your computer and use it in GitHub Desktop.
Install Pagerduty Agent on Ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -ex | |
## Install Pagerduty Agent on Ubuntu 16.04 (and probably future versions) | |
## curl -sSL 'https://gist.githubusercontent.com/koshatul/2aac09cc47447cea8722af34d853f17e/raw/pdagent-install.sh' | /bin/bash /dev/stdin -- | |
sudo apt-get install -qy --no-install-recommends \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl | |
curl -fsSL https://packages.pagerduty.com/GPG-KEY-pagerduty | sudo apt-key add - | |
echo "deb [arch=$(dpkg --print-architecture)] https://packages.pagerduty.com/pdagent deb/" | sudo tee /etc/apt/sources.list.d/pdagent.list | |
sudo apt-get update | |
sudo apt-get -qy install pdagent pdagent-integrations |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment