I need to know how to set up a ping test schedule/ alert on my servers. I have created a label called "servers" and added all of my servers to this lable. Now i want to set ip ping test, on a schedule- to these servers and have it alert me when a ping test fails on a server.

0 Comments   [ - ] Hide Comments


Please log in to comment

Answer this question or Comment on this question for clarity





you can write a batch with the Ping command like this:

@echo off

if %ERRORLEVEL% == 1 (
set var=Alertmail

if %ERRORLEVEL% == 0 (
set var=Allright

echo %var%

If the Errorlevel is 1 you let the batch send a E-Mail to youre Ticketsystem.

This Batch can you add to the skripts.



Answered 11/19/2013 by: Johnzko
Orange Senior Belt

  • so do I add my own IP's or put the script in like you have it?
    • You must add your IPs or Hostnames in the Script.
      • If you want i can send you a Script which send a mail with the Tool blat.exe.
Please log in to comment