munkireport / munkireport-php

A reporting tool for munki
MIT License
392 stars 138 forks source link

Bluetooth Reporting Broken with "magic" devices #489

Closed clburlison closed 8 years ago

clburlison commented 8 years ago

Bug found by @merrymac

So when Apple released the Magic series of bluetooth devices this broke how we are reporting on the new bluetooth devices (old ones are still reporting properly).

The positive is the fix is pretty simple and it's backwards compatible. The negative is I only have three "magic" devices, and they all live on my desk, so this is low priority for me to fix. When I get time I'll make a PR however I can't promise when that will be.

Key points:

Additional request from @poundbangbash & @merrymac, send the "model type" of the bluetooth devices up to MR. Currently we are only reporting Trackpad and they would like to know if it's a magical device.

I'm also uploaded sample xml outputs for old and new (magic) devices (the data set has been stripped so only the needed values are show).

triple_old.txt triple_new.txt


References: http://www.frederikseiffert.de/blueutil/ (not needed but cool) https://macadmins.slack.com/archives/munkireport/p1464189574000738

clburlison commented 8 years ago

Alright, I finally did the easy part. I have now written the script to parse system_profiler. I'll try to write the migration and module updates this week.

clburlison commented 8 years ago

Fixed with #529