Class InodesMonitor
- java.lang.Object
-
- hudson.node_monitors.NodeMonitor
-
- org.jenkinsci.plugins.inodesnodemonitor.InodesMonitor
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<NodeMonitor>
public class InodesMonitor extends NodeMonitor
Checks the used percentage of inodes on the FS (Linux/Unix only). Uses thedf
system command.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InodesMonitor.Inodes
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description static org.jenkinsci.plugins.inodesnodemonitor.InodesMonitor.InodesUseInPercentMonitorDescriptor
DESCRIPTOR
String
inodesPercentThreshold
-
Fields inherited from class hudson.node_monitors.NodeMonitor
LIST
-
-
Constructor Summary
Constructors Constructor Description InodesMonitor()
InodesMonitor(String inodesPercentThreshold)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
data(Computer computer)
String
getColumnCaption()
-
Methods inherited from class hudson.node_monitors.NodeMonitor
all, getAll, getDescriptor, isIgnored, setIgnored, triggerUpdate
-
-
-
-
Field Detail
-
inodesPercentThreshold
public final String inodesPercentThreshold
-
DESCRIPTOR
@Extension public static final org.jenkinsci.plugins.inodesnodemonitor.InodesMonitor.InodesUseInPercentMonitorDescriptor DESCRIPTOR
-
-
Constructor Detail
-
InodesMonitor
@DataBoundConstructor public InodesMonitor(String inodesPercentThreshold) throws ParseException
- Parameters:
inodesPercentThreshold
- threshod expected to be a percentage between 0% and 99% (% required). "5%" is correct. "5" is not.- Throws:
ParseException
- if unable to parse.
-
InodesMonitor
public InodesMonitor()
-
-
Method Detail
-
data
public Object data(Computer computer)
- Overrides:
data
in classNodeMonitor
-
getColumnCaption
public final String getColumnCaption()
- Overrides:
getColumnCaption
in classNodeMonitor
-
-