Not an IT pro? We are retiring the TechNet Gallery. Make sure to back up your code. Script Center. Sign in. United States English. A script to monitor servers, Ping Test, with email notification.
Try Out the Latest Microsoft Technology. My contributions. A script to monitor servers, Ping Test, with email notification The Script runs against a list of Servers and notifies the user if the servers are down.
Downloaded 19, times. Favorites Add to favorites. Category Servers. Sub category Basic Information. License MIT. Share it:. Q and A This script is tested on these platforms by the author. It is likely to work on other platforms as well. If you try it and find that it works on another platform, please add a note to the script discussion to let others know. To provide feedback or report bugs in sample scripts, please start a new discussion on the Discussions tab for this script.
Disclaimer The sample scripts are not supported under any Microsoft standard support program or service. The sample scripts are provided AS IS without warranty of any kind. Microsoft further disclaims all implied warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose.
The entire risk arising out of the use or performance of the sample scripts and documentation remains with you. In no event shall Microsoft, its authors, or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss arising out of the use of or inability to use the sample scripts or documentation, even if Microsoft has been advised of the possibility of such damages.Time between pings seconds The time interval between successive pings to the target device.
Note that this determines the packet rate by IP, not by AutoPing entry, so if you enter the same IP in different AutoPing entries, it won't be flooded. Ping timeout to reboot seconds The reboot action is performed if no responses have been received from any of the IPs for this amount of time if the entry is enabled, see below. Ping responses to enable autoping pings How many pings should be successful before enabling the AutoPing entry allowing the reboot action to be triggered.
This setting prevents enabling AutoPing on an unreliable network and rebooting equipment unnecessarily. Times to attempt reboot consecutively attempts or 0 for no limit Number of times to attempt power cycling before giving up and disabling the AutoPing entry leaving the outlets alone.
Total Times to attempt reboot attempts or 0 for no limit Number of total times to attempt power cycling before giving up and disabling the AutoPing entry leaving the outlets alone. The difference here is that even if the autoping gets reestablished, which resets the consecutive counter, the total count will accumulate. Reenabling autoping after this failure will start the total count over.
Device reboot delay seconds Length of time after a power cycle before checking for a response from the device. This allows a device or computer time to completely boot up. During this time interval, no pings are sent to the device. Consider the setup and AutoPing action when enabling this option e.
Activate enabled entries without trial on service restoration By default enabled entries still need to wait for a certain number of successful ping responses on initial power-up before AutoPing actions are taken to make sure the targets have come online as well in the assumption that they might have suffered a power failure as well and may need time to recover.
This option can be used to disable this additional check.
A script to monitor servers, Ping Test, with email notification
Visual indicators of state. No checkmark - autoping is not enabled. Red border indicates that the controller is awaiting a ping response. Yellow background indicates that the target is undergoing testing before autoping is enabled. You can stop all autopings by unchecking the "Enable AutoPing" checkbox and pressing Apply. You can use a user-defined script. For example:.
The requirement for several successful sequential pings before startup applies. You might include this or a similar function and set it to be called at power-up. AutoPing targets don't have to be IP addresses. If you enter a hostname, it will be resolved before sending each request. If the name resolution fails, it is assumed to be a local error and, as described above, no action is taken.
If a name is resolved to multiple IP addresses, a random one is chosen. A variety of other ping target kinds can be used if you specify a URL instead of simply an IP address or hostname.
Supported URL schemes include: - icmp This is the explicit specification of the "regular" ping protocol, e.Best free Ping sites list : Ping submission sites help you in faster indexing of your blog posts and reach them to the major search engines. At times you may find that few of the URLs of your blog are not getting indexed or taking too much time for that.
Free ping tools or auto ping websites help you to overcome such issues. Pinging submission sites are known for indexing any blog into the major search engines or RSS directories in no time. This helps you to increase your SEO ranking very fast and increase your traffic to a large extent.
Top 50 Free Ping Submission Sites List 2019
However, make sure that you ping a site only when you have updated content on that. Too many pings may invite penalty and this will have adverse effect on your blog. So be careful while pinging. Does Ping submission has any correlation with SEO? Offcourse it has. There are many benefits of using these free Ping Submission sites.
Some of these are:. Ping submission is indeed very easy. In case few of them are not working, you may proceed with the rest. Please feel free to share if you are using any other Ping submission sites. Thanks for sharing this article with your friends as " Sharing is Caring " :.
Just found your post by searching on the Google, I am Impressed and Learned Lot of new thing from your post. I am new to blogging and always try to learn new skill as I believe that blogging is the full time job for learning new things day by day. I personal not using too many ping for my blog right now, I believe that using too much ping cause spam for blog.
May be I am wrong, Would you please ask some thing about this? Thank you for your kind words. True it is, blogging is a serious affair and need to be continued with a learning attitude.Try it: Add Url. Register Login. Website Submission. Instant Access. Create Instant listings to any domain or sub domain in Minutes. This tool is loaded with whois directories, domain databases and other free directories liked and indexed by Search Engines.
Search Ping Submission. Submit and Ping your domain or sub-domain to a large number of Search Engines. A great way to find out if your site is indexed. Social Ping Submission. Social Share Ping Submission Tool. Ping the most popular social sharing sites. A Fast and easy way to ping the largest social sharing sites. Search Engine Submission. Submit your website, blog and wordpress site to the most popular search engines today Sitemap XML Submission tool.
Submit and ping Google, Bing Yahoo, Ask Blog and Website Ping Submission Service. Submit and Ping your Blog, Wordpress or regular website to notify search engines about your updates. Get an instant listing in our FREE website directory. A quick and easy way for more exposure and visibility. A more advanced submission tool. More of everything. This tool is jammed packed with whois directories, domain databases and other free directories, liked by Search Engines.
The dark mode beta is finally here. Change your preferences any time. Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information.
I am working on setting up a LAN ping test using a batch file. The code i have works great for websites but it acts strange for local IPs. I am running the ping test on 3 computers that i know the IPs of. It never equals to 1 like it does on a website. How can i resolve this?
When you ping an non accesible address in your subnet, you get an "unreachable" answer, with 1 packet sent, 1 packed received, 0 packets lost. Errorlevel is not set.
When you ping an non accesible address out of your subnet, you get a "timeout" answer, with 1 packet sent, 0 packet received, 1 packet lost. Errorlevel is set. Note that the command after will only be executed if an error level is set by the ping.
While I cannot replicate your issue, I do have a few recommendations for your script. See my comment for questions regarding the issue.
Learn more. Asked 6 years, 2 months ago. Active 1 year, 3 months ago. Viewed 74k times.
Is DHCP on? If so, I would recommend using the computer name rather than their IP address. Testing with dynamics, my scheduled one that will be running will be on statics. I wanted to use the IPs in case there is an issue with name resolution at any point in time. Active Oldest Votes. See my comment for questions regarding the issue When creating variables encapsulate the scope.Sign up for a Site24x7 Free Account to monitor up to 5 websites for free continuously and be alerted when it goes down!
WebServer Name. Close x. North America. South America. Add Locations. Ping Now. Last 10 Test Results. Test Done. Test Result Link. Ping from multiple locations. New Test. Result URL :. Check Website Availability. Ping Website. DNS Analysis. Find IP. Find Location.
Connect Time taken to setup the between connection Site24x7 and website. First Byte The time spent waiting for the web server to send data. Last Byte The time at which the entire content of the file is downloaded. Handshake Time The time taken to complete the handshake.
Check website availability. Unable to check. Please try again later! Domain Blacklist check Results:. IP Blacklist check Results:. Blacklists IP Address.To use Auto-Ping, first add an IP address. Next, link that IP address to one or more outlets. Timing settings should be considered.
You can use a user-defined script. For example:. The requirement for 10 successful sequential pings before startup applies. Auto-Ping works by cycling power when a device becomes unresponsive to IP pings. Autoping was first developed by Digital Loggers for Novell in Thirty years later, a refined version is included in all our power switches. Adding an IP Address to Auto-Ping After entering the IP address, the settings page will refresh and you can select the outlets associated with this address.
Use the checkboxes in the Auto-Ping section to correlate the IP address to one or more outlets. If communications to the IP address is lost, these outlets will be rebooted. Four timing settings control Auto-Ping operation: Time between pings This is the time between each "ping" check of the IP address. The power switch waits this amount of time for a valid ICMP response. Ping failures before reboot This sets the number of failed communications attempts that must be sequentially detected before a system is rebooted.
For example, when set to 5, the target system must fail to respond 5 times in a row before it is rebooted. Since occasional network overloads and missed packets can occur during normal network operation, a number between 5 and 10 pings is recommended.
Times to Attempt Reboot If you have an unreliable target device, limit the number of times it will be rebooted by entering that value here. For example, entering 5 will reboot your server up to 5 times before giving up. Device Reboot Delay After rebooting a device with a cold-boot power-off, a waiting period should occur before the IP address is re-checked by AutoPing.