How to run command when another computer goes offline?
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
Potentially interesting problem. How would I go about reliably running a command whenever another, specific computer on the network goes offline? Bonus if the reliance on polling is very limited.
I have quite a few tools available, such as the computer in question, when "online" / functioning, is always resolvable through dns, mdns, and samba. Additionally, the other computer has SSH.
monitoring
New contributor
add a comment |Â
up vote
0
down vote
favorite
Potentially interesting problem. How would I go about reliably running a command whenever another, specific computer on the network goes offline? Bonus if the reliance on polling is very limited.
I have quite a few tools available, such as the computer in question, when "online" / functioning, is always resolvable through dns, mdns, and samba. Additionally, the other computer has SSH.
monitoring
New contributor
What's your criteria for offline? Does a reboot count? Does a network interruption count? How long should it be offline? Have you tried other monitoring tools?
â Jeff Schaller
2 mins ago
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Potentially interesting problem. How would I go about reliably running a command whenever another, specific computer on the network goes offline? Bonus if the reliance on polling is very limited.
I have quite a few tools available, such as the computer in question, when "online" / functioning, is always resolvable through dns, mdns, and samba. Additionally, the other computer has SSH.
monitoring
New contributor
Potentially interesting problem. How would I go about reliably running a command whenever another, specific computer on the network goes offline? Bonus if the reliance on polling is very limited.
I have quite a few tools available, such as the computer in question, when "online" / functioning, is always resolvable through dns, mdns, and samba. Additionally, the other computer has SSH.
monitoring
monitoring
New contributor
New contributor
edited 7 mins ago
Jeff Schaller
35.2k952115
35.2k952115
New contributor
asked 15 mins ago
user165680
1
1
New contributor
New contributor
What's your criteria for offline? Does a reboot count? Does a network interruption count? How long should it be offline? Have you tried other monitoring tools?
â Jeff Schaller
2 mins ago
add a comment |Â
What's your criteria for offline? Does a reboot count? Does a network interruption count? How long should it be offline? Have you tried other monitoring tools?
â Jeff Schaller
2 mins ago
What's your criteria for offline? Does a reboot count? Does a network interruption count? How long should it be offline? Have you tried other monitoring tools?
â Jeff Schaller
2 mins ago
What's your criteria for offline? Does a reboot count? Does a network interruption count? How long should it be offline? Have you tried other monitoring tools?
â Jeff Schaller
2 mins ago
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
user165680 is a new contributor. Be nice, and check out our Code of Conduct.
user165680 is a new contributor. Be nice, and check out our Code of Conduct.
user165680 is a new contributor. Be nice, and check out our Code of Conduct.
user165680 is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f479501%2fhow-to-run-command-when-another-computer-goes-offline%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
What's your criteria for offline? Does a reboot count? Does a network interruption count? How long should it be offline? Have you tried other monitoring tools?
â Jeff Schaller
2 mins ago