Last active
August 29, 2015 14:02
-
-
Save YesThatAllen/8e0321301bfa43ad0236 to your computer and use it in GitHub Desktop.
How to install the Watchman Monitoring agent in four lines
This file contains 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
/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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)