Moogsoft Docs

Datadog Polling LAM Reference

This is a reference for the Datadog Polling LAM . The Datadog LAM configuration file is located at: $MOOGSOFT_HOME/config/datadog_client_lam.conf

It contains the following sections and properties.

Monitor

name : The LAM name of the LAM.

Type : String
Required : Yes
Default : "Datadog REST Client Monitor" . Do not change.

class : The LAM class.

Type : String
Required : Yes
Default : "CRestClientMonitor" . Do not change.

request_interval : Length of time to wait between requests, in seconds. You can override this value by setting request_interval in individual targets.

Type : Integer
Required : Yes
Default : 60

targets : A top-level container for which you can define one or more target Datadog sources. You can specify the configuration for each target.

Type : JSON Object
Required : Yes
Default : N/A

proxy : Defines a HTTP proxy to use. If you are using a proxy specify the host, port, user and password in the proxy section of the configuration file.

Type : String
Required
: No
Default
: N/A

disable_certificate_validation : Specifies whether to disable SSL certificate validation. If set to true t he data transmission between Moogsoft AIOps and your Datadog server is not protected by the encryption protocol.

Type : Boolean
Required : Yes
Default : False

path_to_ssl_files : Path to the directory that contains the SSL certificates. You can use a relative path based upon the $MOOGSOFT_HOME directory. For example, the default config indicates $MOOGSOFT_HOME/config .

Type : String
Required : If disable_certificate_certification = false
Default : "config"

server_cert_filename : Name of the SSL root CA file. Must reside in the location contained in path_to_ssl_files

Type : String
Required : If disable_certificate_certification = false
Default : N/A

client_key_filename : Name of the SSL client key file.

Type : String
Required : If disable_certificate_certification = false
Default : N/A

client_cert_filename : Name of the SSL client certificate.

Type : String
Required : If disable_certificate_certification = false
Default : N/A

url : Datadog request URL including host and port.

Type : String
Required : Yes
Default : N/A

request_query_params : Query to select Datadog data. $from and $to define the time period. Specify strings in the format defined in params_date_format . The api_key and application_key should match the Datadog Polling integration defined in the Moogsoft AIOps UI. The LAM URL encodes these parameters.

Type : String
Required : Yes
Default :

request_query_params:
{
     start: "$from",
     end: "$to",
     api_key: "7470e8b910bf84ba30bd79b437414ba4",
     application_key: "3f7ae69fe49de64a3e166c8693fb11653073f560"
}

params_date_format : Date format to use in request_query_params properties $from and $to .

Type : String
Required : Yes
Default : "yyyy-MM-dd'T'HH:mm:ss"

enable_epoch_converter : Defines whether to use an epoch timestamp instead of a machine timestamp.

Type : Boolean
Required : Yes
Default : False

results_path : Location of the JSON results objects in the data structure.

Type : String
Required : Yes
Default : "results"

requests_overlap : If events meet the overlap_identity_fields matching criteria during this interval (specified in seconds), they are not treated as duplicates. Used to ensure that Moogsoft AIOps does not miss valid events. Setting this field to 0 disables all duplicate matching.

Type : Integer
Required : No
Default : 10

overlap_identity_fields : A list of payload tokens the LAM uses to identify duplicate events when requests_overlap is greater than 0, or when Datadog returns all open events and not just updated events. The LAM treats events with the same overlap_identity_fields as duplicate events. The LAM identifies duplicates for each payload event in the previous request only. Identification is based on the token names of the returned payload, not the mapped names. For example, including $id refers to this value in the payload, not event.value("id") .

Type : String
Required
: No
Default : [ "id" ]

timeout : Length of time to wait before halting a connection or read attempt, in seconds.

Type : Integer
Required : Yes
Default : 120

num_threads : Number of worker threads to use.

Type : Integer
Required : No
Default : The number of available CPUs, up to a maximum of 8

Agent

name : Identifies the event sent to the message bus by the Datadog LAM.

Type : String
Required : Yes
Default : "Datadog"

log: Location of the Datadog LAM log file.

Type : String
Required : Yes
Default : "$MOOGSOFT_HOME/log/data-capture/datadog_lam.log"