How do I change the frequency of an agent check?

We typically recommend not adjusting the default frequency of an agent check, however, this may be achieved by adding a new parameter to your integrations YAML configuration.

For example, if you need to run an http check every 60 seconds rather than the default 15 seconds, add the following to the http_check.yaml config file:

min_collection_interval: 60

You can add this parameter at the init_config level or at the instance level.

Note: the agent runs every 15 seconds and this parameter makes the agent not collect new instance data unless data was collected for the same instance more than min_collection_interval seconds ago. This only works for values > 15, it's not possible to have the agent collect data more frequently this way.

Note: the min_collection_interval parameter doesn't work for Java based checks (jmx.yaml, cassandra.yaml, tomcat.yaml, solr.yaml, activemq.yaml, activemq_xml.yaml).

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk