Watchman Monitoring can be deployed with Munki using a payload free package and postflight scripts. This process ensures the most recent Monitoring Client is installed, and relies on the Monitoring Client update process to maintain future updates.
Starting with a Payload Free Package
Munki has the ability to run pre and postinstall scripts without having the payload of a software package to install. To take advantage of this feature, we need a Payload Free Package. Download this payload free package plist (property list) for the Monitoring Client.
Using your favorite text editor or Munki Admin, search and replace
YOURSUBDOMAIN with your subdomain.
We also provide a group payload free package plist to assign group names. Use your favorite text editor to search and replace
Move the `Monitoring Client.plist` into the pkgsinfo folder of your Munki repo.
Open Munki Admin.
Select your Munki repo.
Select File > Save to rebuild your catalogs.
From the command line, use
/usr/local/munki/makecatalogs (this assumes you have configured the path to the Munki repo using
munkiimport --configure or
Upon next check-in, munki will run the provided post install script and install your monitoring client. It will also self-heal in the event of an uninstall.
How can this article be improved?
Please sign in to leave a comment.