--
Find related discussion groups here:
https://github.com/munki/munki/wiki/Discussion-Group
---
You received this message because you are subscribed to the Google Groups "munki-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+unsubscribe@googlegroups.com.
To post to this group, send email to munk...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Feb 16, 2017, at 10:35 AM, Nick McSpadden <nmcsp...@gmail.com> wrote:We do it purely based on last launch. We track application usage for a specific subset of applications using crankd and store that in a database. We have admin-provided conditionals that check the database for last launch date every time Munki runs.
If the last launch date is > X days (typically 30), the conditional is false which means the manifest adds it to managed_uninstalls (and removes it from SelfServe manifest).
We don't have any accounting for someone who has launched it but left it in the background for weeks.
On Thu, Feb 16, 2017 at 9:17 AM, Gregory Neagle <gregn...@mac.com> wrote:As some people have guessed by looking at the contents of recent commits, I'm working on adding support for automated removal of unused/under-used apps from clients to Munki: Admins could set certain software to be installed via self-service (optional installs), and if the software was not used (launched/activated) more than a certain number of times over a certain time period, Munki would remove the software.
I know other people have implemented similar things -- I'm wondering what your decision matrix is to decide whether or not to remove an "underused" item.
-Greg
--
Find related discussion groups here:
https://github.com/munki/munki/wiki/Discussion-Group
---
You received this message because you are subscribed to the Google Groups "munki-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+unsubscribe@googlegroups.com.
To post to this group, send email to munk...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
Find related discussion groups here:
https://github.com/munki/munki/wiki/Discussion-Group
---
You received this message because you are subscribed to the Google Groups "munki-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+...@googlegroups.com.
On 17 Feb 2017, at 16:20, Alexander (Mailing List) Taylor <ataylo...@orcsd.org> wrote:Have the automated uninstall check the initial install date, don't uninstall if it's less than the 30-day check. Some receipts should have this information, correct? Does Munki keep track of installed date another way?
The Right-To-Know Law provides that most e-mail communications to or from School District employees regarding the business of the School District are government records available to the public upon request. Therefore, this e-mail communication may be subject to public disclosure.
--
Find related discussion groups here:
https://github.com/munki/munki/wiki/Discussion-Group
---
You received this message because you are subscribed to the Google Groups "munki-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+unsubscribe@googlegroups.com.
To post to this group, send email to munk...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+...@googlegroups.com.
--
On Feb 17, 2017, at 8:17 AM, Tim Sutton <t...@synthist.net> wrote:I also imagined something similar, although not necessarily the full (for example) 30 days, but some other configurable, lesser amount.But yes, Munki then having to track install dates for everything is its own issue that probably has some edge cases. And Greg's example can be taken to more of an extreme - a user who installs new software immediately before travelling far away somewhere, and enough time elapsed at the outset of travel that the grace period is over, and getting the software again while traveling is more complicated.
Was the thinking that the grace period value would be part of an item's pkginfo? I could see value for it being also (or instead) a manifest property, though I'd think that would need its own new key type with a dict structure, similar to conditional_items.
On Feb 17, 2017, at 8:28 AM, Mr. Alan Siu <as...@siprep.org> wrote:Sorry, I mentioned crankd, only because that's what Nick said he was using, and I know kMDItemLastUsedDate isn't that reliable.In terms of this becoming a Munki feature in general (and not just for this $2000-per-seat software), would Munki also have to account for the installation / last-launch date of software that users install themselves (not via Munki) if they have admin privileges?
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+...@googlegroups.com.
On Feb 17, 2017, at 9:02 AM, Mr. Alan Siu <as...@siprep.org> wrote:That seems like a pretty clean way to approach it, so Munki would have to have some timestamp for when an optional install got selected.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+...@googlegroups.com.
On 17 Feb 2017, at 18:09, Gregory Neagle <gregn...@mac.com> wrote:Of course, tracking that turns out to be harder than you might expect, since user interactions with MSC run in a non-privileged user context and the data really needs to be recorded as root. So we'd have to build a message-passing mechanism...
On 17 Feb 2017, at 18:20, Gregory Neagle <gregn...@mac.com> wrote:Same problem.User is clicking a button in MSC. We need to send an event to the app_usage_tracker process.
And additionally, we get to map between install_items (like "MicrosoftOffice2016") and applications (like Word.app, Excel.app, PowerPoint.app, etc)
--
Find related discussion groups here:
https://github.com/munki/munki/wiki/Discussion-Group
---
You received this message because you are subscribed to the Google Groups "munki-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+unsubscribe@googlegroups.com.
On Feb 17, 2017, at 9:22 AM, A.E. van Bochoven <ne...@me.com> wrote:On 17 Feb 2017, at 18:20, Gregory Neagle <gregn...@mac.com> wrote:Same problem.User is clicking a button in MSC. We need to send an event to the app_usage_tracker process.But the actual install is done by root (which can update the db)
And additionally, we get to map between install_items (like "MicrosoftOffice2016") and applications (like Word.app, Excel.app, PowerPoint.app, etc)You would need to add the app name(s) to the pkginfo file, like the blocking_applications array..
I meant of course "Wes Whetstone". Sorry 'bout that...-Greg
On Feb 17, 2017, at 9:32 AM, Gregory Neagle <gregn...@mac.com> wrote:
Still looking for details on how Nick McSpadden and Wes Wetstone (and their orgs) are handling these issues. Seems a shame to reinvent the wheel.-Greg
On Feb 17, 2017, at 9:28 AM, Gregory Neagle <gregn...@mac.com> wrote:
On Feb 17, 2017, at 9:22 AM, A.E. van Bochoven <ne...@me.com> wrote:On 17 Feb 2017, at 18:20, Gregory Neagle <gregn...@mac.com> wrote:Same problem.User is clicking a button in MSC. We need to send an event to the app_usage_tracker process.But the actual install is done by root (which can update the db)But we only want to track the user-initiated install, and not any subsequent update install. So attaching to a managedsoftwareupdate install run would not be the right place.And additionally, we get to map between install_items (like "MicrosoftOffice2016") and applications (like Word.app, Excel.app, PowerPoint.app, etc)You would need to add the app name(s) to the pkginfo file, like the blocking_applications array..Yes -- and we'll need to do that anyway so Munki knows which apps to check usage for. I'm considering using application items from the installs array as a fallback, though so admins don't have to manually populate such an array in the common case.
-Arjen--
Find related discussion groups here:
https://github.com/munki/munki/wiki/Discussion-Group
---
You received this message because you are subscribed to the Google Groups "munki-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+unsubscribe@googlegroups.com.
To post to this group, send email to munk...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Find related discussion groups here:
https://github.com/munki/munki/wiki/Discussion-Group
---
You received this message because you are subscribed to the Google Groups "munki-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+unsubscribe@googlegroups.com.
To post to this group, send email to munk...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Find related discussion groups here:
https://github.com/munki/munki/wiki/Discussion-Group
---
You received this message because you are subscribed to the Google Groups "munki-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+unsubscribe@googlegroups.com.
To post to this group, send email to munk...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Find related discussion groups here:
https://github.com/munki/munki/wiki/Discussion-Group
---
You received this message because you are subscribed to the Google Groups "munki-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+unsubscribe@googlegroups.com.
To post to this group, send email to munk...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Feb 17, 2017, at 10:31 AM, Nick McSpadden <nmcsp...@gmail.com> wrote:We add the install time to the application tracking database so that the day they install it counts as the "first launch," for tracking purposes. So they basically get 30 days past when they installed it at a very minimum before Munki will consider uninstalling it due to lack of usage.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+...@googlegroups.com.
To post to this group, send email to munk...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Find related discussion groups here:
https://github.com/munki/munki/wiki/Discussion-Group
---
You received this message because you are subscribed to the Google Groups "munki-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+...@googlegroups.com.
To post to this group, send email to munk...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Find related discussion groups here:
https://github.com/munki/munki/wiki/Discussion-Group
---
You received this message because you are subscribed to the Google Groups "munki-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+...@googlegroups.com.
To post to this group, send email to munk...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Find related discussion groups here:
https://github.com/munki/munki/wiki/Discussion-Group
---
You received this message because you are subscribed to the Google Groups "munki-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+...@googlegroups.com.
To post to this group, send email to munk...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Find related discussion groups here:
https://github.com/munki/munki/wiki/Discussion-Group
---
You received this message because you are subscribed to the Google Groups "munki-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+...@googlegroups.com.
To post to this group, send email to munk...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Find related discussion groups here:
https://github.com/munki/munki/wiki/Discussion-Group
---
You received this message because you are subscribed to the Google Groups "munki-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+...@googlegroups.com.
To post to this group, send email to munk...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.