Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Know how many hosts, and which hosts, have Munki issues #6430

Closed
noahtalerman opened this issue Jun 29, 2022 · 2 comments
Closed

Know how many hosts, and which hosts, have Munki issues #6430

noahtalerman opened this issue Jun 29, 2022 · 2 comments
Assignees
Labels
~customer request A prioritized, customer feature request. Has ≥ 1 customer codename label(s) customer-ufa ~legacy-interface-product-group Associated with the legacy "interface" product group. (No longer exists) story A user story defining an entire feature

Comments

@noahtalerman
Copy link
Member

noahtalerman commented Jun 29, 2022

Problem

I'm an engineer using Munki to push new software to thousands of macOS hosts and I'm overwhelmed by the amount of issues with Munki I need to address. I want help prioritizing these Munki issues.

Goal

As a Munki admin, add ability to see the most common Munki issues so that I can prioritize resolving the issues that impact the most hosts.

I also want to be able to see which macOS hosts have these issues so that I know which hosts need issues resolved.

Parent epic

Figma

https://www.figma.com/file/hdALBDsrti77QuDNSzLdkx/%F0%9F%9A%A7-Fleet-EE-(dev-ready%2C-scratchpad)?node-id=7647%3A273670

Child issue

Documentation

  • Specify that in order for this to work, requires Orbit.
  • Assumes a specific Munki install and the info is in a specific location.

How?

Inform the user what Munki issues are most common and which hosts have these issues.

We'll use the a Munki error or warning returned by the munki_info table from the macadmins osquery extension to determine distinct issues.

  • This osquery query can be used to get all Munki errors on a host: SELECT errors FROM munki_info WHERE errors != ''; Note that this query always returns one result even if there is more than one error. When there is more than one error, The errors column separates each error with a semicolon (;). For example this query will return something like:
    • Could not retrieve managed install primary manifest;A default keychain could not be found
    • We'll want to separate these errors into unique Munki issues in the Fleet UI and API.
  • This osquery query can be used to get all Munki warnings on a host: SELECT warnings FROM munki_info WHERE warnings != ''; Like errors, this query always returns one result even if there is more than one warning. When there is more than one error, The warnings column separates each error with a semicolon (;). For example this query will return something like:
    • Could not process item Figma for optional install. No pkginfo found in catalogs: release;Could not process item Zoom for optional install. No pkginfo found in catalogs: default;Could not process item Microsoft Visual Studio Code for optional install. No pkginfo found in catalogs: a really long catalog...
    • We'll want to separate these warnings into unique Munki issues in the Fleet UI and API.
@noahtalerman noahtalerman added ~customer request A prioritized, customer feature request. Has ≥ 1 customer codename label(s) story A user story defining an entire feature customer-ufa ~legacy-interface-product-group Associated with the legacy "interface" product group. (No longer exists) labels Jun 29, 2022
@noahtalerman noahtalerman self-assigned this Jun 29, 2022
@noahtalerman noahtalerman moved this to 🥚 Prioritized in ⚗️ ‎‎Roadmap Jun 29, 2022
@noahtalerman noahtalerman changed the title Add ability to know why macOS hosts are running undesired software versions See why macOS hosts are running undesired software versions Jun 29, 2022
@noahtalerman noahtalerman changed the title See why macOS hosts are running undesired software versions See why macOS hosts have undesired software versions Jun 29, 2022
@noahtalerman
Copy link
Member Author

Think about writing a policy/query first.

@noahtalerman noahtalerman moved this from 🥚 Prioritized to 🐣 Designed in ⚗️ ‎‎Roadmap Jul 14, 2022
@noahtalerman noahtalerman changed the title See why macOS hosts have undesired software versions See which macOS hosts have issues with Munki Jul 21, 2022
@noahtalerman noahtalerman changed the title See which macOS hosts have issues with Munki See most common Munki issues and which macOS hosts have these issues Jul 21, 2022
@noahtalerman noahtalerman changed the title See most common Munki issues and which macOS hosts have these issues See most common Munki issues and which hosts have these issues Jul 22, 2022
@noahtalerman
Copy link
Member Author

@lukeheath I passed this issue to you for UI review and specification.

I'm linking to a Loom video in which I demo the UI changes here: https://www.loom.com/share/8080d2743f0c45a5a583e9ea0ae7737e

If you have any questions or feedback while I'm out (July 22 - 31), please don't hesitate to reach out to Mike McNeil. I've asked Mike to be ready to receive these questions.

@lukeheath lukeheath moved this from 🐣 Designed to 🐥 Specified in ⚗️ ‎‎Roadmap Jul 28, 2022
@lukeheath lukeheath moved this from 🐥 Specified to 🦤 Estimated in ⚗️ ‎‎Roadmap Jul 29, 2022
@lukeheath lukeheath assigned noahtalerman and unassigned lukeheath Aug 1, 2022
@lukeheath lukeheath moved this from 🦤 Estimated to ✅ In development in ⚗️ ‎‎Roadmap Aug 1, 2022
@noahtalerman noahtalerman changed the title See most common Munki issues and which hosts have these issues Know how many hosts, and which hosts, have Munki issues Aug 3, 2022
@zhumo zhumo moved this from ✅ In development to 🙌 Confirm & Celebrate in ⚗️ ‎‎Roadmap Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
~customer request A prioritized, customer feature request. Has ≥ 1 customer codename label(s) customer-ufa ~legacy-interface-product-group Associated with the legacy "interface" product group. (No longer exists) story A user story defining an entire feature
Development

No branches or pull requests

2 participants