Kaseya Community

Is there a Current Agent Status flag or variable?

This question is not answered

I'd like to determine with current agent status as a variable within a script. Is this actually set somewhere as a flag or do I need to calculate it from the last check-in time? I want to create a Service Desk sub-procedure for Agent Offline tickets that cycles through a regular check to see if the agent is back online and if it is, will close the ticket. The other option I guess is to try to close this ticket from the Agent Online alert, but I'm not sure how to find the Agent Offline ticket in the pre-processing of the Agent Online ticket generation. So for now, it would just be easier to have the Agent Offline ticket check itself every 15 mins to see if it's online.

All Replies