cookbook 'pg_monz', '~> 0.1.3'
pg_monz (1) Versions 0.1.3 Follow0
Installs/Configures pg_monz
cookbook 'pg_monz', '~> 0.1.3', :supermarket
knife supermarket install pg_monz
knife supermarket download pg_monz
Cookbook pg_monz
This cookbook installs pg_monz for monitoring PostgreSQL with Zabbix.
NOTE: Installs pg_monz
v1
Usage
The easiest way to use this cookbook is to call the pg_monz::default
recipe, which calls the other recipes.
Attributes
<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['pg_monz']['version']</tt></td>
<td>String</td>
<td>Version of pg_monz
to install</td>
<td><tt>1.0.1</tt></td>
</tr>
<tr>
<td><tt>['pg_monz']['hostname']</tt></td>
<td>String</td>
<td>Address of PostgreSQL server</td>
<td><tt>127.0.0.1</tt></td>
</tr>
<tr>
<td><tt>['pg_monz']['postgres_port']</tt></td>
<td>Integer</td>
<td>Port on PostgreSQL server</td>
<td><tt>node['postgresql']['config']['port']</tt></td>
</tr>
<tr>
<td><tt>['pg_monz']['database']</tt></td>
<td>String</td>
<td>Which databases to check</td>
<td><tt>*</tt> (all databases)</td>
</tr>
<tr>
<td><tt>['pg_monz']['username']</tt></td>
<td>String</td>
<td>Which database user to use for checks</td>
<td><tt>postgres</tt></td>
</tr>
</table>
Recipes
pg_monz::default
The default recipe downloads and installs pg_monz
, then adds a .pgpass
file to allow the zabbix user to access the PostgreSQL database.
pg_monz::install
Downloads and installs pg_monz
pg_monz::zabbix_user
Adds the .pgpass
file to allow the zabbix user
Dependent cookbooks
postgresql ~> 3.4 |
zabbix-agent ~> 0.10 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
0.1.0
Initial release of pg_monz-cookbook
Collaborator Number Metric
0.1.3 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Foodcritic Metric
0.1.3 passed this metric
No Binaries Metric
0.1.3 passed this metric
0.1.3 failed this metric
0.1.3 passed this metric
No Binaries Metric
0.1.3 passed this metric
0.1.3 passed this metric