
= DskTableMonitor
:description: Learn about the DskTableMonitor in OpenNMS {page-component-title} that tests if a disk or partition is under the minimum required space configured for it.

The DskTableMonitor tests the `dskErrorFlag` signaling that the disk or partition is under the minimum required space configured for it.
The monitor expects the value `1` to fail and provides the content of `dskErrorMsg` as event reason.

== Monitor facts

[cols="1,7"]
|===
| Class Name
| `org.opennms.netmgt.poller.monitors.DskTableMonitor`
|===

== Configuration and use

This monitor implements the <<reference:service-assurance/introduction.adoc#ref-service-assurance-monitors-common-parameters, Common Configuration Parameters>>.

== Examples

Note that you must include the `monitor` section for each service in your definition.

[source, xml]
----
<service name="DskTableMonitor" interval="300000" user-defined="false" status="on">
  <parameter key="timeout" value="3000" />
  <parameter key="retry" value="2" />
</service>
<monitor service="DskTableMonitor" class-name="org.opennms.netmgt.poller.monitors.DskTableMonitor" />
----
