Class HttpsMonitor
- java.lang.Object
-
- org.opennms.netmgt.poller.support.AbstractServiceMonitor
-
- org.opennms.netmgt.poller.monitors.support.ParameterSubstitutingMonitor
-
- org.opennms.netmgt.poller.monitors.HttpMonitor
-
- org.opennms.netmgt.poller.monitors.HttpsMonitor
-
- All Implemented Interfaces:
ServiceMonitor
public class HttpsMonitor extends HttpMonitor
This class is designed to be used by the service poller framework to test the availability of the HTTPS service on remote interfaces. The class implements the ServiceMonitor interface that allows it to be used along with other plug-ins by the service poller framework.- Author:
- David Hustace , Tarus Balog , Jason
-
-
Field Summary
-
Fields inherited from class org.opennms.netmgt.poller.monitors.HttpMonitor
LOG, PARAMETER_BASIC_AUTHENTICATION, PARAMETER_HOST_NAME, PARAMETER_NODE_LABEL_HOST_NAME, PARAMETER_PASSWORD, PARAMETER_PORT, PARAMETER_RESOLVE_IP, PARAMETER_RESPONSE, PARAMETER_RESPONSE_TEXT, PARAMETER_URL, PARAMETER_USER, PARAMETER_USER_AGENT, PARAMETER_VERBOSE
-
-
Constructor Summary
Constructors Constructor Description HttpsMonitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int[]
determinePorts(java.util.Map<java.lang.String,java.lang.Object> parameters)
determinePortsprotected SocketWrapper
getSocketWrapper()
wrapSocket-
Methods inherited from class org.opennms.netmgt.poller.monitors.HttpMonitor
poll
-
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
-
determinePorts
protected int[] determinePorts(java.util.Map<java.lang.String,java.lang.Object> parameters)
determinePorts
- Overrides:
determinePorts
in classHttpMonitor
- Parameters:
parameters
- aMap
object.- Returns:
- an array of int.
-
getSocketWrapper
protected SocketWrapper getSocketWrapper()
wrapSocket
- Overrides:
getSocketWrapper
in classHttpMonitor
- Returns:
- a
Socket
object.
-
-