cookbook 'logicmonitor', '= 0.1.0'
logicmonitor (3) Versions 0.1.0 Follow1
Installs/Configures logicmonitor
cookbook 'logicmonitor', '= 0.1.0', :supermarket
knife supermarket install logicmonitor
knife supermarket download logicmonitor
logicmonitor
LWRP cookbook for configuring Logicmonitor devices.
Resources
logicmonitor_device
Manage a device.
Actions:
-
create
: Adds the device
Properties:
-
host
: Required - the host name or IP address of the device. -
display_name
: The display name of the device. Default:host
-
description
: The device description. -
link
: The URL link associated with the device. -
disable_alerting
: Indicates whether alerting is disabled (true
) or enabled (false
) for this device. Default:false
-
host_groups
: Required - the Id(s) as string(s) or substring(s) of the groups the device is in as an array. -
preferred_collector
: Required - the Id as a string or a substring found in the hostname of the preferred collector(s) assigned to monitor the device. If more than one is found, the one with the fewest hosts is used. -
enable_netflow
: Indicates whether Netflow is enabled (true
) or disabled (false
) for the device. Default:false
-
netflow_collector
: Required ifenable_netflow
is set - the Id of the netflow collector associated with the device. -
custom_properties
: Define custom properties for this device. Each property needs to have a name and a value. Example:[{"name":"snmp.version","value":"v2c"},{"name":"location","value":"Santa Barbara, CA"}]
-
account_name
: Required - the name of your Logicmonitor account. -
access_id
: Required - the access_id of your API key. -
access_key
: Required - the access_key of your API key.
Examples:
logicmonitor_device '10.36.11.240' do host_groups ['2', 'Servers/East'] preferred_collector '85' account_name 'api' access_id node['api']['access_id'] access_key node['api']['access_key'] end
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.1.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.1.0 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.1.0 passed this metric
License Metric
0.1.0 passed this metric
No Binaries Metric
0.1.0 passed this metric
Testing File Metric
0.1.0 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.1.0 passed this metric
0.1.0 failed this metric
0.1.0 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.1.0 passed this metric
License Metric
0.1.0 passed this metric
No Binaries Metric
0.1.0 passed this metric
Testing File Metric
0.1.0 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.1.0 passed this metric
0.1.0 passed this metric
0.1.0 passed this metric
No Binaries Metric
0.1.0 passed this metric
Testing File Metric
0.1.0 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.1.0 passed this metric
0.1.0 passed this metric
0.1.0 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.1.0 passed this metric
0.1.0 passed this metric