Get metrics from gnatsd service in real time to:
- Visualize and monitor gnatsd states
- Be notified about gnatsd failovers and events.
To install the Gnatsd check on your host:
- Download the Datadog Agent.
- Download the
check.py
file for Gnatsd. - Place it in the Agent's
checks.d
directory. - Rename it to
gnatsd.py
.
Edit the gnatsd.yaml
file to point to your server and port, set the masters to monitor
- host: set to the gnatsd host to monitor
- port: set to the monitoring port used by gnatsd
- tags: add these tags to recorded metrics
- server_name: set to what should be displayed in DataDog
When you run datadog-agent info
you should see something like the following:
Checks
======
gnatsd
-----------
- instance #0 [OK]
- Collected 23 metrics, 0 events & 1 service checks
The gnatsd check is compatible with all major platforms
See metadata.csv for a list of metrics provided by this integration.
The gnatsd check does not include any events at this time.
This gnatsd check tags all service checks it collects with:
server_name:<server_name_in_yaml>
url:<host_in_yaml>
gnatsd.can_connect
:
Returns CRITICAL
if the Agent fails to receive a 200 from the monitoring endpoint, otherwise returns OK
.
Need help? Contact Datadog support.