Collectd’s Write HTTP plugin can be used to configure collectd to send data to Metricly. If you need additional information about setting up Collectd, view their wiki.
unique API keyfor your account has already been generated.
Installation steps for collectd may vary widely between systems, so you’ll want to install collectd based on recommended steps for your distro and the version of collectd you downloaded. You can download the latest version of collectd here.
collectd.conffile. It can usually be found in
60. Setting the Interval to 60 will allow metrics to be collected and sent to Metricly every 60 seconds.
LoadPlugin cpu LoadPlugin disk LoadPlugin interface LoadPlugin load LoadPlugin memory LoadPlugin network LoadPlugin processes LoadPlugin write_http
4. In the
<Plugin write_http> configuration section, replace API_KEY with the
unique API key generated for your account that you copied in step 1.
<Plugin "write_http"> <Node "example"> URL "https://api.app.metricly.com/ingest/collectd/API_KEY"; User "collectd" Password "weCh3ik0" Format JSON StoreRates true </Node> </Plugin>
5. Save the
6. Restart collectd.
7. Verify that collectd can determine its fully qualified hostname by checking the element name in your Inventory Explorer. The hostname should be unique. If collectd cannot correctly determine the hostname, set a unique hostname by replacing
unique_fqn_of_your_host in the Hostname setting:
This integration’s package (computed metrics, dashboards, and policies that will give you important events and alerts) will be automatically enabled and provisioned to your account as soon as Metricly receives data from the integration. The PACKAGES button on the integration setup page will become active once data is received, so you’ll be able to disable and re-enable the package at will.