|
Sonic Management API | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface ICollectionsMonitorProxy
Remote interface to a runtime instance of a CollectionsMonitor.
Management attributes and operations are documented in this interface.
An implementation of this interface can be created using the MFProxyFactory class. Each implementation instance is valid for the life of the provided JMS/JMX Connector and MBean ObjectName. The implementation is built using remote JMX MBeanServer calls.
For each JMX MBean attribute, this interface provides an associated get method (for readable attributes) and/or a set method (for writable attributes).
For each JMX MBean operation, this interface provides an associated method with a signature as described by the MBean's operation meta-data. Each JMX MBean operation has an associated impact:
All exceptions emitted by implementations are wrapped as a ProxyRuntimeException.
| Field Summary | |
|---|---|
static java.lang.String |
APPLICATION_ALERT_STORAGE_METRICS_STOREDPERMINUTE_NOTIFICATION_ID
Notification type constant for the notification application.alert.storage.metrics.StoredPerMinute. |
static java.lang.String |
APPLICATION_ALERT_STORAGE_NOTIFICATIONS_STOREDPERMINUTE_NOTIFICATION_ID
Notification type constant for the notification application.alert.storage.notifications.StoredPerMinute. |
static IMetricIdentity |
STORAGE_METRICS_STOREDPERMINUTE_METRIC_ID
Metric identity constant for the metric storage.metrics.StoredPerMinute. |
static IMetricIdentity |
STORAGE_NOTIFICATIONS_STOREDPERMINUTE_METRIC_ID
Metric identity constant for the metric storage.notifications.StoredPerMinute. |
static java.lang.String |
SYSTEM_MONITOR_THRESHOLD_NOTIFICATION_ID
Notification type constant for the notification system.monitor.Threshold. |
static java.lang.String |
SYSTEM_STATE_OFFLINE_NOTIFICATION_ID
Notification type constant for the notification system.state.Offline. |
static java.lang.String |
SYSTEM_STATE_ONLINE_NOTIFICATION_ID
Notification type constant for the notification system.state.Online. |
| Method Summary | |
|---|---|
void |
addNotificationListener(NotificationListener listener,
NotificationFilter filter,
java.lang.Object handback)
Adds a notification listener. |
void |
clearError()
Invokes the clearError operation. |
void |
clearHistory()
Invokes the clearHistory operation. |
void |
disableAlerts(IAlert[] alerts)
Invokes the disableAlerts operation. |
void |
disableMetrics(IMetricIdentity[] ids)
Invokes the disableMetrics operation. |
void |
enableAlerts(IAlert[] alerts)
Invokes the enableAlerts operation. |
void |
enableMetrics(IMetricIdentity[] ids)
Invokes the enableMetrics operation. |
IMetricIdentity[] |
getActiveMetrics(IMetricIdentity[] ids)
Invokes the getActiveMetrics operation. |
IAggregateMetricsData |
getAggregateMetricsData(java.lang.String collectionID,
IMetricIdentity[] metricIDs,
java.lang.Long latestCurrency,
java.lang.Long lookbackPeriod)
Invokes the getAggregateMetricsData operation. |
AttributeList |
getAttributes(java.lang.String[] attributeNames)
Gets the values of several attributes of a CollectionsMonitor component. |
java.lang.String |
getClassname()
Gets the value of the Classname attribute. |
java.lang.String |
getClasspath()
Gets the value of the Classpath attribute. |
java.lang.String |
getConfigID()
Gets the value of the ConfigID attribute. |
IAlert[] |
getEnabledAlerts(IMetricIdentity[] ids)
Invokes the getEnabledAlerts operation. |
IMetricIdentity[] |
getEnabledMetrics(IMetricIdentity[] ids)
Invokes the getEnabledMetrics operation. |
MBeanNotificationInfo[] |
getForwardedNotificationsInfo(java.lang.String collectionID)
Invokes the getForwardedNotificationsInfo operation. |
java.lang.Integer |
getHistoryDurationHours()
Gets the value of the HistoryDurationHours attribute. |
java.lang.String[] |
getInstanceMetricNames(java.lang.String collectionID,
IMetricIdentity id)
Invokes the getInstanceMetricNames operation. |
java.lang.String |
getLastError()
Gets the value of the LastError attribute. |
java.lang.Integer |
getLastErrorLevel()
Gets the value of the LastErrorLevel attribute. |
java.lang.String |
getLastErrorLevelString()
Gets the value of the LastErrorLevelString attribute. |
IMetricsData |
getMetricHistory(java.lang.String collectionID,
IMetricIdentity[] metricIDs,
java.lang.Long latest,
java.lang.Long earliest)
Invokes the getMetricHistory operation. |
java.lang.Integer |
getMetricsCollectionInterval()
Gets the value of the MetricsCollectionInterval attribute. |
IMetricsData |
getMetricsData(IMetricIdentity[] ids,
java.lang.Boolean returnTriggeredAlerts)
Invokes the getMetricsData operation. |
IMetricInfo[] |
getMetricsInfo()
Invokes the getMetricsInfo operation. |
java.lang.Integer |
getMetricsRefreshInterval()
Gets the value of the MetricsRefreshInterval attribute. |
java.lang.String[] |
getMonitoredCollections()
Invokes the getMonitoredCollections operation. |
IMetricInfo[] |
getMonitoredMetricsInfo(java.lang.String collectionID)
Invokes the getMonitoredMetricsInfo operation. |
INotification[] |
getNotificationHistory(java.lang.String collectionID,
java.lang.String[] notificationTypes,
java.lang.Long latest,
java.lang.Long earliest)
Invokes the getNotificationHistory operation. |
java.lang.String |
getReleaseVersion()
Gets the value of the ReleaseVersion attribute. |
java.lang.Boolean |
getRepeatMetricAlerts()
Gets the value of the RepeatMetricAlerts attribute. |
java.lang.Boolean |
getSaveMonitoredNotifications()
Gets the value of the SaveMonitoredNotifications attribute. |
java.lang.Boolean |
getSaveThresholdNotifications()
Gets the value of the SaveThresholdNotifications attribute. |
java.lang.Short |
getState()
Gets the value of the State attribute. |
java.lang.String |
getStateString()
Gets the value of the StateString attribute. |
IMonitoredMetrics |
getStoredMetrics(java.lang.String[] collectionIDs,
java.lang.Long lastReceivedTimestamp,
java.lang.Long lookbackPeriod)
Invokes the getStoredMetrics operation. |
IMonitoredNotifications |
getStoredNotifications(java.lang.String[] collectionIDs,
java.lang.Long lastReceivedTimestamp,
java.lang.Long lookbackPeriod)
Invokes the getStoredNotifications operation. |
INotification[] |
getThresholdNotificationHistory(java.lang.Long latest,
java.lang.Long earliest)
Invokes the getThresholdNotificationHistory operation. |
java.lang.Integer |
getTraceMask()
Gets the value of the TraceMask attribute. |
java.lang.String |
getTraceMaskValues()
Gets the value of the TraceMaskValues attribute. |
java.lang.Long |
getUptime()
Gets the value of the Uptime attribute. |
void |
reload()
Invokes the reload operation. |
void |
removeNotificationListener(NotificationListener listener)
Removes a notification listener. |
void |
resetMetrics()
Invokes the resetMetrics operation. |
AttributeList |
setAttributes(AttributeList attributes)
Sets the values of several attributes of a CollectionsMonitor component. |
void |
setHistoryDurationHours(java.lang.Integer value)
Sets the value of the HistoryDurationHours attribute. |
void |
setMetricsCollectionInterval(java.lang.Integer value)
Sets the value of the MetricsCollectionInterval attribute. |
void |
setMetricsRefreshInterval(java.lang.Integer value)
Sets the value of the MetricsRefreshInterval attribute. |
void |
setRepeatMetricAlerts(java.lang.Boolean value)
Sets the value of the RepeatMetricAlerts attribute. |
void |
setSaveMonitoredNotifications(java.lang.Boolean value)
Sets the value of the SaveMonitoredNotifications attribute. |
void |
setSaveThresholdNotifications(java.lang.Boolean value)
Sets the value of the SaveThresholdNotifications attribute. |
void |
setTraceMask(java.lang.Integer value)
Sets the value of the TraceMask attribute. |
void |
start()
Invokes the start operation. |
void |
stop()
Invokes the stop operation. |
| Field Detail |
|---|
static final java.lang.String APPLICATION_ALERT_STORAGE_METRICS_STOREDPERMINUTE_NOTIFICATION_ID
Description: Alert for metric storage.metrics.StoredPerMinute
static final java.lang.String APPLICATION_ALERT_STORAGE_NOTIFICATIONS_STOREDPERMINUTE_NOTIFICATION_ID
Description: Alert for metric storage.notifications.StoredPerMinute
static final IMetricIdentity STORAGE_METRICS_STOREDPERMINUTE_METRIC_ID
Description: Number of monitored metric values stored per minute.
storage.metrics.StoredPerMinute
static final IMetricIdentity STORAGE_NOTIFICATIONS_STOREDPERMINUTE_METRIC_ID
Description: Number of monitored notifications stored per minute.
storage.notifications.StoredPerMinute
static final java.lang.String SYSTEM_MONITOR_THRESHOLD_NOTIFICATION_ID
Description: Sent when a notification monitoring threshold has been broken.
system.monitor.Threshold
static final java.lang.String SYSTEM_STATE_OFFLINE_NOTIFICATION_ID
Description: Component stop complete.
system.state.Offline
static final java.lang.String SYSTEM_STATE_ONLINE_NOTIFICATION_ID
Description: Component start complete.
system.state.Online
| Method Detail |
|---|
void addNotificationListener(NotificationListener listener,
NotificationFilter filter,
java.lang.Object handback)
A CollectionsMonitor component publishes the following notifications:
application.alert.storage.metrics.StoredPerMinute
application.alert.storage.notifications.StoredPerMinute
system.monitor.Threshold
system.state.Offline
system.state.Online
listener - The listener object which will handle the notifications emitted component.filter - The filter object. If filter is null, no filtering will be performed before handling notifications.handback - The context to be sent to the listener when a notification is emitted.removeNotificationListener(javax.management.NotificationListener)void clearError()
Clear existing error condition.
Impact: ACTION
getLastErrorLevel()void clearHistory()
Clears all notification/metric history maintained by this monitor.
Impact: ACTION
void disableAlerts(IAlert[] alerts)
Disable threshold alerts on a metric.
Impact: ACTION
Metrics that allow alert thresholds to be specified are:
alerts - A list of alerts to disable.enableAlerts(com.sonicsw.mf.common.metrics.IAlert[]),
getEnabledAlerts(com.sonicsw.mf.common.metrics.IMetricIdentity[])void disableMetrics(IMetricIdentity[] ids)
Disable the given set of dynamic metrics.
Impact: ACTION
Dynamic metrics are:
ids - A list of metrics identity patterns.enableMetrics(com.sonicsw.mf.common.metrics.IMetricIdentity[]),
getActiveMetrics(com.sonicsw.mf.common.metrics.IMetricIdentity[]),
getAggregateMetricsData(java.lang.String, com.sonicsw.mf.common.metrics.IMetricIdentity[], java.lang.Long, java.lang.Long),
getEnabledMetrics(com.sonicsw.mf.common.metrics.IMetricIdentity[]),
getMetricsData(com.sonicsw.mf.common.metrics.IMetricIdentity[], java.lang.Boolean),
getMetricsInfo(),
getMonitoredMetricsInfo(java.lang.String),
getStoredMetrics(java.lang.String[], java.lang.Long, java.lang.Long),
resetMetrics()void enableAlerts(IAlert[] alerts)
Enable threshold alerts on a metric.
Impact: ACTION
Metrics that allow alert thresholds to be specified are:
alerts - A list of alerts to enable.disableAlerts(com.sonicsw.mf.common.metrics.IAlert[]),
getEnabledAlerts(com.sonicsw.mf.common.metrics.IMetricIdentity[])void enableMetrics(IMetricIdentity[] ids)
Enable the given set of dynamic metrics.
Impact: ACTION
Dynamic metrics are:
ids - A list of metrics identity patterns.disableMetrics(com.sonicsw.mf.common.metrics.IMetricIdentity[]),
getActiveMetrics(com.sonicsw.mf.common.metrics.IMetricIdentity[]),
getAggregateMetricsData(java.lang.String, com.sonicsw.mf.common.metrics.IMetricIdentity[], java.lang.Long, java.lang.Long),
getEnabledMetrics(com.sonicsw.mf.common.metrics.IMetricIdentity[]),
getMetricsData(com.sonicsw.mf.common.metrics.IMetricIdentity[], java.lang.Boolean),
getMetricsInfo(),
getMonitoredMetricsInfo(java.lang.String),
getStoredMetrics(java.lang.String[], java.lang.Long, java.lang.Long),
resetMetrics()IMetricIdentity[] getActiveMetrics(IMetricIdentity[] ids)
Gets the the list of metrics currently active in this component.
Impact: INFO
ids - A list of metrics identity patterns.disableMetrics(com.sonicsw.mf.common.metrics.IMetricIdentity[]),
enableMetrics(com.sonicsw.mf.common.metrics.IMetricIdentity[]),
getAggregateMetricsData(java.lang.String, com.sonicsw.mf.common.metrics.IMetricIdentity[], java.lang.Long, java.lang.Long),
getEnabledMetrics(com.sonicsw.mf.common.metrics.IMetricIdentity[]),
getMetricsData(com.sonicsw.mf.common.metrics.IMetricIdentity[], java.lang.Boolean),
getMetricsInfo(),
getMonitoredMetricsInfo(java.lang.String),
getStoredMetrics(java.lang.String[], java.lang.Long, java.lang.Long),
resetMetrics()
IAggregateMetricsData getAggregateMetricsData(java.lang.String collectionID,
IMetricIdentity[] metricIDs,
java.lang.Long latestCurrency,
java.lang.Long lookbackPeriod)
Gets aggregated metrics for a collection, based from recorded metrics of the given time window.
Impact: INFO
collectionID - The configuration ID to the monitored collection.metricIDs - The metric identities for which aggregate data is sought.latestCurrency - The time of the latest metric value to be used to compute the aggregate data..lookbackPeriod - The period to lookback for metric values.disableMetrics(com.sonicsw.mf.common.metrics.IMetricIdentity[]),
enableMetrics(com.sonicsw.mf.common.metrics.IMetricIdentity[]),
getActiveMetrics(com.sonicsw.mf.common.metrics.IMetricIdentity[]),
getEnabledMetrics(com.sonicsw.mf.common.metrics.IMetricIdentity[]),
getMetricsData(com.sonicsw.mf.common.metrics.IMetricIdentity[], java.lang.Boolean),
getMetricsInfo(),
getMonitoredMetricsInfo(java.lang.String),
getStoredMetrics(java.lang.String[], java.lang.Long, java.lang.Long),
resetMetrics()AttributeList getAttributes(java.lang.String[] attributeNames)
Getting multiple attribute values at once is typically more efficient than getting individual attribute values.
Readable attributes (and their datatypes) exposed by a CollectionsMonitor are:
Classname (java.lang.String)
Classpath (java.lang.String)
ConfigID (java.lang.String)
HistoryDurationHours (java.lang.Integer)
LastError (java.lang.String)
LastErrorLevel (java.lang.Integer)
LastErrorLevelString (java.lang.String)
MetricsCollectionInterval (java.lang.Integer)
MetricsRefreshInterval (java.lang.Integer)
ReleaseVersion (java.lang.String)
RepeatMetricAlerts (java.lang.Boolean)
SaveMonitoredNotifications (java.lang.Boolean)
SaveThresholdNotifications (java.lang.Boolean)
State (java.lang.Short)
StateString (java.lang.String)
TraceMask (java.lang.Integer)
TraceMaskValues (java.lang.String)
Uptime (java.lang.Long)
attributeNames - A list of the attribute names of attributes to be retrieved.
setAttributes(javax.management.AttributeList)java.lang.String getClassname()
java.lang.String getClasspath()
java.lang.String getConfigID()
IAlert[] getEnabledAlerts(IMetricIdentity[] ids)
Get all metric threshold alerts enabled by this component.
Impact: INFO
ids - A list of metrics identities for which to get the enabled alerts.disableAlerts(com.sonicsw.mf.common.metrics.IAlert[]),
enableAlerts(com.sonicsw.mf.common.metrics.IAlert[])IMetricIdentity[] getEnabledMetrics(IMetricIdentity[] ids)
Get the list of metric patterns that have been enabled for this component.
Impact: INFO
ids - A list of metrics identities for which to get the enabled alerts.disableMetrics(com.sonicsw.mf.common.metrics.IMetricIdentity[]),
enableMetrics(com.sonicsw.mf.common.metrics.IMetricIdentity[]),
getActiveMetrics(com.sonicsw.mf.common.metrics.IMetricIdentity[]),
getAggregateMetricsData(java.lang.String, com.sonicsw.mf.common.metrics.IMetricIdentity[], java.lang.Long, java.lang.Long),
getMetricsData(com.sonicsw.mf.common.metrics.IMetricIdentity[], java.lang.Boolean),
getMetricsInfo(),
getMonitoredMetricsInfo(java.lang.String),
getStoredMetrics(java.lang.String[], java.lang.Long, java.lang.Long),
resetMetrics()MBeanNotificationInfo[] getForwardedNotificationsInfo(java.lang.String collectionID)
Gets the meta-data for the notifications being forwarded by this monitor.
Impact: INFO
collectionID - The configuration ID to the monitored collection.java.lang.Integer getHistoryDurationHours()
setHistoryDurationHours(java.lang.Integer)
java.lang.String[] getInstanceMetricNames(java.lang.String collectionID,
IMetricIdentity id)
Gets the instance metric names for a monitored metric of a specified collection.
Impact: INFO
collectionID - The configuration ID to the monitored collection.id - The metric identity for which instance names are sought.java.lang.String getLastError()
java.lang.Integer getLastErrorLevel()
java.lang.String getLastErrorLevelString()
IMetricsData getMetricHistory(java.lang.String collectionID,
IMetricIdentity[] metricIDs,
java.lang.Long latest,
java.lang.Long earliest)
Gets recorded metrics for the given collection and metrics, between the given dates. Metrics are returned in date order with most recent first.
Impact: INFO
collectionID - The configuration ID to the monitored collection.metricIDs - The metric identities of interest.latest - The time of the latest monitored metric value to be returned.earliest - The time of the earliest monitored metric value to be returned.java.lang.Integer getMetricsCollectionInterval()
setMetricsCollectionInterval(java.lang.Integer)
IMetricsData getMetricsData(IMetricIdentity[] ids,
java.lang.Boolean returnTriggeredAlerts)
Gets metric values for a given set of metrics. If a requested metric was not enabled or is otherwise unknown, then no data for that metric will be included in the results.
Impact: INFO
ids - A list of active metrics, either individual metrics or instances.returnTriggeredAlerts - If true, each metric returned should include a list of triggered (exceeded) alerts for these metrics.disableMetrics(com.sonicsw.mf.common.metrics.IMetricIdentity[]),
enableMetrics(com.sonicsw.mf.common.metrics.IMetricIdentity[]),
getActiveMetrics(com.sonicsw.mf.common.metrics.IMetricIdentity[]),
getAggregateMetricsData(java.lang.String, com.sonicsw.mf.common.metrics.IMetricIdentity[], java.lang.Long, java.lang.Long),
getEnabledMetrics(com.sonicsw.mf.common.metrics.IMetricIdentity[]),
getMetricsInfo(),
getMonitoredMetricsInfo(java.lang.String),
getStoredMetrics(java.lang.String[], java.lang.Long, java.lang.Long),
resetMetrics()IMetricInfo[] getMetricsInfo()
Gets the meta-data for all metrics supported by this component.
Impact: INFO
disableMetrics(com.sonicsw.mf.common.metrics.IMetricIdentity[]),
enableMetrics(com.sonicsw.mf.common.metrics.IMetricIdentity[]),
getActiveMetrics(com.sonicsw.mf.common.metrics.IMetricIdentity[]),
getAggregateMetricsData(java.lang.String, com.sonicsw.mf.common.metrics.IMetricIdentity[], java.lang.Long, java.lang.Long),
getEnabledMetrics(com.sonicsw.mf.common.metrics.IMetricIdentity[]),
getMetricsData(com.sonicsw.mf.common.metrics.IMetricIdentity[], java.lang.Boolean),
getMonitoredMetricsInfo(java.lang.String),
getStoredMetrics(java.lang.String[], java.lang.Long, java.lang.Long),
resetMetrics()java.lang.Integer getMetricsRefreshInterval()
setMetricsRefreshInterval(java.lang.Integer)java.lang.String[] getMonitoredCollections()
Gets the list of collections being monitored by this monitor.
Impact: INFO
IMetricInfo[] getMonitoredMetricsInfo(java.lang.String collectionID)
Gets the meta-data for the metrics being forwarded by this monitor.
Impact: INFO
collectionID - The configuration ID to the monitored collection.disableMetrics(com.sonicsw.mf.common.metrics.IMetricIdentity[]),
enableMetrics(com.sonicsw.mf.common.metrics.IMetricIdentity[]),
getActiveMetrics(com.sonicsw.mf.common.metrics.IMetricIdentity[]),
getAggregateMetricsData(java.lang.String, com.sonicsw.mf.common.metrics.IMetricIdentity[], java.lang.Long, java.lang.Long),
getEnabledMetrics(com.sonicsw.mf.common.metrics.IMetricIdentity[]),
getMetricsData(com.sonicsw.mf.common.metrics.IMetricIdentity[], java.lang.Boolean),
getMetricsInfo(),
getStoredMetrics(java.lang.String[], java.lang.Long, java.lang.Long),
resetMetrics()
INotification[] getNotificationHistory(java.lang.String collectionID,
java.lang.String[] notificationTypes,
java.lang.Long latest,
java.lang.Long earliest)
Gets recorded notifications for the given collection and notification types, between the given dates. Notifications are returned in date order with most recent first.
Impact: INFO
collectionID - The configuration ID to the monitored collection.notificationTypes - The (canonical) notification types of interest.latest - The time of the latest monitored notification to be returned.earliest - The time of the earliest monitored notification to be returned.java.lang.String getReleaseVersion()
java.lang.Boolean getRepeatMetricAlerts()
setRepeatMetricAlerts(java.lang.Boolean)java.lang.Boolean getSaveMonitoredNotifications()
setSaveMonitoredNotifications(java.lang.Boolean)java.lang.Boolean getSaveThresholdNotifications()
setSaveThresholdNotifications(java.lang.Boolean)java.lang.Short getState()
getStateString(),
IComponentStatejava.lang.String getStateString()
getState(),
IComponentState.STATE_TEXT
IMonitoredMetrics getStoredMetrics(java.lang.String[] collectionIDs,
java.lang.Long lastReceivedTimestamp,
java.lang.Long lookbackPeriod)
Returns an instance of IMonitoredMetrics containing copies of the stored metrics for the specified component collection(s), for the given time window, up to a total size of approximately 1Mb, and a flag to indicate if there are more metrics to be retrieved.
Impact: INFO
collectionIDs - The configuration ID(s) of the monitored collection(s).lastReceivedTimestamp - The timestamp of the last retrieved metric, or the timr of the last retrieval attempt.lookbackPeriod - The period to look back for metric values.disableMetrics(com.sonicsw.mf.common.metrics.IMetricIdentity[]),
enableMetrics(com.sonicsw.mf.common.metrics.IMetricIdentity[]),
getActiveMetrics(com.sonicsw.mf.common.metrics.IMetricIdentity[]),
getAggregateMetricsData(java.lang.String, com.sonicsw.mf.common.metrics.IMetricIdentity[], java.lang.Long, java.lang.Long),
getEnabledMetrics(com.sonicsw.mf.common.metrics.IMetricIdentity[]),
getMetricsData(com.sonicsw.mf.common.metrics.IMetricIdentity[], java.lang.Boolean),
getMetricsInfo(),
getMonitoredMetricsInfo(java.lang.String),
resetMetrics()
IMonitoredNotifications getStoredNotifications(java.lang.String[] collectionIDs,
java.lang.Long lastReceivedTimestamp,
java.lang.Long lookbackPeriod)
Returns an instance of IMonitoredNotifications containing copies of the stored notifications for a collection, for the given time window, up to a total size of approximately 1Mb, and a flag to indicate if there are more notifications to be retrieved.
Impact: INFO
collectionIDs - The configuration ID(s) of the monitored collection(s).lastReceivedTimestamp - The timestamp of the last retrieved notification, or the time of the last retrieval attempt.lookbackPeriod - The period to look back for notification values.
INotification[] getThresholdNotificationHistory(java.lang.Long latest,
java.lang.Long earliest)
Gets recorded notifications for the given collection and notification types, between the given dates. Notifications are returned in date order with most recent first.
Impact: INFO
latest - The time of the latest threshold notification to be returned.earliest - The time of the earliest threshold notification to be returned.java.lang.Integer getTraceMask()
setTraceMask(java.lang.Integer),
getTraceMaskValues()java.lang.String getTraceMaskValues()
getTraceMask(),
setTraceMask(java.lang.Integer)java.lang.Long getUptime()
void reload()
Asynchronously reload the component and restart the component if it was previously online.
Impact: ACTION
void removeNotificationListener(NotificationListener listener)
This method will remove all the information related to the given listener.
listener - The listener object which will handle the notifications emitted by the registered MBean.addNotificationListener(javax.management.NotificationListener, javax.management.NotificationFilter, Object)void resetMetrics()
Reset all metrics to their initial state.
Impact: ACTION
disableMetrics(com.sonicsw.mf.common.metrics.IMetricIdentity[]),
enableMetrics(com.sonicsw.mf.common.metrics.IMetricIdentity[]),
getActiveMetrics(com.sonicsw.mf.common.metrics.IMetricIdentity[]),
getAggregateMetricsData(java.lang.String, com.sonicsw.mf.common.metrics.IMetricIdentity[], java.lang.Long, java.lang.Long),
getEnabledMetrics(com.sonicsw.mf.common.metrics.IMetricIdentity[]),
getMetricsData(com.sonicsw.mf.common.metrics.IMetricIdentity[], java.lang.Boolean),
getMetricsInfo(),
getMonitoredMetricsInfo(java.lang.String),
getStoredMetrics(java.lang.String[], java.lang.Long, java.lang.Long)AttributeList setAttributes(AttributeList attributes)
Setting multiple attribute values at once is typically more efficient than setting individual attribute values.
Settable attributes (and their datatypes) exposed by a CollectionsMonitor are:
HistoryDurationHours (java.lang.Integer)
MetricsCollectionInterval (java.lang.Integer)
MetricsRefreshInterval (java.lang.Integer)
RepeatMetricAlerts (java.lang.Boolean)
SaveMonitoredNotifications (java.lang.Boolean)
SaveThresholdNotifications (java.lang.Boolean)
TraceMask (java.lang.Integer)
attributes - A list of attributes: The identification of the attributes to be set and the values they are to be set to.
getAttributes(java.lang.String[])void setHistoryDurationHours(java.lang.Integer value)
value - Duration (hours) for which historical monitoring data will be held.getHistoryDurationHours()void setMetricsCollectionInterval(java.lang.Integer value)
value - Metrics collection interval (in minutes)getMetricsCollectionInterval()void setMetricsRefreshInterval(java.lang.Integer value)
value - Metrics refresh interval (in seconds)getMetricsRefreshInterval()void setRepeatMetricAlerts(java.lang.Boolean value)
value - Repeat metric alert notificationsgetRepeatMetricAlerts()void setSaveMonitoredNotifications(java.lang.Boolean value)
value - Flag indicating if a history of monitored notifications should be maintained.getSaveMonitoredNotifications()void setSaveThresholdNotifications(java.lang.Boolean value)
value - Flag indicating if a history of threshold notifications should be maintained.getSaveThresholdNotifications()void setTraceMask(java.lang.Integer value)
value - Debug bit mask.getTraceMask(),
getTraceMaskValues()void start()
Start providing service.
Impact: ACTION
stop()void stop()
Stop providing service.
Impact: ACTION
start()
|
Sonic Management API | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||