PingDirectory

Configuring a StatsD monitoring endpoint

The Stats Collector is used to create a StatsD monitoring endpoint.

Steps

  1. To enable the Stats Collector plugin, run the following command.

    dsconfig set-plugin-prop \
        --plugin-name "Stats Collector" \
        --set enabled:true
  2. To create a StatsD monitoring endpoint, run the following command. After running the command, the PingDirectory server will send StatsD messages to your Splunk server over UDP at port 8125.

    dsconfig create-monitoring-endpoint \
        --endpoint-name StatsDEndpoint \
        --type statsd \
        --set enabled:true \
        --set hostname:your-splunk.example.com \
        --set server-port:8125 \
        --set connection-type:unencrypted-udp