cookbook 'nad', '~> 0.0.6'
nad (6) Versions 0.0.6 Follow1
nad (nodejs monitoring agent)
cookbook 'nad', '~> 0.0.6', :supermarket
knife supermarket install nad
knife supermarket download nad
nad cookbook
Install and configure nad, a nodejs-based monitoring agent.
More info on nad: https://github.com/circonus-labs/nad
Platforms
centos, ubuntu
Other un*xes likely; windows unlikely.
Recipes
nad
(nad::default
)
Runs the install and configure recipes.
nad::install
Installs nad by downloading tarballs from updates.circonus.com .
nad::configure
nad doesn't have much configuration; this just sets the port, SSL options, and scripts directory.
LWRPs
nad_script
Actions
:enable - Link a script into the config directory, enabling it (default)
:disable - Delete a link
Attributes
name - Name of the script (if.sh, cpu.elf, etc)
subdir - Subdirectory within nad config directory where the actual script lives; required for :enable
Examples
# Enable postgres replication script
nad_script pg_replication.sh do
subdir 'postgres'
end
# Disable vm script
nad_script vm.sh do
action :disable
end
Attributes
Defaults are shown below.
:nad => {
#------
# Cookbook Toggle
#------
# Set to false to disable the cookbook
# (will not disable nad if running)
:enabled => true,
#------
# Installation
#------
# Where to store the tarball during installation
:tmp_path => '/tmp',
# URL without filename
:download_url => 'http://updates.circonus.net/node-agent/packages',
# File to download. nad::install will find an appropriate file if possible.
:download_file => "nad-omnibus-20140630T182203Z-1.el6.x86_64.rpm",
# You can also just override the release. nad::install will find an appropriate release if possible.
:release => "20140630T182203Z"
#-----
# Daemon Config
#-----
:port => 2609,
:config_dir => '/opt/circonus/etc/node_agent.d',
# These are nil by default
# Listen on a specific interface
:ip => nil,
# Use SSL (must place na.crt and na.key in conf dir). If ssl_port is provided, :ip and :port are not used.
:ssl_port => nil,
:ssl_ip => nil,
}
See Also
Dependent cookbooks
smf >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.0.6 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.0.6 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.0.6 failed this metric
FC064: Ensure issues_url is set in metadata: nad/metadata.rb:1
FC065: Ensure source_url is set in metadata: nad/metadata.rb:1
FC066: Ensure chef_version is set in metadata: nad/metadata.rb:1
FC069: Ensure standardized license defined in metadata: nad/metadata.rb:1
FC070: Ensure supports metadata defines valid platforms: nad/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.0.6 passed this metric
Testing File Metric
0.0.6 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.0.6 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.0.6 failed this metric
0.0.6 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.0.6 failed this metric
FC064: Ensure issues_url is set in metadata: nad/metadata.rb:1
FC065: Ensure source_url is set in metadata: nad/metadata.rb:1
FC066: Ensure chef_version is set in metadata: nad/metadata.rb:1
FC069: Ensure standardized license defined in metadata: nad/metadata.rb:1
FC070: Ensure supports metadata defines valid platforms: nad/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.0.6 passed this metric
Testing File Metric
0.0.6 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.0.6 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.0.6 failed this metric
FC065: Ensure source_url is set in metadata: nad/metadata.rb:1
FC066: Ensure chef_version is set in metadata: nad/metadata.rb:1
FC069: Ensure standardized license defined in metadata: nad/metadata.rb:1
FC070: Ensure supports metadata defines valid platforms: nad/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.0.6 passed this metric
Testing File Metric
0.0.6 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.0.6 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.0.6 failed this metric
0.0.6 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number