![]() The only changes needed are paths and commands that may be different on windows nothing else. If you like it i can make the smalls changes to be used in windows and you did need to install ActivePerl that is all. What it does is that it will try to ping google every time it runs and it will then print to a file if it got a reply or not along with the time so you can check later from what time to what time the internet was unavailable. System "rm -rf /var/run/net_test.pid" if (-e "/var/run/net_test.pid") The main router is on 192.168.1.1, the internet, with an ethernet power. ![]() $format = strftime('',localtime)." Internet is ok." This article contains information that shows you how to fix Monitor uptime of. Key Features: Monitor the performance and uptime of websites and other internet services like DNS server, FTP server, REST APIs etc. $format = strftime('',localtime)." Internet is back." Site24x7 website monitor tests a website from global locations, helping you measure a site’s performance as well as reduce it’s downtime. $run = `echo $format > /var/log/virtua_net` $format = strftime('',localtime)." Internet is not available." My $host = "my $ping = Net::Ping->new('icmp') I don't know any util but i did myself a simple code for that with perl: #!/usr/bin/perl
0 Comments
Leave a Reply. |