Posted on 01-29-2015 09:40 AM
With our upgrade to 9, I find myself searching for the list of currently available software updates that used to be available under Logs in version 8.
Anyone know of a viable replacement that they're already using before I look towards re-building the wheel?
Posted on 01-29-2015 10:58 AM
Do you mean the list of updates available for each client? That should be located on the first tab of the inventory page for a particular machine, under the Software Updates heading.
Posted on 01-29-2015 11:07 AM
laurendc is referring to the global Logs function that existed in version 8.x and prior that let you see an overall view across all managed clients which updates were needed and a total count of each one.
Since moving to version 9 JAMF removed the entire Logs section of the JSS, and this capability among others was a casualty of that change. While you can still see them per machine, that is nowhere near the same as being able to get a birds eye view of available updates. There were other items in the Logs tab that also can't be done now, like seeing a global list of accounts on systems, and some other stuff.
Unfortunately, I don't see any viable way to recreate this functionality if JAMF doesn't bring it back. I suspect the JSS was doing a bunch of table joining or other MySQL manipulations to present those views, which you can't recreate without perhaps doing it from the MySQL command line.
Posted on 01-29-2015 11:14 AM
vote up if you haven't already.
https://jamfnation.jamfsoftware.com/featureRequest.html?id=1357
Posted on 01-29-2015 11:18 AM
@CasperSally - thanks for the reminder on the FR. I'd completely forgotten that this was labeled as Planned, so there is some hope! Planned is much better than Under Review, so seems like it will make its way back at some point.
Posted on 01-29-2015 11:20 AM
Currently, the best way I know of to get a list of all SWUs (without counts, which I miss terribly) is to start an advanced search, go into Criteria and add "Available SWUs" then click the "..." next to it. That will list every SWU available to at least one system.
Posted on 01-29-2015 12:33 PM
@CasperSally thanks for that - hopefully we see it soon! Thanks everyone for the responses.
Not sure if anyone else is interested but for reporting purposes, I have this extension attribute for seeing if a computer needs an update that requires a OS or security patch. It was originally made for tracking these types of patches in a easily viewable report accessible to all technicians. It might possibly work as a substitute for those who have similar needs and miss the Logs? I'm sure it could be improved but it has been doing the job for seeing which OS or security patches a Mac needs in a saved search.
RESTART_UPDATES=`/usr/sbin/softwareupdate --list | /usr/bin/awk '/restart/ && !/EFI/ && !/SMC/ && !/Firmware/ { print $1,$2,$3,$4 }'`
/bin/echo "<result>"$RESTART_UPDATES"</result>"
Posted on 06-18-2015 02:15 PM
If you'd like to see the number of SWUs at a glance, you can add the SWU field to your inventory, and then sort it like so... (hopefully an image is attached).
Gear icon (top right) > Inventory Display > Operating System tab > check Number of Available Updates