Giter Site home page Giter Site logo

recap's Introduction

Recap:

Package name: recap

Author: The Common Public

Maintainers: Brent Oswald, Benjamin Graham

License: GPL 2.0

Homepage: https://github.com/rackerlabs/recap/

recap is a reporting script that generates reports of various information about the server.

Original authors at Rackspace (http://www.rackspace.com): -Jacob Walcik -Carl Thompson

Past contributors at Rackspace: -David King -Hans duPlooy -All other should be defined in CHANGELOG

The cron file (/etc/cron.d/recap) is used to determine the execution time of recap. By default the cron execution of the program is not enabled.

The following variables are defined with defaults inside the script but can be overwritten if these variables are defined in /etc/recap

DATE=date +%Y-%m-%d_%H:%M:%S ROTATE="7"

DATE is the format of the date header at the top of the reports/email

ROTATE is the number of files to maintain for rotation purposes

Additional optional variables are as follows:

MAILTO

ie: MAILTO="[email protected]"

USEPS do you want to generate the ps.log? (no/yes) default yes

USERESOURCES do you want to generate the resources.log? (no/yes) default yes

USESAR do you want to generate sar reports? (no/yes) default no

USESARR do you want to generate sar -r reports? (no/yes) default no

USESARQ do you want to generate sar -q reports? (no/yes) default no

USEFULLSTATUS do you want to generate "service httpd fullstatus" reports? (no/yes) default no

See the recap man pages for additional optional reports. Some reports depend on parent reports to generate the file they will write their output to.

For instance, the USESAR reports above all rely on having USERESOURCES enabled.

The script will never need to be modified for these variables, they can all be defined in /etc/recap

If you want a backup of the last file created before a reboot uncomment the @reboot line in the crontab file /etc/cron.d/recap

Uncomment the lines to enable the backup

recap's People

Contributors

bhgraham avatar buzzboy23 avatar schwing avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.