As time goes on, system administrators are presented with increasingly complicated challenges. In the early days, a team of engineers might have had to look after one or two systems. These days, one engineer can administer hundreds or thousands of systems.
System administrators are gradually replacing their tools with more advanced and flexible ones. One of the choices is Python. Structurally, Python is a modern, high-level language with a very clean syntax. Python comes with many built-in libraries that can make automation tasks easier. It also has extensive set of third-party libraries and a very active development community. This flexibility makes Python a good choice for a wide variety of tasks, from prototyping science applications to system maintenance and administration jobs.
- This book explains and shows how to apply Python scripting in practice. Unlike the majority of the Python books, it will show you how to approach and resolve real-world issues that most system administrators will come across in their careers.
- In this book, you will find several projects in the categories of network administration, web server administration, and monitoring and database management. In each project, we will define the problem, design the solution, and go through the more interesting implementation steps.
- Each project is accompanied with the source code of a fully working prototype, which you'll be able to use immediately or adapt to your requirements and environment.
Author(s): Rytis Sileika
Edition: 1
Publisher: Apress
Year: 2010
Language: English
Pages: 416
Tags: Programming Techniques
Front Matter....Pages i-xxii
Reading and Collecting Performance Data Using SNMP....Pages 1-39
Managing Devices Using the SOAP API....Pages 41-73
Creating a Web Application for IP Address Accountancy....Pages 75-106
Integrating the IP Address Application with DHCP....Pages 107-135
Maintaining a List of Virtual Hosts in an Apache Configuration File....Pages 137-157
Gathering and Presenting Statistical Data from Apache Log Files....Pages 159-180
Performing Complex Searches and Reporting on Application Log Files....Pages 181-210
A Web Site Availability Check Script for Nagios....Pages 211-229
Management and Monitoring Subsystem....Pages 231-267
Remote Monitoring Agents....Pages 269-296
Statistics Gathering and Reporting....Pages 297-328
Automatic MySQL Database Performance Tuning....Pages 329-348
Using Amazon EC2/S3 as a Data Warehouse Solution....Pages 349-372
Back Matter....Pages 373-390