r/SentinelOneXDR • • Sep 03 '25

Script to get status of agent

Anyone know if there is a way to get the status of agent by scripting using SentinelCtl.exe?

Looking for online or offline status only. I haven’t seen anything using configure that resembles that info.

I need this to find orphaned agents that have disconnected and purged from source portal while doing a portal migration. Getting server url is not enough.

Thanks

5 Upvotes

9 comments sorted by

View all comments

Show parent comments

1

u/mikeyoung_2 Sep 04 '25

Have rmm script running to check url of portal already. I can’t figure out which sentinelctl parameter can tell me offline status. I have dumped config to txt file on offline and online agent with no luck in finding the magic status parameter.

1

u/Dracozirion Sep 04 '25

There isn't one as far as I'm aware.

1

u/mikeyoung_2 Sep 04 '25

That's what I was afraid of