...
Locate the
[outputs.http.headers]
section. Replace In this section, replace the authenticate field's value with your Eyer agent API token in this section.
Code Block |
---|
[outputs.http.headers] authenticate = "your_api_key" |
Duplicate the
[[inputs.jolokia2_proxy]]
section and all metrics for each Atom you wish to monitor. If you're monitoring only one Atom, do not duplicate.Edit each of the URLs to reflect your Jolokia IP address. Replace the
x.x.x.x
path in the URL with your Jolokia the IP address of the host holding the Jolokia agent.
Code Block |
---|
# # Read JMX metrics from a Jolokia REST agent endpoint [[inputs.jolokia2_proxy]] url = "http://x.x.x.x:8080/jolokia" |
Next, edit the URLs in the
[[inputs.jolokia2_proxy.target]]
section to reflect the IPs where your atoms are hosted. Replace If you only monitor a single atom, and your Telegraf agent is hosted in the same location as the Jolokia agent, replace thex.x.x.x
path with your Boomi Atom's IP address in the URL. with localhost:
Code Block |
---|
[[inputs.jolokia2_proxy.target]] url url = "service:jmx:rmi:///jndi/rmi://x.x.x.xlocalhost:5002/jmxrmi" |
If you only monitor a single atom, and your Telegraf agent is hosted in the same location as the Jolokia agent, use this URL:However, if your agents and atom(s) are hosted in different locations, replace the x.x.x.x
path in the URL with your Boomi Atom's IP address.
Code Block |
---|
[[inputs.jolokia2_proxy.target]] url url = "service:jmx:rmi:///jndi/rmi://localhostx.x.x.x:5002/jmxrmi" |
Save the changes made to the
telegraf.conf
file.Next, use this command to change your current directory into the Telegraf directory containing the
telegraf.conf
andtelegraf.exe
files.
...