netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Feature request: "inverted" ping -a (beep on failure)
@ 2011-04-15 19:35 Christian Boltz
  2011-04-15 19:49 ` Randy Dunlap
  2011-04-15 21:57 ` Martin Topholm
  0 siblings, 2 replies; 6+ messages in thread
From: Christian Boltz @ 2011-04-15 19:35 UTC (permalink / raw)
  To: netdev-u79uwXL29TY76Z2rM5mHXA

Hello,

ping -a (beep on ping success) is a quite useful command, but it can be 
annoying.

I'd like to have the exact opposite of it: beep when pinging fails.

I understand that this is slightly difficult because "ping success" is 
easier to detect (incoming package) than "ping failure" (no incoming 
package or firewall reject) - my proposal is to have a timeout for every 
package (if no reply package comes in) and beep if no reply is seen 
after the timeout is over.

For the timeout, the -W option could be used. The default timeout seems 
to be 10 seconds, which is OK.

Usecase / why this would be useful for me:
Basically for server monitoring. The exact usecase is that I have rented 
a "root server" and asked the hoster to exchange a broken harddisk.
With the "inverted" ping -a, it would be easy to notice when they switch 
off the server to replace the disk.

Please consider this feature for the next version of ping ;-)


(The iputils homepage does not list any bugtracker or similar, therefore 
I'm asking here.)


Gruß

Christian Boltz
-- 
"we will support any library from any repo combined with
any application" is something that NO ONE does.
Or if they do, they are insane, or lying, or both.
[Greg KH in opensuse-factory]
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-04-15 22:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-15 19:35 Feature request: "inverted" ping -a (beep on failure) Christian Boltz
2011-04-15 19:49 ` Randy Dunlap
2011-04-15 20:10   ` Denys Fedoryshchenko
     [not found]   ` <20110415124937.6e746646.rdunlap-/UHa2rfvQTnk1uMJSBkQmQ@public.gmane.org>
2011-04-15 20:11     ` Christian Boltz
2011-04-15 20:14       ` Randy Dunlap
2011-04-15 21:57 ` Martin Topholm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).