Skip to content

Latest commit

 

History

History
51 lines (29 loc) · 1.4 KB

collectd-uptime.md

File metadata and controls

51 lines (29 loc) · 1.4 KB

collectd/uptime

Sends a single metric of the total number of seconds the host has been up, using the collectd uptime plugin.

Monitor Type: collectd/uptime

Monitor Source Code

Accepts Endpoints: No

Multiple Instances Allowed: No

Configuration

This monitor has no configuration options.

Metrics

The following table lists the metrics available for this monitor. Metrics that are marked as Included are standard metrics and are monitored by default.

Name Type Included Description
uptime gauge Seconds since system boot

To specify custom metrics you want to monitor, add a metricsToInclude filter to the agent configuration, as shown in the code snippet below. The snippet lists all available custom metrics. You can copy and paste the snippet into your configuration file, then delete any custom metrics that you do not want sent.

Note that some of the custom metrics require you to set a flag as well as add them to the list. Check the monitor configuration file to see if a flag is required for gathering additional metrics.

metricsToInclude:
  - metricNames:
    monitorType: collectd/uptime