Jump to content
Russell Sargeson

Run custom script when device is offline

Recommended Posts

Hi,

 

I'd like to be able to run a custom script (Which calls a URL) when a device goes offline.

 

Is this possible? If so where would I go to find information on how to do this?

 

Would I need a device inside the same network which monitors and then first of the custom script when something goes offline?

 

Thanks,

Share this post


Link to post
Share on other sites

Brainstorming, I'm thinking of copying the default "LT - Offline Master Computers" or "LT - Offline Servers" monitor, put it on a group that has this PC in it, and have it call a script that uses "LTServer Download to Server" script function to call your URL?

Share this post


Link to post
Share on other sites

Configure a special monitor to trigger a script when the agent is offline based on your criteria.

In the script just use SQL to pull a list of agents that are online at that location within the same subnet etc then execute whatever commands you require after setting the active computerid to one of the online agents.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×