[ale] Bash Scripts for System Automation and Monitoring

Chris Fowler cfowler at outpostsentinel.com
Tue Mar 20 13:18:34 EDT 2012


On 03/20/2012 12:58 PM, chip wrote:
> Instead of looking at it from a tools perspective, let's look at a use case.
>
> For some reason you need to restart apache across 500 machines.  Would
> you log in to each one and do it manually or would you write a script
> for this?  Would it be python, perl, bash, or $other_language?  How
> would you log in automatically?  If you need root/sudo perms to
> restart apache, how would you deal with that (inputting your
> password).  How would you make sure that the apache daemon restarted
> properly and things are once again working.
>

Now I'm dealing with DNS changes across 100 systems distributed in the US.

I'm using Perl with Expect and SSH.



More information about the Ale mailing list