Monitoring Metrics using JMX

ATSD includes a built-in JMX server which allows remote JMX clients to retrieve ATSD metrics using the JMX protocol.

Setup JMX in ATSD

In /etc/hosts change atsd_hostname to atsd_ip atsd_hostname where atsd_ip is the ip v4 address of the ATSD host.

Specify the JMX username and password in two separate files located in the /opt/atsd/atsd/conf/ directory: jmx.access and jmx.password.

Add the following lines to the /opt/atsd/atsd/conf/ file.


Restart ATSD:

/opt/atsd/bin/ stop
/opt/atsd/bin/ start

Now you can access ATSD on service:jmx:rmi:///jndi/rmi://atsd_ip:1099/atsd with credentials set in jmx.access and jmx.password files.