|
9 | 9 | ## Functionality
|
10 | 10 |
|
11 | 11 | ## Files
|
12 |
| - * bin/check-postgres-alive |
13 |
| - * bin/metric-postgres-dbsize |
14 |
| - * bin/metric-postgres-statsbgwriter |
15 |
| - * bin/metric-postgres-statstable |
16 |
| - * bin/check-postgres-replication |
17 |
| - * bin/metric-postgres-graphite |
18 |
| - * bin/metric-postgres-statsdb |
19 |
| - * bin/metric-postgres-connections |
20 |
| - * bin/metric-postgres-locks |
21 |
| - * bin/metric-postgres-statsio |
| 12 | + * bin/check-postgres-alive.rb |
| 13 | + * bin/metric-postgres-dbsize.rb |
| 14 | + * bin/metric-postgres-statsbgwriter.rb |
| 15 | + * bin/metric-postgres-statstable.rb |
| 16 | + * bin/check-postgres-replication.rb |
| 17 | + * bin/metric-postgres-graphite.rb |
| 18 | + * bin/metric-postgres-statsdb.rb |
| 19 | + * bin/metric-postgres-connections.rb |
| 20 | + * bin/metric-postgres-locks.rb |
| 21 | + * bin/metric-postgres-statsio.rb |
22 | 22 |
|
23 | 23 | ## Usage
|
24 | 24 |
|
25 | 25 | ## Installation
|
26 | 26 |
|
27 |
| -Add the public key (if you haven’t already) as a trusted certificate |
28 |
| - |
29 |
| -``` |
30 |
| -gem cert --add <(curl -Ls https://raw.githubusercontent.com/sensu-plugins/sensu-plugins.github.io/master/certs/sensu-plugins.pem) |
31 |
| -gem install sensu-plugins-postgres -P MediumSecurity |
32 |
| -``` |
33 |
| - |
34 |
| -You can also download the key from /certs/ within each repository. |
35 |
| - |
36 |
| -#### Rubygems |
37 |
| - |
38 |
| -`gem install sensu-plugins-postgres` |
39 |
| - |
40 |
| -#### Bundler |
41 |
| - |
42 |
| -Add *sensu-plugins-disk-checks* to your Gemfile and run `bundle install` or `bundle update` |
43 |
| - |
44 |
| -#### Chef |
45 |
| - |
46 |
| -Using the Sensu **sensu_gem** LWRP |
47 |
| -``` |
48 |
| -sensu_gem 'sensu-plugins-postgres' do |
49 |
| - options('--prerelease') |
50 |
| - version '0.0.1.alpha.4' |
51 |
| -end |
52 |
| -``` |
53 |
| - |
54 |
| -Using the Chef **gem_package** resource |
55 |
| -``` |
56 |
| -gem_package 'sensu-plugins-postgres' do |
57 |
| - options('--prerelease') |
58 |
| - version '0.0.1.alpha.4' |
59 |
| -end |
60 |
| -``` |
| 27 | +[Installation and Setup](https://github.com/sensu-plugins/documentation/blob/master/user_docs/installation_instructions.md) |
61 | 28 |
|
62 | 29 | ## Notes
|
63 | 30 |
|
|
0 commit comments