Posted on 05-06-2014 03:49 PM
Is there a way to search policy by ID? I'm always interested which policy is running when in terminal, but it only displays by ID.
Posted on 05-06-2014 05:13 PM
Well, there may be a way to do it via the API, but if you already have the ID of the policy, it's relatively easy to find the actual policy. Just click on any policy and change out the id= section of the URL for the ID you have.
For example, if I wanted to know about policy ID 250, I'd use this:
https://jss.yourcompany.com:8443/policies.html?id=250
That will open up the policy page for you.
Posted on 05-06-2014 08:47 PM
Unless something has changed in recent versions, if you just tail the jamf log in Terminal, it indicates what policy is executing. It should be the last line with the words "Executing Policy" followed by the display name of the policy itself.
tail -10 /var/log/jamf.log
If this behavior has changed in version 9, I'd be interested to know, since that would not be a change for the better in my opinion.