Class JCifsMonitor
- java.lang.Object
-
- org.opennms.netmgt.poller.support.AbstractServiceMonitor
-
- org.opennms.netmgt.poller.monitors.support.ParameterSubstitutingMonitor
-
- org.opennms.netmgt.poller.monitors.JCifsMonitor
-
- All Implemented Interfaces:
ServiceMonitor
public class JCifsMonitor extends ParameterSubstitutingMonitor
This class is designed to be used by the service poller framework to test the availability of the existence of files or directories on remote interfaces via CIFS. The class implements the ServiceMonitor interface that allows it to be used along with other plug-ins by the service poller framework.- Version:
- 1.10.9
- Author:
- Christian Pape
-
-
Field Summary
-
Fields inherited from class org.opennms.netmgt.poller.monitors.support.ParameterSubstitutingMonitor
LOG
-
-
Constructor Summary
Constructors Constructor Description JCifsMonitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PollStatus
poll(MonitoredService svc, Map<String,Object> parameters)
This method queries the CIFS share.-
Methods inherited from class org.opennms.netmgt.poller.monitors.support.ParameterSubstitutingMonitor
getRuntimeAttributes, getSubstitutedParameters, parseString, resolveKeyedString
-
Methods inherited from class org.opennms.netmgt.poller.support.AbstractServiceMonitor
getEffectiveLocation, getKeyedBoolean, getKeyedInstance, getKeyedInteger, getKeyedLong, getKeyedObject, getKeyedString, getServiceProperties
-
-
-
-
Method Detail
-
poll
public PollStatus poll(MonitoredService svc, Map<String,Object> parameters)
This method queries the CIFS share.- Parameters:
svc
- the monitored serviceparameters
- the parameter map- Returns:
- the poll status for this system
- See Also:
PollStatus.SERVICE_AVAILABLE
,PollStatus.SERVICE_UNAVAILABLE
,PollStatus.SERVICE_AVAILABLE
,PollStatus.SERVICE_UNAVAILABLE
-
-