[ale] Bash Scripts for System Automation and Monitoring

Geoffrey Myers lists at serioustechnology.com
Tue Mar 20 16:00:29 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.

expect

-- 
Until later, Geoffrey

"I predict future happiness for America if they can prevent
the government from wasting the labors of the people under
the pretense of taking care of them."
- Thomas Jefferson


More information about the Ale mailing list