-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove all trailing whitespace across the repo.
- Loading branch information
Graham Christensen
committed
Mar 28, 2017
1 parent
7bea316
commit 4353730
Showing
31 changed files
with
291 additions
and
293 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ First you want to run the following create table statment on a database you woul | |
Next you want to fill out the \Jetpants configuration file (either <tt>/etc/jetpants.yaml</tt> or <tt>~/.jetpants.yaml</tt>). For example you configuration might look like this: | ||
|
||
# ... rest of Jetpants config here | ||
|
||
plugins: | ||
capacity_plan: | ||
critical_mount: 0.85 | ||
|
@@ -54,7 +54,7 @@ Next you want to is create a cron to capture the historical data | |
0 * * * * /your_bin_path/jetpants capacity_snapshot 2>&1 > /dev/null | ||
|
||
Then you want create a cron that will email you the report everyday (if you want that) | ||
|
||
0 10 * * * /your_bin_path/jetpants capacity_plan [email protected] 2>&1 > /dev/null | ||
|
||
If you want the hardware stats part of the email you have to create a function in Jetpants.topology.machine_status_counts that returns a hash that will be used to output the email | ||
|
@@ -67,11 +67,10 @@ Also you should have the pony gem installed | |
|
||
== USAGE: | ||
|
||
If you want to run the capacity plan you can do | ||
If you want to run the capacity plan you can do | ||
|
||
jetpants capacity_plan | ||
|
||
To capture a one off snapshot of your data usage | ||
|
||
jetpants capacity_snapshot | ||
|
||
jetpants capacity_snapshot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.