Re: Bash script
From: Sebastien Billard (sbillard@penguincomputing.com)Date: 08/30/01
- Previous message: Gregory Cascante: "Re: Web surf control"
- In reply to: Sousa Ferreira: "Bash script"
- Next in thread: I Golem: "Re: Bash script"
- Next in thread: Karsten: "Re: Bash script"
- Reply: I Golem: "Re: Bash script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: Sousa Ferreira <sousaferreira@netcabo.pt> Subject: Re: Bash script Message-ID: <999203338.3b8ea20a6d2a9@hermes.penguincomputing.com> Date: Thu, 30 Aug 2001 13:28:58 -0700 (PDT) From: Sebastien Billard <sbillard@penguincomputing.com>
Instead of doing that.. maybe look into using heartbeat
Quoting Sousa Ferreira <sousaferreira@netcabo.pt>:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi ...
>
> Long time reader, first time asker here!
>
> Just wondering if someone could help with a "simple" script in $bash
> i have to make.
> I need a script that´s pings a certain ip, reads the reply and ... if
> there is any reply, it reschedules itself to ping the ip again in
> lets say 60 secs.
> Otherwise it starts a daemon, firewall, backup smb daemon, etc. .
>
> My doubt is on how to get the script to read the ping awnser
> (afirmative or not).
>
> The main interest in this is that if the primary firewall fails (UPS
> probs i´m having and lack of $$ to other one ;) ) the backup one goes
> off.
>
> Sorry for the lamme question and thanks in advance for your opinions
> on how can i do it.
>
>
> ______________________________________________//______________________
> ___________________________
>
> As informações contidas neste email são confidenciais
> e destinam-se apenas à(s) pessoa(s) para quem foi enviado.
>
> PGP KeyID : 0xB7723B21
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGP 7.0.4
>
> iQA/AwUBO45kGyNcH2C3cjshEQIHSwCfYbuVOFXRjOVM5/TcB/nhszIEwQUAn0O/
> UDH6KJFEj0eFh6GskVHB0xSB
> =GCeL
> -----END PGP SIGNATURE-----
>
>
>
Sebastien Billard
Consultant
Penguin Computing
Phone: 415 250 1016
Email: Sbillard@penguincomputing.com
- Previous message: Gregory Cascante: "Re: Web surf control"
- In reply to: Sousa Ferreira: "Bash script"
- Next in thread: I Golem: "Re: Bash script"
- Next in thread: Karsten: "Re: Bash script"
- Reply: I Golem: "Re: Bash script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|