Sends a single metric of the total number of seconds the host has been up, using the collectd uptime plugin.
Monitor Type: collectd/uptime
Accepts Endpoints: No
Multiple Instances Allowed: No
This monitor has no configuration options.
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