Skip to content

Instantly share code, notes, and snippets.

@YesThatAllen
Last active August 29, 2015 14:02
Show Gist options
  • Save YesThatAllen/8e0321301bfa43ad0236 to your computer and use it in GitHub Desktop.
Save YesThatAllen/8e0321301bfa43ad0236 to your computer and use it in GitHub Desktop.
How to install the Watchman Monitoring agent in four lines
/usr/bin/defaults write /Library/MonitoringClient/ClientSettings ClientGroup -string "Insert_ClientGroup_variable_here" && \
/usr/bin/curl -L --sslv3 https://{subdomain}.monitoringclient.com/downloads/MonitoringClient.pkg > /tmp/MonitoringClient.pkg && \
/usr/sbin/installer -target / -pkg /tmp/MonitoringClient.pkg
/bin/rm /tmp/MonitoringClient.pkg
@YesThatAllen
Copy link
Author

One can skip the -L / redirection by using

https://monitoringclient.s3.amazonaws.com/SubscriberInstallers/{subdomain}/MonitoringClient.pkg

(the subdomain consistent per subscriber, where you log in to Watchman Monitoring)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment