AutomoxAutomox

Are users seeing the notifications???

SW1
September 15, 2022 at 8:02 pm UTC

I’m getting complaints from users about their systems rebooting multiple times a day on both Windows and macOS. Is there a way to see if users are getting the the automox notifications?

This discussion is archived and closed to replies. Continue it in the Automox Community Slack.

Discuss on Slack

Replies (1)

jack.smithSeptember 16, 2022
#1

On Windows you can look at C:\ProgramData\amagent\amagent.log

2022/09/14 11:55:29 notifications_windows.go:131: Saving notification result: &{ 7899197134 [NOW] }
2022/09/14 11:55:29 mqclient.go:369: Pushing result...
2022/09/14 11:55:30 cmd.go:233: Accepted command ID: 7899211785
2022/09/14 11:55:30 cmd.go:234: Command type: execCmd
2022/09/14 11:55:30 cmd.go:236: Command Name: Reboot
2022/09/14 11:55:30 cmd.go:145: Executing command: 7899211785
2022/09/14 11:55:30 cmd.go:146: Execution Started at 2022-09-14 16:55:30.2164827 +0000 UTC
2022/09/14 11:55:30 cmd_windows.go:151: runScript: Running with PowerShell validation enabled
2022/09/14 11:55:31 cmd_windows.go:201: Command End -- elapsed 1.096441s
 

On Mac you can look at  /var/­log/amagen­t/amagent.­log

>cat /var/­log/amagen­t/amagent.­log | grep "Syst­em Reboo­t Requi­red"

2022/07/28 07:26:49 notifications_darwin.go:195: Triggering notification with these arguments: [-title "System Reboot Required" -message "To keep the company safe your Mac will reboot for security patches." -closeLabel "Close" -actions "Now","1 hour" -group "com.automox.notifications" -timeout "14340"]