I have come across a weird issue and I am now stumped and hoping someone here can help me out.
We have an extension attribute that is checking to see if Google updates is turned off using the following code:
#!/bin/sh
VALUE=`defaults read com.google.Keystone.Agent checkInterval`
echo "<result>$VALUE</result>"
If this value is returned as 0 we know that Google updates are turned off. We have a Smart Group that is set up to see if this value is anything other then 0. A policy is scoped to this smart group to run a script to turn off the updates.
So I currently have a handful of machines that are reporting no value at all for this EA, which is causing the policy to apply every time it checks in. 200+ machines are reporting this value fine. If I run the script directly on the device it shows the expected value, but the EA value always returns blank in the JSS. All my other extension attributes seem to be populating fine for these machines.
Anyone have any ideas? We are running 9.7. The machines affected are running 10.9.5, 10.10.2, or 10.10.3