-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
115 additions
and
20 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 |
---|---|---|
@@ -0,0 +1,61 @@ | ||
name: Cassandra Nodetool | ||
files: | ||
- name: cassandra_nodetool.yaml | ||
options: | ||
- template: init_config | ||
options: | ||
- name: nodetool | ||
description: | | ||
command or path to nodetool (e.g. /usr/bin/nodetool or docker exec container nodetool) | ||
can be overwritten on an instance | ||
Note: Agent v6.11+ on Windows runs as an unprivileged user (`ddagentuser`). That user needs to be granted | ||
access to the nodetool installation directory for the check to work. | ||
The nodetool installation also sets some environment variables (e.g. `CASSANDRA_HOME` and `DSCINSTALLDIR`), | ||
but sets them as variables only for the user doing the nodetool installation. Those environment variables should | ||
be set as system-wide variables. | ||
required: true | ||
value: | ||
type: string | ||
example: nodetool | ||
- template: init_config/default | ||
- template: instances | ||
options: | ||
- name: keyspaces | ||
description: | | ||
The list of keyspaces to monitor. | ||
An empty list results in no metrics being sent. | ||
required: true | ||
value: | ||
type: array | ||
items: | ||
type: string | ||
- name: host | ||
description: Host that the Datadog Cassandra Nodetool check connects to. | ||
value: | ||
type: string | ||
example: localhost | ||
- name: port | ||
description: The port JMX is listening to for connections. | ||
value: | ||
type: integer | ||
example: 7199 | ||
- name: username | ||
description: | | ||
Username from the credentials needed to connect to the host. These are the credentials for the JMX server. | ||
For the check to work, this user must have a read/write access so that the Datadog Cassandra nodetool | ||
check can execute the `status` command | ||
value: | ||
type: string | ||
- name: password | ||
description: | | ||
Username from the credentials needed to connect to the host. These are the credentials for the JMX server. | ||
For the check to work, this user must have a read/write access so that the Datadog Cassandra Nodetool | ||
check can execute the `status` command | ||
value: | ||
type: string | ||
- name: ssl | ||
description: Whether or not to use the --ssl parameter to nodetool to initiate a connection over SSL to the JMX server. | ||
value: | ||
type: boolean | ||
example: false | ||
- template: instances/default |
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