Re: using ping to check on if a computer is up

2000-06-02 Thread Hal Burgiss
On Fri, Jun 02, 2000 at 01:17:00PM -0700, john roberts wrote: > If need to check on if one of our computers on our network is running. If > figured I could set up a script on my linux box to ping the computer every > minute and then if it doesn't respond then message me a warning (I have > sam

Re: using ping to check on if a computer is up

2000-06-02 Thread Jason Costomiris
On Fri, Jun 02, 2000 at 03:35:53PM -0500, Alan Mead wrote: : In perl, you could issue the ping command in backticks (make *sure* you : give it a count) and evaluate whether it gives any output. You'd have to : play with it to get it to work since some output is produced even if there : are no

Re: using ping to check on if a computer is up

2000-06-02 Thread Alan Mead
At 03:17 PM 6/2/00 , you wrote: >If need to check on if one of our computers on our network is running. If >figured I could set up a script on my linux box to ping the computer every >minute and then if it doesn't respond then message me a warning (I have >samba installed). Any ideas how to s

Re: using ping to check on if a computer is up

2000-06-02 Thread Duncan Hill
On Fri, 2 Jun 2000, john roberts wrote: > minute and then if it doesn't respond then message me a warning (I > have samba installed). Any ideas how to set this up? If you want to do home rolled, look at the expect language. There are tons of program already written that do this though.. some c