Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any alternative software to freeping in ubuntu?

FREEping automatically pings in the background and shows
statistics for each pinged hosts. When a host stops 
responding, FREEping can send popup messages to a 
specified destination. 

screenshot freeping

share|improve this question
You could write a shell script that pings the server. If you don't get a response, display a notification! :) – omnidan Apr 13 '11 at 13:31
up vote 4 down vote accepted

Without parameter, a ping runs forever, but you can restrict it, to wait maximal 10 seconds and do just one ping this way:

ping -W10 -c1 

to suppress the output, and issue your warning

ping -W10 -c1 ||

to handle a list of domains

for url in ${urls[@]} ; 
   ping -W10 -c1 $url ||
   sleep 10

To pop up a warning, you need to either start the script by hand, or do some gymnastics with crontab - common errors there: call programs without path. Using x11-programs without specifying the DISPLAY.

share|improve this answer

protected by Community Apr 26 '14 at 12:22

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.