Jamf-Environment-Test icon indicating copy to clipboard operation
Jamf-Environment-Test copied to clipboard

JET `1.6.1`: APNS apsctl Status `Unavailable`

Open dan-snelson opened this issue 1 year ago • 4 comments

Happy Monday!

Testing JET 1.6.1 with macOS 14.2.0 (23C5030f) and Jamf Pro 11.0.1.

We're observing APNS apsctl Status Unavailable in reports, but executing "Jamf Pro > Computer Record > Management > Enable / Disable Bluetooth" is working nearly instantaneously as expected.

(Happy to open a ticket with Jamf Support if that's preferred.)

Thanks.

dan-snelson avatar Nov 06 '23 13:11 dan-snelson

the grep changed between OS version, a fix is planned for the next release

daniel-maclaughlin avatar Dec 15 '23 04:12 daniel-maclaughlin

Thanks for the update, @daniel-maclaughlin.

(Seems odd to close this issue as "completed" when it's still pending.)

dan-snelson avatar Dec 15 '23 06:12 dan-snelson

@dan-snelson , @daniel-maclaughlin

I downloaded the script and changed line 1018 to

if [[ ${APSCTL_STATUS_CHECK} == *"courier.push.apple.com"* ]]; then

instead of

if [[ ${APSCTL_STATUS_CHECK} =~ "courier.push.apple.com" ]]; then

The wildcards work much better.

MacTool avatar Apr 03 '24 18:04 MacTool

Noice, @MacTool.

JamfCheck is worth a look.

dan-snelson avatar Apr 03 '24 19:04 dan-snelson