Answer the question
In order to leave comments, you need to log in
How to poll computers on a local network for Internet connectivity?
The organization has a server machine on Windows, it has UserGate for distributing input to the Internet through a second network card. He is also a proxy, he is also NAT, in short, as everything should be. The problem lies in the fact that at the entrance we have a pretty shitty Internet, 4Mbit for ~ 50 computers. Most computers work on the network at the same time and the load during rush hour is significant, from which client computers "die". In this regard, I'm really interested in whether it is possible to somehow interrogate computers, preferably automatically, so that they report the availability of the Internet (in other words, passing a ping, for example, to 8.8.8.8)? That is, the client must receive a request from the server, ping 8.8.8.8 and answer the server whether there is a connection or not. How would this problem be solved?
Answer the question
In order to leave comments, you need to log in
At the time of user-logon, use wget or curl to request a highly accessible page, for example, ya.ru or w3c.org, and, depending on the response code, form a message to the central server.
If ICMP is forwarded through UserGate, you can ping 8.8.8.8, the ping utility also returns ERRORLEVEL
Logon script or scheduling using GPO (or otherwise initiate):
ping 8.8.8.8 >> \\server\share\%ip%_%datatime%.txt
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question