C H A P T E R  4

Netra CT Element Management Agent API

This chapter contains the application programming interfaces (API) of the Netra CT element management agent software and includes the following sections:


Interface Overview

Netra CT management agent uses the Java Dynamic ManagementTM Kit (JDMK) framework as a Java API which provides the management capability for the Netra CT system.

JDMK supports JMX, which is a standard set of APIs for network/client management. JDMK provides an extended API along with different communication protocol adapters such as Remote Method Invocation (RMI), HTTP, HTML, and Simple Network Management Protocol (SNMP).

These protocol adapters are used to communicate with instances of JDMK agents; Netra CT management agent supports SNMP and RMI communication protocols.

You can find an introduction to the JDMK, tutorials, code samples, and APIs on the Java Developers website: http://developer.java.sun.com.

Summary of JDMK

JDMK's API and development tools can help you develop distributed management applications. The JDMK allows resources of one host to be monitored from another host.

A resource can be any entity, physical or virtual, that you wish to monitor through your network. Physical resources include network elements, and virtual resources include applications operating on a host. A resource can be seen through its management interface, where its attributes, operations, and notifications are accessible by a management agent.

In order for a management agent to monitor a resource, the resource must be developed as a managed bean (MBean), which is Java object that represents the resource's management interface. If the resource itself is a Java application, it can be its own MBean. Otherwise, an MBean is a Java representation of a device.

In the JDMK model, a Java Dynamic Management agent follows the client-server model, in which an agent responds to the management requests from any number of client applications that wish to access its resources. The central component of an agent is the MBean server, which is a registry for MBean instances and provides the framework that allows agent services to interact with MBeans.

The JDMK provides protocol connector interfaces that allow remote applications to access agent applications and their resources. Remote method invocation (RMI) and HTTP are two such JDMK supported protocols that enable a Java client application running on one system to access the resources and methods of another Java server application running on a different system.

FIGURE 4-1 displays the location of the RMI/HTTP protocols between an agent application and a remote manager application.

  FIGURE 4-1 Key Components of the Java Dynamic Management Kit

Image displaying RMI's location between an agent application and a remote manager application.

In FIGURE 4-1, a resource and an agent service are registered as MBeans with the agent application's MBean server. The application agent also contains a connector server for the RMI/HTTP protocols. The remote manager application is a Java application running on a distant host system. The manager contains the RMI/HTTP connector client and proxy MBeans representing the resource and service. When the RMI/HTTP connector client establishes the connection with the agent's RMI/HTTP connector server, the other components of the application can issue management requests to the agent.

Typically, you would first determine the management interface of your resource, that is, the information needed to manage it. This information is expressed as attributes and operations. An attribute is a value of any type that a manager can get or set remotely. An operation is a method with any signature and any return type that the manager can invoke remotely.

As specified by the Java Management extensions for instrumentation, all attributes and operations are explicitly listed in an MBean interface. This Java interface defines the full management interface of an MBean. The interface must have the same name as the class that implements it, followed by the MBean suffix. Since the interface and its implementation are usually in different files, two files make up a standard MBean. For example, the management interface of the class SimpleStandard (in the file SimpleStandard.java) is defined in the interface SimpleStandardMBean (in the file SimpleStandardMBean.java).

For a complete discussion of JDMK components and protocols, refer to the Java Dynamic Management Kit documentation set found on the Solaris documentation website, http://docs.sun.com. For additional information of JDMK and the RMI/HTTP protocol, refer to the documentation, tutorials, code samples, and APIs found on the Java Developers website: http://developer.java.sun.com.

Viewing the Netra CT Management Agent API Online

The entire Netra CT RMI API specification can be viewed online as cross-referenced HTML pages. By default, these HTML pages are installed in the following directory:

/opt/SUNWnetract/mgmt2.0/docs/api/com/sun/ctmgx/moh

You can view an index of all of these pages by opening the following link in an web browser:

file:///opt/SUNWnetract/mgmt2.0/docs/api/index.html

You can view additional Java API specification on the java.sun.com webpage at:

http://java.sun.com/apis.html


How the API Sections are Organized

The following sections in this chapter list the classes of the Netra CT RMI application programming interface (API).

Each class, interface, inner class, and inner interface has its own separate section. Each of these sections have three subsections consisting of a class/interface description, summary tables, and detailed member descriptions of the following:

Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.


Netra CT Management Agent Interfaces and Classes

TABLE 4-1 lists the management agent interfaces and TABLE 4-2 lists the management agent classes included in the Netra CT RMI API. In these tables, the term expose refers to the encapsulation of the object's variables inside a nucleus. This encapsulation allows for exposing (allowing access to) or hiding (denying access to) an object's access methods, which provides for greater modularity.

Detailed descriptions of the interfaces begin with Netra CT Management Agent Interface Descriptions and the detailed descriptions of the classes begin with Netra CT Management Agent Class Descriptions.

 

TABLE 4-1 Netra CT Management Agent Interfaces

Interface

Description

Refer to:

AlarmCardPluginMBean

Describes the management interface of the AlarmCardPluginMBean

AlarmCardPluginMBean.

AlarmSeverityProfileMBean

Describes the management interface of the AlarmSeverityProfileMBean.

AlarmSeverityProfileMBean.

CgtpServiceMBean

Describes the management interface of the CgtpServiceMBean.

CgtpServiceMBean.

ContainmentTreeMBean

Describes the management interface of the ContainmentTreeMBean.

ContainmentTreeMBean.

CpiSlotMBean

Describes the management interface of the CPCI Slot objects.

CpciSlotMBean.

CpuCardEquipmentMBean

Describes the management interface for the CPUCardEquipmentMBean.

CpuCardEquipmentMBean.

CpuPluginMBean

Describes the management interface of the CPU board objects as perceived from the alarm card MOH.

CpuPluginMBean.

DaemonMBean

Describes the interface for the DaemonMBean.

DaemonMBean.

EFDMBean

Describes the management interface of the EFDMBean.

EFDMBean.

EquipmentHolderMBean

Describes the management interface of the EquipmentHolderMBean.

EquipmentHolderMBean.

EquipmentMBean

Describes the interface of the EquipmentMBean.

EquipmentMBean.

EtherIfStatsMBean

Describes the management interface of the Ethernet I/O Statistics Monitoring service.

EtherIfStatsMBean.

FullLogMBean

Describes the interface of the FullLogMBean

FullLogMBean.

IpServiceMBean

Describes the interface of the Unix File System (UFS) service.

IpServiceMBean,

LOLMBean

Describes the management interface of the Latest Occurrence Log MBean

LOLMBean.

NEMBean

Describes the management interface of the NEMBean.

NEMBean.

NetworkInterfaceMBean

Describes the management interface for NetworkInterfaceMBean.

NetworkInterfaceMBean.

NfsServiceMBean

Describes the management interface of the Network File System (NFS) Monitor service.

NfsServiceMBean.

NumericSensorMBean

Describes the interface for NumericSensorMBean.

NumericSensorMBean.

PlugInUnitMBean

Describes the management interface of the Plug-inUnitMBean.

PlugInUnitMBean.

RnfsServiceMBean

Describes the interface of the Reliable Network File System (RNFS) Monitor service.

RnfsServiceMBean.

SensorMBean

Describes the interface for the SensorMBean.

SensorMBean.

SlotMBean

Describes the management interface of the SlotMBean.

SlotMBean.

SoftwareMonitorMBean

Describes the interface of the SoftwareMonitorMBean.

SoftwareMonitorMBean.

SoftwareServiceMBean

Describes the interface of SoftwareServiceMBean.

SoftwareServiceMBean.

TcpServiceMBean

Describes the interface of Transmission Control Protocol (TCP) service.

TcpServiceMBean.

TerminationPointMBean

Describes the management interface of the TerminationPoint MBean.

TerminationPointMBean.

UdpServiceMBean

Describes the interface of User Datagram Protocol (UDP) service.

UdpServiceMBean.

UfsServiceMBean

Describes the interface of Unix File System (UFS) service.

UfsServiceMBean.


TABLE 4-2 Netra CT Management Agent Classes

Class

Description

Refer to:

AdministrativeState

Defines the administrative state of the device.

AdministrativeState.

AlarmNotification

The Alarm Notification class represents an alarm notification emitted by an MBean.

AlarmNotification.

AlarmNotificationFilter

This filter allows you to filter AlarmNotification notifications by selecting the types and severities of interest.

AlarmNotificationFilter.

AlarmSeverity

Defines the alarm severity objects for use with Alarm Notification.

AlarmSeverity.

AlarmType

This class is an enumeration of predefined Alarm types, user need to use one of the predefined types to construct an AlarmNotification object.

AlarmType.

AttributeChangeNotification

Provides definitions of the attribute change notifications sent by MBeans.

AttributeChangeNotification.

AttributeChangeNotificationFilter

The filtering is performed on the name of the observed attribute.

AttributeChangeNotificationFilter.

AuthClient

This class defines the client utility routines, particularly for authentication.

AuthClient

AvailabilityStatus

Defines the availability status of the plug-in unit object.

AvailabilityStatus.

EquipmentHolderType

Describes the management interface of the EquipmentHolderType.

EquipmentHolderType.

LogFullAction

Describes the action to perform when the log is full.

LogFullAction

MohNames

Defines the public constants or static variables for MOH user to communicate to the MBean server.

FullLogMBean.

ObjectCreationNotification

Defines the creation notifications sent by MBeans.

ObjectCreationNotification.

ObjectDeletionNotification

Defines the deletion notifications sent by MBeans.

ObjectDeletionNotification.

OperationalState

Defines the operation states of a device (equipment or plug-in).

OperationalState.

SlotStatus

Defines the status of the slot object.

SlotStatus.

StateChangeNotification

Defines the state change notifications sent by MBeans.

StateChangeNotification.

StateChangeNotificationFilter

Describes the filtering performed on the name of the observed attribute.

StateChangeNotificationFilter.


 


Netra CT Management Agent Interface Descriptions

This section contains descriptions of the following RMI interfaces listed in the order in which they appear in the source code:

AlarmCardPluginMBean

Declaration

public interface AlarmCardPluginMBean extends PlugInUnitMBean

Description

This class describes the management interface of the alarm card in a Netra CT system.

All Superinterfaces

PlugInUnitMBean

Method Summary

void

softReset()

Resets the alarm card with a graceful shutdown.


Inherited Member Summary

Methods inherited from interface com.sun.ctmgx.moh.PlugInUnitMBean

getAdministrativeState, getAlarmSeverityProfilePointer, getAvailabilityStatus, getModelNumber, getOperationalState, getPlugInUnitLabel, getPlugInUnitType, getProductName, getSerialNumber, getVendorName, getVersion, setAdministrativeState, setAlarmSeverityProfilePointer


 

Methods

softReset

public void softReset()

Resets the alarm card with a graceful shutdown.

AlarmSeverityProfileMBean

Declaration

public interface AlarmSeverityProfileMBean

Description

This class describes the management interface of the Alarm Severity Profile MBean.

Member Summary

Methods

AlarmSeverity

getAlarmSeverity(AlarmType alarmType)

Gets the alarm severity assignment for a specific type of alarm notification.

java.util.Map

getAlarmSeverityList()

Gets the alarm severity assignment list.

void

setAlarmSeverity(AlarmType alarmType, AlarmSeverity severity)

Sets the alarm severity assignment for a specific type of alarm notification.


Methods

getAlarmSeverity(AlarmType)

public com.sun.ctmgx.moh.AlarmSeverity

getAlarmSeverity(com.sun.ctmgx.moh.AlarmType alarmType)

Gets the alarm severity assignment for a specific type of alarm notification. This attribute identifies one alarm/severity pair.

Returns:

One of the following perceived severity values:

com.sun.ctmgx.moh.AlarmSeverity.CLEARED
com.sun.ctmgx.moh.AlarmSeverity.INDETERMINATE
com.sun.ctmgx.moh.AlarmSeverity.CRITICAL
com.sun.ctmgx.moh.AlarmSeverity.MAJOR
com.sun.ctmgx.moh.AlarmSeverity.MINOR
com.sun.ctmgx.moh.AlarmSeverity.WARNING

getAlarmSeverityList()

public java.util.Map getAlarmSeverityList()

Gets the alarm severity assignment list.

This attribute identifies one or more alarm/severity pairs.

Returns:

The alarm severity assignment list.

setAlarmSeverity(AlarmType, AlarmSeverity)

public void setAlarmSeverity(com.sun.ctmgx.moh.AlarmType alarmType, com.sun.ctmgx.moh.AlarmSeverity severity)

Sets the alarm severity assignment for a specific type of alarm notification.

This attribute identifies one alarm/severity pair.

Parameters:

alarmType - The alarm notification type.

severity - One of the perceived severity values defined as:

com.sun.ctmgx.moh.AlarmSeverity.CLEARED
com.sun.ctmgx.moh.AlarmSeverity.INDETERMINATE
com.sun.ctmgx.moh.AlarmSeverity.CRITICAL
com.sun.ctmgx.moh.AlarmSeverity.MAJOR
com.sun.ctmgx.moh.AlarmSeverity.MINOR
com.sun.ctmgx.moh.AlarmSeverity.WARNING

CgtpServiceMBean

Declaration

public interface CgtpServiceMBean extends SoftwareServiceMBean

Description

This class describes the interface of class CgtpService.

Member Summary

Methods

java.lang.Float

getCurrentFilterThreshold()

Gets the current filtered failure threshold.

java.lang.Float

getFilterMaxThreshold()

Gets the max filtered failure threshold.

java.lang.String[]

getIfList()

Get the list of Ethernet physical interfaces associated with CGTP service.

OperationalState

getIfState(java.lang.String ifState)

Get the operational state of a CGTP physical interface.

void

setFilterMaxThreshold(java.lang.Float threshold)

Sets the max filtered failure threshold.


Inherited Member Summary

Methods inherited from interface SoftwareServiceMBean

getDaemonList(), getName(), getNumExcessiveIntervals(), getPollingInterval(), getStatus(), setNumExcessiveIntervals(Integer), setPollingInterval(Integer), startPolling()


 

Methods

getCurrentFilterThreshold()

public java.lang.Float getCurrentFilterThreshold()

Gets the current filtered failure threshold.

Returns:

The threshold in percentage of the filtered failure packets over the total received packets.

getFilterMaxThreshold()

public java.lang.Float getFilterMaxThreshold()

Gets the max filtered failure threshold.

Returns:

The threshold in percentage of the filtered failure packets over the total received packets.

getIfList()

public java.lang.String[] getIfList()

Get the list of Ethernet physical interfaces associated with CGTP service.

Returns:

A string array of interface names.

getIfState

public OperationalState getIfState(java.lang.String ifState)

Get the operational state of a CGTP physical interface.

Parameters:

The CGTP physical interface.

Returns:

OperationalState.ENABLED, or OperationalState.DISABLED, or OperationalState.UNKNOWN.

setFilterMaxThreshold(Float)

public void setFilterMaxThreshold(java.lang.Float threshold)

Sets the max filtered failure threshold.

Parameters:

threshold -- threshold to set.

ContainmentTreeMBean

Declaration

public interface ContainmentTreeMBean

Description

This class describes the management interface of the Containment Tree MBean.

Member Summary

Fields

static java.lang.String

CT_FILTER_EQUIPMENT

Gets the Equipment object(s) only during topology discovery.

static java.lang.String

CT_FILTER_HOLDER

Gets the Holder object(s) only during topology discovery.

static java.lang.String

CT_FILTER_NE

Gets the NE object(s) only during topology discovery.

static java.lang.String

CT_FILTER_NETWORK_INTERFACE

Gets the Network Interface object(s) only during topology

static java.lang.String

CT_FILTER_PLUGIN_UNIT

Gets the Plug-in object(s) only during topology discovery.

static java.lang.String

CT_FILTER_TERMINATION_POINT

Gets the Termination Point object(s) only during topology discovery.

Methods

java.util.Set

getAncestors(javax.management.ObjectName node)

Gets the ancestors of the specified MBean in the containment hierarchy.

java.util.Set

getAncestors(javax.management.ObjectName node, java.lang.String filter)

Gets the ancestors of the specified MBean in the containment hierarchy that match the given filter type.

java.util.Set

getChildren(javax.management.ObjectName node)

Gets the children of the specified MBean in the containment hierarchy.

java.util.Set

getChildren(javax.management.ObjectName node, java.lang.String filter)

Gets the children of the specified MBean in the containment hierarchy that match the given type.

java.util.Set

getDescendants(javax.management.ObjectName node)

Gets the descendants of the specified MBean in the containment hierarchy.

java.util.Set

getDescendants(javax.management.ObjectName node, java.lang.String filter)

Gets the descendants of the specified MBean in the containment hierarchy that match the given type.

javax.management.ObjectName

getParent(javax.management.ObjectName node)

Gets the parent of the specified MBean in the containment hierarchy.

javax.management.ObjectName

getParent(javax.management.ObjectName node, java.lang.String filter)

Gets the parent of the specified MBean in the containment hierarchy, if it matches the given type.

javax.management.ObjectName

getRoot()

Gets the object name of the root MBean in the containment hierarchy.


Fields

CT_FILTER_EQUIPMENT

public static final java.lang.String CT_FILTER_EQUIPMENT

This attribute gets the Equipment object(s) only during topology discovery.

 

CT_FILTER_HOLDER

public static final java.lang.String CT_FILTER_HOLDER

This attribute gets the Holder object(s) only during topology discovery.

CT_FILTER_NE

public static final java.lang.String CT_FILTER_NE

This attribute gets the NE object(s) only during topology discovery.

CT_FILTER_NETWORK_INTERFACE

public static final java.lang.String CT_FILTER_NETWORK_INTERFACE

This attribute is used to get the Network Interface object(s) only during topology discovery.

CT_FILTER_PLUGIN_UNIT

public static final java.lang.String CT_FILTER_PLUGIN_UNIT

This attribute gets the Plugin object(s) only during topology discovery.

CT_FILTER_TERMINATION_POINT

public static final java.lang.String CT_FILTER_TERMINATION_POINT

This attribute gets the Termination Point object(s) only during topology discovery.

Methods

getAncestors(ObjectName)

public java.util.Set getAncestors(javax.management.ObjectName node)

Gets the ancestors of the specified MBean in the containment hierarchy.

Parameters:

node - The ObjectName of the MBean where the search should start from.

Returns:

A set containing the ObjectName objects for the ancestors MBeans. If the specified MBean has no ancestors an empty list is returned.

getAncestors(ObjectName, String)

public java.util.Set getAncestors(javax.management.ObjectName node, java.lang.String filter)

Gets the ancestors of the specified MBean in the containment hierarchy that match the given filter type.

Parameters:

node - The ObjectName of the MBean where the search should start from.

filter - The filter constant used for filtering the retrieved MBeans.

Returns:

A set containing the ObjectName objects for the ancestors MBeans. If the specified MBean has no ancestors or if the ancestors do not match the given type an empty list is returned.

getChildren(ObjectName)

public java.util.Set getChildren(javax.management.ObjectName node)

Gets the children of the specified MBean in the containment hierarchy.

Parameters:

node - The ObjectName of the MBean where the search should start from.

Returns:

A set containing the ObjectName objects for the children MBeans. If the specified MBean has no children, an empty list is returned.

getChildren(ObjectName, String)

public java.util.Set getChildren(javax.management.ObjectName node, java.lang.String filter)

Gets the children of the specified MBean in the containment hierarchy that match the given filter type.

Parameters:

node - The ObjectName of the MBean where the search should start from.

filter - The filter constant used for filtering the retrieved MBeans.

Returns:

A set containing the ObjectName objects for the children MBeans. If the specified MBean has no children, or if the children do not match the given type, an empty list is returned.

getDescendants(ObjectName)

public java.util.Set getDescendants(javax.management.ObjectName node)

Gets the descendants of the specified MBean in the containment hierarchy.

Parameters:

node - The ObjectName of the MBean where the search should start from.

Returns:

A set containing the ObjectName objects for the descendants MBeans. If the specified MBean has no descendants an empty list is returned.

getDescendants(ObjectName, String)

public java.util.Set getDescendants(javax.management.ObjectName node, java.lang.String filter)

Gets the descendants of the specified MBean in the containment hierarchy that match the given type.

Parameters:

node - The ObjectName of the MBean where the search should start from.

filter - The filter constant used for filtering the retrieved MBeans.

Returns:

A set containing the ObjectName objects for the descendants MBeans. If the specified MBean has no descendants or if the descendants do not match the given type an empty list is returned.

getParent(ObjectName)

public javax.management.ObjectName getParent(javax.management.ObjectName node)

Gets the parent of the specified MBean in the containment hierarchy.

Parameters:

node - The ObjectName of the MBean where the search should start from.

Returns:

The ObjectName object for the parent MBean. If the specified MBean has no parent a null value is returned.

getParent(ObjectName, String)

public javax.management.ObjectName getParent(javax.management.ObjectName node, java.lang.String filter)

Gets the parent of the specified MBean in the containment hierarchy, if it matches the given type.

Parameters:

node - The ObjectName of the MBean where the search should start from.

filter - The filter constant used for filtering the retrieved MBeans.

Returns:

The ObjectName object for the parent MBean. If the specified MBean has no parent or if its parent does not match the given type, a null value is returned.

getRoot()

public javax.management.ObjectName getRoot()

Gets the object name of the root MBean in the containment hierarchy.

Returns:

The ObjectName object for the root MBean. This is the object name of the instance of NEMBean.

CpciSlotMBean

Declaration

public interface CpciSlotMBean extends SlotMBean

Description

This class describes the management interface of the CPCI Slot objects.

All Superinterfaces

EquipmentHolderMBean, SlotMbean

Member Summary

Fields

static Boolean

OFF

Powered off state

static Boolean

ON

Powered on state

Methods

Boolean

getPowerState()

Gets slot power state PowerState can be either ON or OFF.

void

hardReset()

Executes a hard reset the board in this slot.

void

setPowerState(Boolean powerState)

Sets the slot's PowerState.


Inherited Member Summary

Methods inherited from interface com.sun.ctmgx.moh.SlotMBean

getAcceptablePlugInUnitTypes, getSlotStatus, getSlotType, getSoftwareLoad, setAcceptablePlugInUnitTypes, setSoftwareLoad

Methods inherited from interface com.sun.ctmgx.moh.EquipmentHolderMBean

getEquipmentHolderAddress, getEquipmentHolderLabel, getEquipmentHolderType


 

Fields

OFF

public static final Boolean OFF

Powered off state

ON

public static final Boolean ON

Powered on state

Methods

getPowerState()

public Boolean getPowerState()

Gets the slot's power state. The PowerState can be either ON or OFF. This state shows whether the board in this CPCI slot is powered on or not.

Returns:

The PowerState value which can be one of:

com.sun.ctmgx.moh.CpciSlotMBean.ON
com.sun.ctmgx.moh.CpciSlotMBean.OFF

setPowerState(boolean powerState)

public void setPowerState(Boolean powerState)

Sets the slot's PowerState.

Parameters:

powerState is one of:

com.sun.ctmgx.moh.CpciSlotMBean.ON
com.sun.ctmgx.moh.CpciSlotMBean.OFF

hardReset()

public void hardReset()

hardReset(com.sun.ctmgx.moh.CpciSlotMBean)

Hard resets the board in this slot.

CpuCardEquipmentMBean

Declaration

public interface CpuCardEquipmentMBean extends EquipmentMBean.

All Superinterfaces

EquipmentMBean

Description

This class describes the management interface for CPU Card Equipment MBean.

CpuCardEquipmentMBean Memory Monitor Feature:

The purpose of this feature is to monitor memory usage on this CPU. There are three memory usage thresholds which are settable by user: Minor memory usage threshold, Major memory usage threshold and Critical threshold.

Minor and Major memory usage thresholds are represented in percentage of memory usage over total physical memory. Critical threshold is based on number of memory pages paged out per second.

The defaults are: Minor threshold 94%, Major threshold 97%, and Critical threshold, 1 page paged out per second.

An alarm will occur when physical memory utilization exceeds one of the specified thresholds. If the memory utilization/paging decreases below a specified threshold for a specified time interval, the alarm will clear. void

Member Summary

Methods

java.lang.Integer

getClearAlarmTimeOut()

Gets time required for a memory alarm to clear.

java.lang.Integer

getThreshCriticalMemoryUsed()

Provides the critical threshold of memory utilization in number of page-outs per second, the default value is 1 page per second.

java.lang.Integer

getThreshMajorMemoryUsed()

Provides the major threshold of memory utilization in percentage value, the default value is 97%.

java.lang.Integer

getThreshMinorMemoryUsed()

Provides the minor threshold of memory utilization in percentage value, the default value is 94%.

void

setClearAlarmTimeOut(java.lang.Integer timeOutPeriod)

Sets time required for a memory alarm to clear.

void

setThreshCriticalMemoryUsed(java.lang.Integer pagesPerSec)

Sets the critical threshold of memory utilization in terms of number of page-outs per second.

void

setThreshMajorMemoryUsed(java.lang.Integer pctUsed)

Gets the major threshold of memory utilization in percentage value.

void

setThreshMinorMemoryUsed(java.lang.Integer pctUsed)

Sets the minor threshold of memory utilization in percentage value.

void

softReset()

This resets the CPU


Inherited Member Summary

Methods inherited from interface EquipmentMBean

getAdministrativeState(), getAlarmSeverityProfilePointer(), getEquipmentType(), getLocationName(), getModelNumber, getOperationalState(), getProductName, getSerialNumber, getUserLabel(), getVendorName(), getVersion(), setAdministrativeState(AdministrativeState), setAlarmSeverityProfilePointer(ObjectName), setLocationName(String), setUserLabel(String)


Methods

getClearAlarmTimeOut()

public java.lang.Integer getClearAlarmTimeOut()

Gets time required for a memory alarm to clear.

Returns:

Time in seconds.

getThreshCriticalMemoryUsed()

public java.lang.Integer getThreshCriticalMemoryUsed()

Provides the critical threshold of memory utilization in number of page-outs per second. The default value is 1 page per second.

Returns:

The threshold in number of page-outs per second.

getThreshMajorMemoryUsed()

public java.lang.Integer getThreshMajorMemoryUsed()

Provides the major threshold of memory utilization in percentage value. The default value is 97%.

Returns:

Major threshold in percentage.

getThreshMinorMemoryUsed()

public java.lang.Integer getThreshMinorMemoryUsed()

Sets the minor threshold of memory utilization in percentage value.

Parameters:

pctUsed - value in percentage to set

setClearAlarmTimeOut(Integer)

public void setClearAlarmTimeOut(java.lang.Integer timeOutPeriod)

Set time required for a memory alarm to clear.

Parameters:

timeOutPeriod - value in seconds.

setThreshCriticalMemoryUsed(Integer)

public void setThreshCriticalMemoryUsed(java.lang.Integer pagesPerSec)

Sets the critical threshold of memory utilization in terms of number of page-outs per second.

Parameters:

pagesPerSec - value in page-outs per second to set.

setThreshMajorMemoryUsed(Integer)

public void setThreshMajorMemoryUsed(java.lang.Integer pctUsed)

setThreshMinorMemoryUsed(Integer)

public void setThreshMinorMemoryUsed(java.lang.Integer pctUsed)

This lets the user get the major threshold of memory utilization in percentage value.

Parameters:

pctUsed - value in percentage to set.

softReset()

public void softReset()

This resets the CPU

CpuPluginMBean

Declaration

public interface CpuPluginMBean extends PlugInUnitMBean

All Superinterfaces

PlugInUnitMBean

Description

This class describes the management interface of the CPU board objects as perceived from the alarm card MOH.

Member Summary

Methods

void

softReset()

This lets user to reset this CPU board with a graceful shutdown of the operating system running on it.


Inherited Member Summary

Methods inherited from interface PlugInUnitMBean

getAdministrativeState, getAlarmSeverityProfilePointer, getAvailabilityStatus, getModelNumber, getOperationalState, getPlugInUnitLabel, getPlugInUnitType, getProductName, getSerialNumber, getVendorName, getVersion, setAdministrativeState, setAlarmSeverityProfilePointer


 

Methods

softReset()

public void softReset()

Resets this CPU board with a graceful shutdown of the operating system.

DaemonMBean

Declaration

public interface DaemonMBean

This class describes the interface for DaemonMBean.

Member Summary

Methods

java.lang.Integer

getCurrentRetryCount()

Gets the current number of retries to recover the daemon.

java.lang.Integer

getMaxRetryCount()

Gets the maximum number of retries to recover the daemon

java.lang.String

getName()

Gets the name of the daemon.

java.lang.String

getState()

Gets the state of the daemon.

void

setMaxRetryCount(java.lang.Integer maxRetries)

Set the maximum recovery retry count for a daemon.


Methods

getCurrentRetryCount()

public java.lang.Integer getCurrentRetryCount()

Gets the current number of retries to recover the daemon.

Returns:

Number of times the system has tried to recover the daemon.

getMaxRetryCount()

public java.lang.Integer getMaxRetryCount()

Gets the maximum number of retries to recover the daemon.

Returns:

Maximum number of times the system will try to recover the daemon.

getName()

public java.lang.String getName()

Gets the name of the daemon.

Returns:

String indicating name of the daemon. For example, on Solaris, Platform Management Service daemon name is picld, NFS service is nfsd.

getState()

public java.lang.String getState()

Gets the state of the daemon.

This attribute identifies the state of the daemon.

Returns:

The daemon states values defined as string("running") if the daemon is running, or string("configured") if the daemon is not running and is installed, or string("unconfigured"), if the daemon is not running and is not installed.

setMaxRetryCount(Integer)

public void setMaxRetryCount(java.lang.Integer maxRetries)

Set the maximum recovery retry count for a daemon.

Indicates how many times the system will try to recover the daemon.

Parameters:

maxRetries - The number of retries.

EFDMBean

Declaration

public interface EFDMBean

Description

This class describes the management interface of the EFD MBean.

EquipmentHolderMBean

Declaration

public interface EquipmentHolderMBean

All Known Subinterfaces

CpciSlotMBean,SlotMBean

Description

This class describes the management interface of the EquipmentHolderMBean

Member Summary

Methods

java.lang.String

getEquipmentHolderAddress()

Gets the equipment holder address.

java.lang.String

getEquipmentHolderLabel()

Gets the equipment holder label.

EquipmentHolderType

getEquipmentHolderType()

Gets the equipment holder type.


Methods

getEquipmentHolderAddress()

public java.lang.String getEquipmentHolderAddress()

Gets the equipment holder address.

This attribute identifies the physical location of the resource represented by the Equipment Holder instance.

Returns:

The equipment holder address.

getEquipmentHolderLabel()

public java.lang.String getEquipmentHolderLabel()

Gets the equipment holder label.

This attribute identifies the external label string for this equipment holder.

Returns:

The equipment holder's external label string, if none, a null string("") is returned.

getEquipmentHolderType()

public com.sun.ctmgx.moh.EquipmentHolderType getEquipmentHolderType()

Gets the equipment holder type.

Indicates whether the Equipment Holder instance is being used to represent a rack, shelf, drawer, or slot.

Returns:

The equipment holder type defined as:

com.sun.ctmgx.moh.EquipmentHolderType.RACK
com.sun.ctmgx.moh.EquipmentHolderType.SHELF
com.sun.ctmgx.moh.EquipmentHolderType.DRAWER
com.sun.ctmgx.moh.EquipmentHolderType.SLOT

EquipmentMBean

Declaration

public interface EquipmentMBean

All Known Subinterfaces:

CpuCardEquipmentMBean, NumericSensorMBean, SensorMBean

Description

This class describes the interface of the Equipment MBean.

Member Summary

Methods

AdministrativeState

getAdministrativeState()

Gets the administrative state.

javax.management.ObjectName

getAlarmSeverityProfilePointer()

Gets the ObjectName of the AlarmSeverityProfile associated with this MBean.

java.lang.String

getEquipmentType()

Gets the equipment type.

java.lang.String

getLocationName()

Get the location name.

java.lang.String

getModelNumber()

Get the part number.

OperationalState

getOperationalState()

Get the operational state.

java.lang.String

getProductName()
Get the product name.

java.lang.String

getSerialNumber()
Get the serial number.

java.lang.String

getUserLabel()

Get the user label.

java.lang.String

getVendorName()

Get the vendor name.

java.lang.String

getVersion()

Gets the version.

void

setAdministrativeState(AdministrativeState admin_state)

Sets the administrative state.

void

setAlarmSeverityProfilePointer(javax.management.ObjectName asp)

Sets the ObjectName of the AlarmSeverityProfile associated with this MBean.

void

setLocationName(java.lang.String location_name)

Sets the location name.

void

setUserLabel(java.lang.String user_label)

Sets the user label.


Methods

getAdministrativeState()

public com.sun.ctmgx.moh.AdministrativeState getAdministrativeState()

Gets the administrative state.

This attribute is used to activate (unlocked) and deactivate (locked) the function performed by the Equipment.

Returns:

The administrative state value defined as either:

com.sun.ctmgx.moh.AdministrativeState.LOCKED
com.sun.ctmgx.moh.AdministrativeState.UNLOCKED

getAlarmSeverityProfilePointer()

public javax.management.ObjectName getAlarmSeverityProfilePointer()

Gets the ObjectName of the AlarmSeverityProfile associated with this MBean.

This attribute provides a pointer to the instance of the Alarm Severity Assignment Profile MBean that contains the severity assignments for the alarms reported by this MBean. When the value of this attribute is set to null, default severity assignments is used.

Returns:

The ObjectName of the AlarmSeverityProfile MBean.

getEquipmentType()

public java.lang.String getEquipmentType()

Get the equipment type String.

This attribute identifies the type of the equipment.

Returns:

The equipment type of the EquipmentMBean instance.

getLocationName()

public java.lang.String getLocationName()

Get the location name.

This attribute identifies the specific or general location of the Equipment.

Returns:

The specific or general location of the Equipment.

getOperationalState()

public com.sun.ctmgx.moh.OperationalState getOperationalState()

Gets the operational state.

This attribute identifies whether or not the Equipment is capable of performing its normal functions, that is, enabled or disabled.

Returns:

One of the following operational state values:

com.sun.ctmgx.moh.OperationalState.ENABLED
com.sun.ctmgx.moh.OperationalState.DISABLED
com.sun.ctmgx.moh.OperationalState.UNKNOWN

getUserLabel()

public java.lang.String getUserLabel()

Gets the user label.

This attribute gets a user-friendly name to the associated Equipment.

Returns:

The user label of the Equipment.

getVendorName()

public java.lang.String getVendorName()

Gets the vendor name.

This attribute identifies the vendor of the Equipment.

Returns:

The vendor of the Equipment.

getVersion()

public java.lang.String getVersion()

Gets version.

This attribute identifies the version of the Equipment.

Returns:

The version of the Equipment.

setAdministrativeState(AdministrativeState)

public void setAdministrativeState(com.sun.ctmgx.moh.AdministrativeState admin_state)

Sets the administrative state.

This attribute is used to activate (unlocked) and deactivate (locked) the function performed by the Equipment.

Parameters:

admin_state - The administrative state value defined as either:

com.sun.ctmgx.moh.AdministrativeState.LOCKED
com.sun.ctmgx.moh.AdministrativeState.UNLOCKED

setAlarmSeverityProfilePointer(ObjectName)

public void setAlarmSeverityProfilePointer(javax.management.ObjectName asp)

Sets the ObjectName of the AlarmSeverityProfile associated with this MBean.

This attribute provides a pointer to the instance of the Alarm Severity Assignment Profile MBean that contains the severity assignments for the alarms reported by this MBean. When the value of this attribute is set to null, default severity assignments shall be used.

Parameters:

asp - The ObjectName of the AlarmSeverityProfile MBean.

setLocationName(String)

public void setLocationName(java.lang.String location_name)

Sets the location name.

This attribute identifies the specific or general location of the Equipment.

Parameters:

location_name - The location name.

setUserLabel(String)

public void setUserLabel(java.lang.String user_label)

Sets the user label.

This attribute is used to assign a user friendly name to the associated Equipment.

Parameters:

user_label - The user label of the Equipment.

EtherIfStatsMBean

Declaration

public interface EtherIfStatsMBean extends SoftwareServiceMBean

All Superinterfaces

SoftwareServiceMBean

Description

This class describes the management interface of Ethernet I/O Statistics Monitoring service.

 

Member Summary

Methods

java.lang.Float

getMaxThreshhold()

Gets the threshold in percentage of receive-transmit errors.

java.lang.String[]

getRxExcessiveThreshholdIfList()

Gets the list of Ethernet interfaces exceeding the receive error threshold.

java.lang.String[]

getTxExcessiveThreshholdIfList()

Gets the list of Ethernet interfaces exceeding the transmit error threshold.

void

setMaxThreshhold(java.lang.Float threshhold)

Sets the threshold in percentage of receive-transmit errors.


Inherited Member Summary

Methods inherited from interface SoftwareServiceMBean

getDaemonList(), getName(), getNumExcessiveIntervals(), getPollingInterval(), getStatus(), setNumExcessiveIntervals(Integer), setPollingInterval(Integer), startPolling(), stopPolling()


Methods

getMaxThreshhold()

public java.lang.Float getMaxThreshhold()

Gets the threshold in percentage of receive-transmit errors.

This attribute identifies the receive and transmit error threshhold.

Returns:

Percentage value in Float format.

getRxExcessiveThreshholdIfList()

public java.lang.String[] getRxExcessiveThreshholdIfList()

Gets the list of Ethernet interfaces exceeding the receive error threshold

Returns:

The list of Ethernet interfaces OR null if there is none.

getTxExcessiveThreshholdIfList()

public java.lang.String[] getTxExcessiveThreshholdIfList()

Gets the list of Ethernet interfaces exceeding the transmit error threshold.

Returns:

The list of Ethernet interfaces OR null if there is none.

setMaxThreshhold(Float)

public void setMaxThreshhold(java.lang.Float threshhold)

Sets the threshold in percentage of receive-transmit errors.

This attribute identifies the receive and transmit error threshhold.

Parameters:

threshold -- The percentage to set.

FullLogMBean

Declaration

public interface FullLogMBean

Description

This class describes the management interface of FullLog MBean. This MBean is used to group multiple instances of the Notification classes to form a log of Notifications.

Instances of this MBean are created automatically by the NE upon initialization. Creation and deletion of instances of this MBean from the management system are not allowed.

Upon initialization of the MOH agent, there will be just one instance of FullLog which is initialized with a default filter, all notifications from MOH agent will be logged. The Object name for this instance is defined by MohNames.OBJECT_NAME_FULL_LOG.

Notifications emitted by this MBean:

This notification is used to report the creation of an instance of this MBean.

This notification is used to report the deletion of an instance of this MBean.

This notification is used to report changes to the LogFullAction attribute of this MBean. The notification identifies the attribute that changed, its old value, and its new value.

This notification is used to report changes to the OperationalState attribute and AdministrativeState attribute of this MBean. The notification identifies the state attribute that changed, its old value, and its new value.

Member Summary

Methods

void

deleteAllRecords()

Deletes all records logged in the Log till now.

void

deleteRecords(int noOfRecords, int startIndex)

Deletes records from the Log starting from a specified starting index.

AdministrativeState

getAdministrativeState()

Get the administrative state.

java.util.Vector

getAllRecords()

Get all the records logged.

int

getCapacity()

Get the capacity or the maximum value of the number of records which can be logged.

javax.management.NotificationFilter

getFilter()

Get the filter which is used to filter the Notifications to be logged.

LogFullAction

getLogFullAction()

Get the log full action.

java.util.Vector

getLogRecordTypes()

Get a vector of Notification types being logged.

OperationalState

getOperationalState()

Get the operational state.

java.util.Vector

getRecords(int noOfRecords, int startIndex)

Get the records from a starting index.

int

getSize()

Get the total number of records logged.

void

setAdministrativeState(AdministrativeState admin_state)

Set the administrative state.

void

setFilter(javax.management.NotificationFilter logFilter)

Set the filter, which will be used to filter the Notifications to be logged.

void

setLogFullAction(LogFullAction logFullAction)

Set the log full action.


Methods

deleteAllRecords()

public void deleteAllRecords()

Deletes all records logged in the Log up to this point.

deleteRecords(int, int)

public void deleteRecords(int noOfRecords, int startIndex) throws java.lang.ArrayIndexOutOfBoundsException

Deletes records from the Log starting from a specified starting index.

Parameters:

noOfRecords - The total number of records to be deleted.

startIndex - The index in the log starting from which the records will be deleted.

Throws:

Throws - ArrayIndexOutOfBoundsException if startIndex points beyond 0..size-1.

getAdministrativeState()

public com.sun.ctmgx.moh.AdministrativeState getAdministrativeState()

Gets the administrative state.

This attribute is used to activate (unlocked) and deactivate (locked) the function performed by the Log.

Returns:

The administrative state value defined as one of the following:

com.sun.ctmgx.moh.AdministrativeState.LOCKED com.sun.ctmgx.moh.AdministrativeState.UNLOCKED

 
getAllRecords()

public java.util.Vector getAllRecords()

Gets all the records logged

Returns:

A vector containing all the records logged up to this point.

getCapacity()

public int getCapacity()

Gets the capacity or the maximum value of the number of records that can be logged.

Returns:

The capacity of the log.

getFilter()

public javax.management.NotificationFilter getFilter()

Gets the filter which is used to filter the Notifications to be logged.

Returns:

The NotificationFilter object.

getLogFullAction()

public com.sun.ctmgx.moh.LogFullAction getLogFullAction()

Gets the log full action.

This attribute is used to identify the action the NE takes when the log space is full. The valid values for this attribute are wrap around and halt. The default value is wrap around.

Returns:

The log full action value defined as one of the following: com.sun.ctmgx.moh.LogFullAction.WRAP com.sun.ctmgx.moh.LogFullAction.HALT

getLogRecordTypes()

public java.util.Vector getLogRecordTypes()

Gets a vector of Notification types being logged.

This attribute identifies the types of log records grouped by this log-managed entity.

Returns:

A vector object containing the types as String defined as com.sun.ctmgx.moh.AlarmNotification.FAN_FAILURE, com.sun.ctmgx.moh.AlarmNotification.FUSE_FAILURE, com.sun.ctmgx.moh.AlarmNotification.HIGH_TEMPERATURE, and so on.

getOperationalState()

public com.sun.ctmgx.moh.OperationalState getOperationalState()

Gets the operational state.

This attribute identifies whether or not the Log is capable of performing its normal functions, that is, enabled or disabled.

Returns:

The operational state value defined as one of the following:

com.sun.ctmgx.moh.OperationalState.ENABLED
com.sun.ctmgx.moh.OperationalState.DISABLED
com.sun.ctmgx.moh.OperationalState.UNKNOWN

getRecords(int, int)

public java.util.Vector getRecords(int noOfRecords, int startIndex)
throws java.lang.ArrayIndexOutOfBoundsException

Gets the records from a starting index

Parameters:

noOfRecords - The total number of records to be retrieved.

startIndex - Index in the log starting from which the records will be retrieved.

Returns:

A vector containing noOfRecords number of records.

Throws:

Throws - ArrayIndexOutOfBoundsException if startIndex points beyond 0..size-1.

getSize()

public int getSize()

Gets the total number of records logged.

Returns:

The size of the log.

setAdministrativeState(AdministrativeState)

public void setAdministrativeState(com.sun.ctmgx.moh.AdministrativeState admin_state)

Sets the administrative state.

This attribute activates (unlocks) and deactivates (locks) the function performed by the Log.

Parameters:

admin_state - The administrative state value defined as one of the following:

com.sun.ctmgx.moh.AdministrativeState.LOCKED com.sun.ctmgx.moh.AdministrativeState.UNLOCKED

setFilter(NotificationFilter)

public void setFilter(javax.management.NotificationFilter logFilter)

Sets the filter, for the Notifications to be logged.

Parameters:

logFilter - An object of type NotificationFilter. This can be object of one of the following:

com.sun.ctmgx.moh.AlarmNotificationFilter
com.sun.ctmgx.moh.AttributeChangeNotificationFilter
com.sun.ctmgx.moh.StateChangeNotificationFilter
javax.management.NotificationFilterSupport

setLogFullAction(LogFullAction)

public void setLogFullAction(com.sun.ctmgx.moh.LogFullAction logFullAction)

Sets the log full action.

This attribute is used to identify the action the NE takes when the log space is full. The valid values for this attribute are wrap around and halt. The default value is wrap.

Parameters:

logFullAction - the log full action value defined as one of the following:

com.sun.ctmgx.moh.LogFullAction.WRAP
com.sun.ctmgx.moh.LogFullAction.HALT

IpServiceMBean

Declaration

public interface IpServiceMBean extends SoftwareServiceMBean

All Superinterfaces

SoftwareServiceMBean

Description

This class describes the interface of Unix File System (UFS) service.

Member Summary

Methods

java.lang.Float

getCurrentInAddrErrorThreshold()

Gets the current threshold of input datagrams discarded due to invalid IP address in their IP header's destination field.

java.lang.Float

getCurrentInHdrErrorThreshold()

Gets the current threshold of input datagrams discarded due to errors in their IP headers.

java.lang.Float

getMaxInAddrErrorThreshold()

Gets the maximum threshold of input datagrams discarded due to an invalid IP address in IP header destination field.

java.lang.Float

getMaxInHdrErrorThreshold()

Gets the maximum threshold of input datagrams discarded due to an error in the IP header.

void

setMaxInAddrErrorThreshold(java.lang.Float newThreshold)

Sets the maximum threshold of input datagrams discarded due to an invalid IP address in IP header.

void

setMaxInHdrErrorThreshold(java.lang.Float newThreshold)

Sets the maximum threshold of input datagrams discarded due to errors in their IP headers.


Inherited Member Summary

Methods inherited from interface SoftwareServiceMBean

getDaemonList(), getName(), getNumExcessIntervals(), getPollingInterval(),getStatus(), setNumExcessiveIntervals(Integer), setPollingInterval(Integer), startPolling(), stopPolling()


 

Methods

getCurrentInAddrErrorThreshold()

public java.lang.Float getCurrentInAddrErrorThreshold()

Gets the current threshold of input datagrams discarded due to an invalid IP address in their IP header's destination field.

Returns:

The threshold in percentage of number of errors over the total receiving datagrams.

getCurrentInHdrErrorThreshold()

public java.lang.Float getCurrentInHdrErrorThreshold()

Gets the current threshold of input datagrams discarded due to errors in their IP headers.

Returns:

The threshold in percentage of number of errors over the total receiving datagrams.

getMaxInAddrErrorThreshold()

public java.lang.Float getMaxInAddrErrorThreshold()

Gets the maximum threshold of input datagrams discarded due to invalid IP address in IP header destination field.

Returns:

The maximum threshold in percentage of number of errors over the total receiving datagrams.

getMaxInHdrErrorThreshold()

public java.lang.Float getMaxInHdrErrorThreshold()

Gets the maximum threshold of input datagrams discarded due to an error in the IP header.

Returns:

The maximum threshold in percentage of number of errors over the total receiving datagrams.

setMaxInAddrErrorThreshold(Float)

public void setMaxInAddrErrorThreshold(java.lang.Float newThreshold)

Sets the maximum threshold of input datagrams discarded due to invalid IP address in IP header.

Parameters:

newThreshold - maximum threshold to set.

setMaxInHdrErrorThreshold(Float)

public void setMaxInHdrErrorThreshold(java.lang.Float newThreshold)

Sets the maximum threshold of input datagrams discarded due to errors in their IP headers.

Parameters:

newThreshold - maximum threshold to set.

LOLMBean

Declaration

public interface LOLMBean

Description

This class describes the management interface for Latest Occurrence Log MBean.

This MBean groups multiple instances of the Notification classes to form a latest occurrence log (LOL) of Notifications.

If no other log Notification/record contained in LOL has values of the attributes identified by the 'key attribute list' attribute equal to the attribute values of the log record to be added, the log record is added as a new entry to LOL. If a log record contained in the LOL has values of the attributes identified by the 'key attribute list' attribute equal to the attribute values of the log record to be added, the older existing log record contained in the LOL is replaced by the new log record.

Instances of this MBean are created automatically by the NE upon initialization.

Creation and deletion of instances of this MBean from the management system are not allowed.

Upon initialization of the MOH agent there are two instances of this class. One instance is initialized with an AlarmNotificationFilter with all severities enabled and 'Type' and 'PerceivedSeverity' being set as the Key attributes. The AdministrativeState is also activated. The object name for this instance is defined by NetraCtDefs.OBJECT_NAME_LOL_ALARM.

And the other instance is just initialized with a default filter for netract.moh The object name for this instance is defined by NetraCtDefs.OBJECT_NAME_LOL_ALL.

Notifications emitted by this MBean:

This notification is used to report the creation of an instance of this MBean.

This notification is used to report the deletion of an instance of this MBean.

This notification is used to report changes to the LogFullAction attribute of this MBean. The notification identifies the attribute that changed, its old value, and its new value.

This notification is used to report changes to the OperationalState attribute and AdministrativeState attribute of this MBean. The notification identifies the state attribute that changed, its old value, and its new value.

Method Summary

void

addAttribute(java.lang.String attribute)

Adds the attribute into the key attribute list.

void

deleteAllRecords()

Deletes all records logged in the log till now.

void

deleteRecords(int noOfRecords, int startIndex)

Deletes records from the Log starting from a specified starting index.

AdministrativeState

getAdministrativeState()

Gets the administrative state.

java.util.Vector

getAllRecords()

Gets all logged records.

int

getCapacity()

Gets the capacity or the maximum value of the number of records that can be logged.

javax.management.NotificationFilter

getFilter()

Gets the filter used to filter the Notifications to be logged.

java.util.Set

getKeyAttributeList()

Gets the key attribute list as an object of Set.

LogFullAction

getLogFullAction()

Gets the log full action.

java.util.Vector

getLogRecordTypes()

Gets a set of Notification types being logged.

OperationalState

getOperationalState()

Gets the operational state.

java.util.Vector

getRecords(int noOfRecords, int startIndex)

Gets the records from a starting index.

int

getSize()

Gets the total number of records logged.

void

removeAttribute(java.lang.String attribute)

Removes the attribute.

void

setAdministrativeState(AdministrativeState admin_state)

Sets the administrative state.

void

setCapacity(int capacity)

Sets the capacity.

void

setFilter(javax.management.NotificationFilter logFilter)

Sets the filter, which will be used to filter the Notifications to be logged.

void

setKeyAttributeList(java.util.Set list)

Sets the key attribute list.

void

setLogFullAction(LogFullAction logFullAction)

Sets the log full action.


Methods

addAttribute(String)

public void addAttribute(java.lang.String attribute)

Adds the attribute into the key attribute list.

Parameters:

attribute - Name (string) of the attribute to be added to the key attribute list

deleteAllRecords()

public void deleteAllRecords()

Deletes all records logged in the Log till now.

deleteRecords(int, int)

public void deleteRecords(int noOfRecords, int startIndex)
throws ArrayIndexOutOfBoundsException

Deletes records from the Log starting from a specified starting index.

Parameters:

noOfRecords - The total number of records to be deleted

startIndex - Index in the log starting from which the records will be deleted

Throws:

Throws - ArrayIndexOutOfBoundsException if startIndex points beyond 0..size-1.

getAdministrativeState()

public com.sun.ctmgx.moh.AdministrativeState getAdministrativeState()

Gets the administrative state.

This attribute is used to activate (unlock) and deactivate (lock) the function performed by the Log.

Returns:

The administrative state value defined as one of the following:

com.sun.ctmgx.moh.AdministrativeState.LOCKED
com.sun.ctmgx.moh.AdministrativeState.UNLOCKED

getAllRecords()

public java.util.Vector getAllRecords()

Gets all the records logged.

Returns:

A vector containing all the records logged till now.

getCapacity()

public int getCapacity()

Gets the capacity or the maximum value of the number of records which can be logged.

Returns:

The capacity of the log.

getFilter()

public javax.management.NotificationFilter getFilter()

Gets the filter which is used to filter the Notifications to be logged.

Returns:

The NotificationFilter object.

getKeyAttributeList()

public java.util.Set getKeyAttributeList()

Gets the key attribute list as an object of Set.

Returns:

An object of java.util.Set containing all the key attribute names as String.

getLogFullAction()

public com.sun.ctmgx.moh.LogFullAction getLogFullAction()

Gets the log full action.

This attribute is used to identify the action the NE takes when the log space is full. The valid values for this attribute are wrap around and halt. The default value is wrap around.

Returns:

The log full action value defined as one of the following:

com.sun.ctmgx.moh.LogFullAction.WRAP
com.sun.ctmgx.moh.LogFullAction.HALT

getLogRecordTypes()

public java.util.Vector getLogRecordTypes()

Gets a set of Notification types being logged.

This attribute identifies the types of log records grouped by this log-managed entity.

Returns:

A set object containing the types as String defined as com.sun.ctmgx.moh.AlarmNotification.FAN_FAILURE, com.sun.ctmgx.moh.AlarmNotification.FUSE_FAILURE, com.sun.ctmgx.moh.AlarmNotification.HIGH_TEMPERATURE, and so on.

getOperationalState()

public com.sun.ctmgx.moh.OperationalState getOperationalState()

Gets the operational state.

This attribute identifies whether or not the Log is capable of performing its normal functions, that is, enabled or disabled.

Returns:

The operational state value defined as one of the following:

com.sun.ctmgx.moh.OperationalState.ENABLED
com.sun.ctmgx.moh.OperationalState.DISABLED
com.sun.ctmgx.moh.OperationalState.UNKNOWN

getRecords(int, int)

public java.util.Vector getRecords(int noOfRecords, int startIndex)
throws ArrayIndexOutOfBoundsException

Gets the records from a starting index.

Parameters:

noOfRecords -The total number of records to be retrieved.

startIndex - The index in the log starting from which the records will be retrieved.

Returns:

A vector containing noOfRecord number of records.

Throws:

Throws - ArrayIndexOutOfBoundsException if startIndex points beyond 0..size-1.

getSize()

public int getSize()

Gets the total number of records logged.

Returns:

The size of the log.

removeAttribute(String)

public void removeAttribute(java.lang.String attribute)

Remove the attribute.

Parameters:

attribute - A String which is the name of the attribute to be deleted from the key attribute list.

setAdministrativeState(AdministrativeState)

public void setAdministrativeState(com.sun.ctmgx.moh.AdministrativeState admin_state)

Sets the administrative state.

This attribute is used to activate (unlock) and deactivate (lock) the function performed by the Log.

Parameters:

admin_state - The administrative state value defined as one of the following:

com.sun.ctmgx.moh.AdministrativeState.LOCKED
com.sun.ctmgx.moh.AdministrativeState.UNLOCKED

setCapacity(int)

public void setCapacity(int capacity)

Sets the capacity.

Parameters:

capacity - Maximum size for the log.

setFilter(NotificationFilter)

public void setFilter(javax.management.NotificationFilter logFilter)

Sets the filter, which will be used to filter the Notifications to be logged.

Parameters:

logFilter - An object of type NotificationFilter. This can be object of one of the following:

com.sun.ctmgx.moh.AlarmNotificationFilter
com.sun.ctmgx.moh.AttributeChangeNotificationFilter
com.sun.ctmgx.moh.StateChangeNotificationFilter
javax.management.NotificationFilterSupport

setKeyAttributeList(Set)

public void setKeyAttributeList(java.util.Set list)

Sets the key attribute list.

This attribute indicates the list of attribute names to be used as keys to uniquely identify the entries in a latest occurrence log.

Parameters:

list - An object of java.util.Set containing the attribute names

setLogFullAction(LogFullAction)

public void setLogFullAction(com.sun.ctmgx.moh.LogFullAction logFullAction)

Sets the log full action.

This attribute is used to identify the action the NE takes when the log space is full. The valid values for this attribute are wrap and halt. The default value is wrap.

Parameters:

logFullAction - The log full action value defined as one of the following:

com.sun.ctmgx.moh.LogFullAction.WRAP
com.sun.ctmgx.moh.LogFullAction.HALT

NEMBean

Declaration

public interface NEMBean

Description

This class describes the management interface of the NE MBean.

Member Summary

Methods

javax.management.ObjectName

getAlarmSeverityProfilePointer()

Gets the ObjectName of the AlarmSeverityProfile associated with this MBean.

java.lang.String

getDescription()

Get Description of the NE.

long

getExternalTime()

This attribute provides the time-of-day system time.

java.lang.String

getLocationName()

Gets the location name.

OperationalState

getOperationalState()

Gets the operational state.

java.lang.Boolean

getSecurityState()

Get the security state of the NE.

java.lang.String

getVendorName()

Gets the vendor name.

java.lang.String

getVersion()

Gets the version.

void

setAlarmSeverityProfilePointer(ObjectName asp)

Sets the ObjectName of the AlarmSeverityProfile associated with this MBean.

void

setLocationName(java.lang.String location_name)

Sets the location name.


Methods

getAlarmSeverityProfilePointer()

public javax.management.ObjectName getAlarmSeverityProfilePointer()

Gets the ObjectName of the AlarmSeverityProfile associated with this MBean.

This attribute provides a pointer to the instance of the Alarm Severity Assignment Profile MBean that contains the severity assignments for the alarms reported by this MBean. When the value of this attribute is set to null, default severity assignments are used.

Returns:

The ObjectName of the AlarmSeverityProfile MBean.

getDescription()

public java.lang.String getDescription()

Gets description of the NE.

Returns:

Description of this network element.

getExternalTime()

public long getExternalTime()

Gets the time-of-day system time.

Returns:

The difference, measured in milliseconds, between the current time and midnight, January 1, 1970 UTC.

getLocationName()

public java.lang.String getLocationName()

Gets the location name of the NE.

This attribute identifies the specific or general location of the NE.

Returns:

The specific or general location of the NE.

getOperationalState()

public com.sun.ctmgx.moh.OperationalState getOperationalState()

Gets the operational state.

This attribute identifies whether or not the NE MBean is capable of performing its normal functions, that is, enabled or disabled.

Returns:

One of the following operational state values:

com.sun.ctmgx.moh.OperationalState.ENABLED
com.sun.ctmgx.moh.OperationalState.DISABLED
com.sun.ctmgx.moh.OperationalState.UNKNOWN

getSecurityState

public java.lang.Boolean getSecurityState()

Get the security state of the NE.

This attribute identifies the security state of the NE. It is used to determine whether authentication checks need to be performed on the client connection. A boolean value of true indicates that authentication checking will be performed on each client connection. (See Netra CT Agent Security for more information.)

Returns:

The SecurityState of the NE.

getVendorName()

public java.lang.String getVendorName()

Gets the vendor name.

This attribute identifies the vendor of the NE.

Returns:

The vendor of the NE.

getVersion()

public java.lang.String getVersion()

Gets the version.

This attribute identifies the version of the NE. A value of null should be used in cases where version information is not available or applicable to the NE being represented.

Returns:

The version of the NE.

setAlarmSeverityProfilePointer(ObjectName)

public void setAlarmSeverityProfilePointer(ObjectName asp)

Sets the AlarmSeverityProfile associated with this MBean.

This attribute provides a pointer to the instance of the Alarm Severity Assignment Profile MBean that contains the severity assignments for the alarms reported by this MBean. When the value of this attribute is set to null, default severity assignments shall be used.

Parameters:

asp - The ObjectName of the AlarmSeverityProfile MBean.

setLocationName(String)

public void setLocationName(java.lang.String location_name)

Sets the location name.

Parameters:

location_name - The location name to set

NetworkInterfaceMBean

Declaration

public interface NetworkInterfaceMBean

Description

This class describes the management interface for Network Interface MBean.

This interface needs to be implemented to represent a network interface object in the system.

 

Member Summary

Methods

javax.management.ObjectName

getAlarmSeverityProfilePointer()

Gets the AlarmSeverityProfile associated with this MBean.

java.lang.Integer

getMtu()

Gets Mtu (Maximum Transmit Unit) of the interface

java.lang.String

getName()

Gets the name of the interface

OperationalState

getOperationalState()

Gets the operational state.

java.lang.String

getPermanentAddress()

Gets address of the interface

javax.management.ObjectName

getTerminationPoint

Gets the physical TerminationPoint used by this network interface

java.lang.String

getType()

Gets interface type

java.lang.String

getVendorName()

Gets the vendor name.

java.lang.String

getVersion()

Gets the version.

void

setAlarmSeverityProfilePointer(ObjectName asp)

Sets the AlarmSeverityProfile associated with this MBean.


Methods

getAlarmSeverityProfilePointer()

public ObjectName getAlarmSeverityProfilePointer()

Gets the AlarmSeverityProfile associated with this MBean.

This attribute provides a pointer to the instance of the Alarm Severity Assignment Profile MBean that contains the severity assignments for the alarms reported by this MBean. When the value of this attribute is set to null, default severity assignments shall be used.

Returns:

The ObjectName of the AlarmSeverityProfile MBean.

getMtu()

public java.lang.Integer getMtu()

Gets Mtu (Maximum Transmit Unit) of the interface.

Returns:

The maximum size of a packet this interface can send/receive.

getName()

public java.lang.String getName()

Gets the name of the interface.

Returns:

The name of the network interface.

getOperationalState()

public com.sun.ctmgx.moh.OperationalState getOperationalState()

Gets the operational state.

Returns:

One of the following operational state values:

com.sun.ctmgx.moh.OperationalState.ENABLED
com.sun.ctmgx.moh.OperationalState.DISABLED
com.sun.ctmgx.moh.OperationalState.UNKNOWN

getPermanentAddress()

public java.lang.String getPermanentAddress()

Gets the address of the interface.

Returns:

The device specific physical address.

getTerminationPoint()

public javax.management.ObjectName getTerminationPoint()

Gets the physical TerminationPoint used by this network interface.

Returns:

The ObjectName of the TerminationPoint.

getType()

public java.lang.String getType()

Gets interface type.

Returns:

Type of the network interface.

getVendorName()

public java.lang.String getVendorName()

Gets the vendor name.

Returns:

Vendor name.

getVersion()

public java.lang.String getVersion()

Gets the version.

Returns:

Version.

setAlarmSeverityProfilePointer(ObjectName)

public void setAlarmSeverityProfilePointer(javax.management.ObjectName asp)

Sets the AlarmSeverityProfile associated with this MBean.

This attribute provides a pointer to the instance of the Alarm Severity Assignment Profile MBean that contains the severity assignments for the alarms reported by this MBean. When the value of this attribute is set to null, default severity assignments shall be used.

Parameters:

asp - The ObjectName of the AlarmSeverityProfile MBean.

NfsServiceMBean

Declaration

public interface NfsServiceMBean extends SoftwareServiceMBean

All Superinterfaces

SoftwareServiceMBean

Description

This class describes the management interface of the Network File System (NFS) Monitor service.

Member Summary

Methods

java.lang.Float

getClientMaxThreshHold()

Gets client maximum threshhold.

java.lang.Float

getClientThreshHold()

Gets client current threshhold.

java.lang.String[]

getMountFailureList()

Gets the list of failed NFS mount points

java.lang.Float

getServerMaxThreshHold()

Gets server maximum threshhold.

java.lang.Float

getServerThreshHold()

Gets server current threshhold.

void

setClientMaxThreshHold(java.lang.Float threshHold)

Sets the client max threshhold.

void

setServerMaxThreshHold(java.lang.Float threshHold)

Sets the server maximum threshhold.


Inherited Member Summary

Methods inherited from interface SoftwareServiceMBean

getDaemonList(), getName(), getNumExcessiveIntervals(), getPollingInterval(), getStatus(), setNumExcessiveIntervals(Integer), setPollingInterval(Integer), startPolling(), stopPolling()


 

Methods

getClientMaxThreshHold()

public java.lang.Float getClientMaxThreshHold()

Gets client maximum threshhold. Threshhold is the percentage of errors/total transactions.

Returns:

Threshold in percentage.

getClientThreshHold()

public java.lang.Float getClientThreshHold()

Gets client current threshhold.

Threshhold is the percentage of errors/total transactions

Returns:

Threshold in percentage.

getMountFailureList()

public java.lang.String[] getMountFailureList()

Gets the list of failed NFS mount points

Returns:

List of failed file system mount points.

getServerMaxThreshHold()

public java.lang.Float getServerMaxThreshHold()

Gets server maximum threshhold.

Threshhold is the percentage of errors/total transactions.

Returns:

Threshold in percentage.

getServerThreshHold()

public java.lang.Float getServerThreshHold()

Gets server current threshhold.

Threshhold is the percentage of errors/total transactions.

Returns:

Threshold in percentage.

setClientMaxThreshHold(Float)

public void setClientMaxThreshHold(java.lang.Float threshHold)

Sets client maximum threshhold.

Threshhold is the percentage of errors/total transactions.

Parameters:

threshHold-threshold to set.

The default value is 0.

setServerMaxThreshHold(Float)

public void setServerMaxThreshHold(java.lang.Float threshHold)

Sets server maximum threshhold.

Threshhold is the percentage of errors/total transactions.

Parameters:

threshHold-threshold to set.

The default value is 0.

NumericSensorMBean

Declaration

public interface NumericSensorMBean extends SensorMBean

All Superinterfaces

EquipmentMBean, SensorMBean

Description

This class describes the interface for NumericSensorMBean.

This Mbean is used to model the thermistor (temperature sensor) on the CPU card. There are three temperature regions to monitor: noncritical, critical, and fatal. Each of the temperature regions has lower and upper boundaries or thresholds.

In general, an alarm is generated when the temperature falls below the lower threshold or exceeds the upper threshold.

Not all thresholds are supported in Netra CT. In Netra C 410 and CT 810, only the upper threshold of each region is supported.

The noncritical and critical thresholds are settable and under user control. The fatal threshold is the CPU junction temperature which is determined and set at board manufacturing time. This threshold is read-only by user.

An alarm occurs when the temperature exceeds the noncritical or critical threshold.

An alarm occurs and the system goes through automatic shutdown when the temperature exceeds the fatal threshold.

Member Summary

Fields

static java.lang.Short

CRITICAL_LOWER

Lower bound of the second (middle) level threshold.

static java.lang.Short

CRITICAL_UPPER

Upper bound of the second (middle) level threshold.

static java.lang.Short

FATAL_LOWER

Lower bound of the third (highest) level threshold.

static java.lang.Short

FATAL_UPPER

Upper bound of the third (highest) level threshold.

static java.lang.Short

NONCRITICAL_LOWER

Lower bound of the first (lowest) level threshold.

static java.lang.Short

NONCRITICAL_UPPER

Upper bound of the first (lowest) level threshold.

Methods

java.lang.String

getBaseUnits()

Gets the base unit of this numeric sensor.

java.lang.Short[]

getEnabledThresholds()

Gets enabled thresholds.

java.lang.Integer

getLowerThresholdCritical()

Gets lower critical threshold of sensor-reading.

java.lang.Integer

getLowerThresholdFatal()

Gets upper fatal threshold of sensor-reading.

java.lang.Integer

getLowerThresholdNonCritical()

Gets lower non-critical threshold of sensor-reading.

java.lang.String

getRateUnits()

If the RateUnits property is set to a value other than none, the units are further qualified as rate units.

java.lang.Short[]

getSettableThresholds()

Gets settable thresholds.

java.lang.Short[]

getSupportedThresholds()

Gets supported thresholds for this system.

java.lang.Integer

getUnitModifier()

java.lang.Integer

getUpperThresholdCritical()

Gets upper critical threshold of sensor-reading.

java.lang.Integer

getUpperThresholdFatal()

Gets upper fatal threshold of sensor-reading.

java.lang.Integer

getUpperThresholdNonCritical()

Gets the upper non-critical threshold of sensor-reading.

void

setUpperThresholdCritical(java.lang.Integer threshVal)

Sets the upper critical threshold to a new value.

void

setUpperThresholdNonCritical(java.lang.Integer threshVal)

Sets the upper non-critical threshold to a new value.


Inherited Member Summary

Fields inherited from interface SensorMBean

SENSOR_TYPE_OTHER, SENSOR_TYPE_TEMPERATURE

Methods inherited from interface EquipmentMBean

getAdministrativeState(), getAlarmSeverityProfilePointer(), getEquipmentType(), getLocationName(), getModelNumber, getOperationalState(), getProductName, getSerialNumber, getUserLabel(), getVendorName(), getVersion(), setAdministrativeState(AdministrativeState), setAlarmSeverityProfilePointer(ObjectName), setLocationName(String), setUserLabel(String)

Methods inherited from interface SensorMBean

getCurrentState(), getPossibleStates(), getSensorType()


 

Fields

CRITICAL_LOWER

public static final java.lang.Short CRITICAL_LOWER

Lower bound of the second (middle) level threshold.

CRITICAL_UPPER

public static final java.lang.Short CRITICAL_UPPER

Upper bound of the second (middle) level threshold.

FATAL_LOWER

public static final java.lang.Short FATAL_LOWER

Lower bound of the third (highest) level threshold.

FATAL_UPPER

public static final java.lang.Short FATAL_UPPER

Upper bound of the third (highest) level threshold.

NONCRITICAL_LOWER

public static final java.lang.Short NONCRITICAL_LOWER

Lower bound of the first (lowest) level threshold.

NONCRITICAL_UPPER

public static final java.lang.Short NONCRITICAL_UPPER

Upper bound of the first level threshold.

Methods

getBaseUnits()

public java.lang.String getBaseUnits()

Gets the base unit of this numeric sensor; e.g., a temperature sensor might read the temperature in degree C.

Returns:

degree C for temperature in Celsius.

getEnabledThresholds()

public java.lang.Short[] getEnabledThresholds()

Gets enabled thresholds. This API provides the same information as getSupportedThresholds.

Returns:

An array of enabled thresholds where each element(Short) in the array identifies a threshold type. An instance of this MBean, which is a temperature sensor, might return a Short array { NONCRITICAL_UPPER, CRITICAL_UPPER, FATAL_UPPER }.

getLowerThresholdCritical()

public java.lang.Integer getLowerThresholdCritical()

Gets lower critical threshold of sensor-reading.

Returns:

Lower threshold.

getLowerThresholdFatal()

public java.lang.Integer getLowerThresholdFatal()

Gets upper fatal threshold of sensor-reading.

Returns:

Upper threshold.

getLowerThresholdNonCritical()

public java.lang.Integer getLowerThresholdNonCritical()

Gets lower non-critical threshold of sensor-reading.

Returns:

Lower threshold.

getRateUnits()

public java.lang.String getRateUnits()

If the RateUnits property is set to a value other than none, the units are further qualified as rate units. For an instance that is a temperature sensor, the value is none.

Returns:

none for temperature sensor.

getSettableThresholds()

public java.lang.Short[] getSettableThresholds()

Gets settable thresholds.

Returns:

An array of settable thresholds where each element(Short) in the array identifies a threshold type. An instance of this MBean, which is a temperature sensor, might return a Short array {NONCRITICAL_UPPER, CRITICAL_UPPER}. All possible thresholds modelled by this NumericSensor are declared as public constants.

getSupportedThresholds()

public java.lang.Short[] getSupportedThresholds()

Gets supported thresholds for this system. This API provides the same information as getEnabledThresholds.

Returns:

An array of supported thresholds where each element(Short) in the array identifies a threshold type. An instance of this MBean, which is a temperature sensor, might return a Short array {NONCRITICAL_UPPER, CRITICAL_UPPER, FATAL_UPPER}.

All possible thresholds modelled by this NumericSensor are declared as public constants.

getUnitModifier()

public java.lang.Integer getUnitModifier()

getUpperThresholdCritical()

public java.lang.Integer getUpperThresholdCritical()

Gets upper critical threshold of sensor-reading.

Returns:

Upper threshold.

getUpperThresholdFatal()

public java.lang.Integer getUpperThresholdFatal()

Gets upper fatal threshold of sensor-reading.

Returns:

Upper threshold.

getUpperThresholdNonCritical()

public java.lang.Integer getUpperThresholdNonCritical()

Gets the upper noncritical threshold of sensor-reading.

Returns:

Upper threshold.

setUpperThresholdCritical(Integer)

public void setUpperThresholdCritical(java.lang.Integer threshVal)

Sets the upper critical threshold to a new value.

Parameters:

threshVal- Value of temperature

setUpperThresholdNonCritical(Integer)

public void setUpperThresholdNonCritical(java.lang.Integer threshVal)

Sets the upper noncritical threshold to a new value.

Parameters:

threshVal- Value of temperature.

PlugInUnitMBean

Declaration

public interface PlugInUnitMBean

All Known Subinterfaces:

AlarmCardPluginMBean,CpuPluginMBean

Description

This class describes the management interface of the Plug-in Unit MBean.

Member Summary

Methods

AdministrativeState

getAdministrativeState()

Gets the administrative state.

javax.management.ObjectName

getAlarmSeverityProfilePointer()

Gets the AlarmSeverityProfile associated with this MBean.

AvailabilityStatus

getAvailabilityStatus()

Gets the availability status.

java.lang.String

getModelNumber()

Get the part number.

OperationalState

getOperationalState()

Gets the operational state.

java.lang.String

getPlugInUnitLabel()

Gets the external label string, if there is any.

java.lang.String

getPlugInUnitType()

Gets the plug-in unit type.

java.lang.String

getProductName()

Get the product name.

java.lang.String

getSerialNumber()

Get the serial number.

java.lang.String

getVendorName()

Gets the vendor name.

java.lang.String

getVersion()

Gets the version.

void

setAdministrativeState(AdministrativeState admin_state)

Sets the administrative state.

void

setAlarmSeverityProfilePointer(javax.management.ObjectName asp)

Sets the AlarmSeverityProfile associated with this MBean.


Methods

getAdministrativeState()

public com.sun.ctmgx.moh.AdministrativeState getAdministrativeState()

Gets the administrative state.

This function gets the current status(locked/unlocked) of this object.

Returns:

The administrative state value defined as either:

com.sun.ctmgx.moh.AdministrativeState.LOCKED
com.sun.ctmgx.moh.AdministrativeState.UNLOCKED

getAlarmSeverityProfilePointer()

public javax.management.ObjectName getAlarmSeverityProfilePointer()

Gets the AlarmSeverityProfile associated with this MBean.

This function gets a pointer to an instance of the Alarm Severity Profile MBean containing the severity assignments for the alarms reported by this MBean. When the returned value is null, the default alarm severity profile is used.

Returns:

The ObjectName of the AlarmSeverityProfile MBean.

getAvailabilityStatus()

public com.sun.ctmgx.moh.AvailabilityStatus getAvailabilityStatus()

Gets the availability status.

This function is used to get the availability status of this object. Valid values for the availability status are Available, In Test, Failed, Power Off, Not Installed, Off Line, and Dependency. This last value indicates that the plug-in unit cannot operate because some other resource on which it depends is unavailable.

Returns:

One of the following availability status values:

com.sun.ctmgx.moh.AvailabilityStatus.AVAILABLE
com.sun.ctmgx.moh.AvailabilityStatus.INTEST
com.sun.ctmgx.moh.AvailabilityStatus.FAILED
com.sun.ctmgx.moh.AvailabilityStatus.POWEROFF
com.sun.ctmgx.moh.AvailabilityStatus.NOTINSTALLED
com.sun.ctmgx.moh.AvailabilityStatus.OFFLINE
com.sun.ctmgx.moh.AvailabilityStatus.DEPENDENCY

getOperationalState()

public com.sun.ctmgx.moh.OperationalState getOperationalState()

Gets the operational state.

This function gets the operation state of the object. The operational state indicates whether or not the plug-in unit is capable of performing its normal functions, i.e. enabled or disabled.

Returns:

One of the following operational state values:

com.sun.ctmgx.moh.OperationalState.ENABLED
com.sun.ctmgx.moh.OperationalState.DISABLED
com.sun.ctmgx.moh.OperationalState.UNKNOWN

getPlugInUnitLabel()

public java.lang.String getPlugInUnitLabel()

Gets the external label string, if there is any.

Returns:

The external label string of the plug-in unit.If there is no label, a null string("") is returned.

getPlugInUnitType()

public java.lang.String getPlugInUnitType()

Gets the plug-in unit type.

Returns:

The plug-in unit type.

getVendorName()

public java.lang.String getVendorName()

Gets the vendor name.

Returns:

The vendor name of the plug-in unit.

getVersion()

public java.lang.String getVersion()

Gets the version.

Returns:

The version of the plug-in unit.

setAdministrativeState(AdministrativeState)

public void setAdministrativeState(com.sun.ctmgx.moh.AdministrativeState admin_state)

Sets the administrative state.

This function sets the administrative status of this object.

Parameters:

admin_state - The administrative state value defined as either com.sun.ctmgx.moh.AdministrativeState.LOCKED or com.sun.ctmgx.moh.AdministrativeState.UNLOCKED.

setAlarmSeverityProfilePointer(ObjectName)

public void setAlarmSeverityProfilePointer(ObjectName asp)

Sets the AlarmSeverityProfile associated with this MBean.

This function sets the pointer attribute of this Mbean to the instance of the Alarm Severity Profile. When the setting value is null, the default alarm severity profile is used.

 

Parameters:

asp - The ObjectName of the AlarmSeverityProfile object.

RnfsServiceMBean

Declaration

public interface RnfsServiceMBean extends SoftwareServiceMBean

All Superinterfaces

SoftwareServiceMBean

Description

This class describes the interface of the Reliable Network File System (RNFS) Monitor service.

Member Summary

Methods

java.lang.String[]

getExcessiveThresholdFileSystemList()

Gets the list of RNFS exceeding threshold.

java.lang.Float

getMaxSyncThreshold()

Gets the maximum synchronization threshold.

java.lang.Float

getSyncThreshold(java.lang.String rnfs)

Gets the current synchronization threshhold of a RNFS.

void

setMaxSyncThreshold(java.lang.Float threshold)

Sets the maximum synchronization threshold of all RNFS.


 

Inherited Member Summary

Methods inherited from interface SoftwareServiceMBean

setDaemonList(), getName(), getNumExcessiveIntervals(), getPollingInterval(), getStatus(), setNumExcessiveIntervals(Integer), setPollingInterval(Integer), startPolling(), stopPolling()


Methods

getExcessiveThresholdFileSystemList()

public java.lang.String[] getExcessiveThresholdFileSystemList()

Gets the list of RNFS exceeding threshold.

Returns:

List of file system.

Null returned if there is no file systems exceeding threshold.

getMaxSyncThreshold()

public java.lang.Float getMaxSyncThreshold()

Gets maximum synchronization threshold.

Threshold is the percentage of RNFS disk space that needs to be synchronized.

Returns:

Threshold in percentage.

getSyncThreshold(String)

public java.lang.Float getSyncThreshold(java.lang.String rnfs)

Gets current synchronization threshhold of a RNFS.

Threshold is the percentage of RNFS disk space that needs to be synchronized.

Returns:

Threshold in percentage.

setMaxSyncThreshold(Float)

public void setMaxSyncThreshold(java.lang.Float threshold)

Sets maximum synchronization threshold of all RNFS.

Threshold is the percentage of RNFS disk space that needs to be synchronized.

Parameters:

threshold - threshold to set.

The default value is 0.

SensorMBean

Declaration

public interface SensorMBean extends EquipmentMBean

All Superinterfaces

EquipmentMBean

All Known Subinterfaces

NumericSensorMBean

Description

This class describes the interface for Sensor MBean. For Netra CT 410 and CT 810, only sensor type SENSOR_TYPE_TEMPERATURE is supported.

Member Summary

Fields

static java.lang.Short

SENSOR_TYPE_OTHER

Other sensor typ.e

static java.lang.Short

SENSOR_TYPE_TEMPERATURE

Temperature sensor.

Methods

java.lang.String

getCurrentState()

Gets the current sensor state.

java.lang.String[]

getPossibleStates()

Gets the sensor possible states.

java.lang.Short

getSensorType()

Gets the sensor type.


Inherited Member Summary

Methods inherited from interface EquipmentMBean

getAdministrativeState(), getAlarmSeverityProfilePointer(), getEquipmentType(), getLocationName(), getModelNumber, getOperationalState(), getProductName, getSerialNumber, getUserLabel(), getVendorName(), getVersion(), setAdministrativeState(AdministrativeState), setAlarmSeverityProfilePointer(ObjectName), setLocationName(String), setUserLabel(String)


Fields

SENSOR_TYPE_OTHER

public static final java.lang.Short SENSOR_TYPE_OTHER

Other sensor type.

SENSOR_TYPE_TEMPERATURE

public static final java.lang.Short SENSOR_TYPE_TEMPERATURE

Temperature sensor.

Methods

getCurrentState()

public java.lang.String getCurrentState()

Gets current sensor state.

Returns:

The current state of the sensed property. Currently not supported.

getPossibleStates()

public java.lang.String[] getPossibleStates()

Gets sensor possible states.

Returns:

Possible states the sensed property can go through. Currently not supported.

getSensorType()

public java.lang.Short getSensorType()

Gets sensor type.

Returns:

Sensor type. Each sensor type is associated with a particular property of a logical/physical device, for example, a voltage sensor might sense/measure/read the voltage through a power supply unit, and a temperature sensor might do similar thing but for the temperature of the unit.

SlotMBean

Declaration

public interface SlotMBean extends EquipmentHolderMBean

All Superinterfaces

EquipmentHolderMBean

All Known Subinterfaces

CpciSlotMBean

Description

This class describes the management interface of the Slot MBean.

Member Summary

Methods

java.lang.String

getAcceptablePlugInUnitTypes()

Gets the acceptable plug-in unit types.

SlotStatus

getSlotStatus()

Gets the slot status.

java.lang.String

getSlotType()

Gets the slot type string.

javax.management.ObjectName

getSoftwareLoad()

Gets the ObjectName of the SoftwareLoad associated with this MBean.

void

setAcceptablePlugInUnitTypes(java.lang.String types)

Sets the acceptable plug-in unit types.

void

setSoftwareLoad(javax.management.ObjectName sw_load)

Sets the ObjectName of the SoftwareLoad associated with this MBean.


Inherited Member Summary

Methods inherited from interface EquipmentHolderMBean

getEquipmentHolderAddress(), getEquipmentHolderLabel(), getEquipmentHolderType()


Methods

getAcceptablePlugInUnitTypes()

public java.lang.String getAcceptablePlugInUnitTypes()

Gets the acceptable plug-in unit types.

This attribute identifies the types of plug-in units that can be supported by the slot.

Returns:

The newline separated string representing the acceptable plug-in unit types.

getSlotStatus()

public com.sun.ctmgx.moh.SlotStatus getSlotStatus()

Gets the slot status.

This attribute provides an indication as to whether or not the slot is empty or full.

Returns:

The slot status value defined as com.sun.ctmgx.moh.SlotStatus.EMPTY or com.sun.ctmgx.moh.SlotStatus.FULL.

getSlotType()

public java.lang.String getSlotType()

Gets the slot type string.

This attribute identifies the type of a slot in the chassis, such as a CPCI slot, fan slot, power supply slot, rmm slot, or pmc slot.

Returns:

A String that identifies a type of slot in a chassis.

getSoftwareLoad()

public javax.mNgement.ObjectName getSoftwareLoad()

Gets the ObjectName of the SoftwareLoad associated with this MBean.

This attribute identifies the software load, if there is any, which is currently designated as the one to be loaded to the plug-in whenever an automatic reload of software is needed.

Returns:

The ObjectName of the SoftwareLoad MBean.

setAcceptablePlugInUnitTypes(String)

public void setAcceptablePlugInUnitTypes(java.lang.String types)

Sets the acceptable plug-in unit types.

This attribute identifies the types of plug-in units that can be supported by the slot.

Parameters:

types - A newline separated string representing the acceptable plug-in unit types.

setSoftwareLoad(ObjectName)

public void setSoftwareLoad(javax.management.ObjectName sw_load)

Sets the ObjectName of the SoftwareLoad associated with this MBean.

This attribute identifies the software load, if there is any, which is currently designated as the one to be loaded to the plug-in whenever an automatic reload of software is needed.

Returns:

The ObjectName of the SoftwareLoad MBean.

SoftwareMonitorMBean

Declaration

public interface SoftwareMonitorMBean.

Member Summary

Fields

static java.lang.String

ETHER_STATS_SERVICE

Ethernet Driver Statistic service name.

static java.lang.String

ETHER_STATS_SERVICE_OBJ

Ethernet Driver Statistic service object name.

static java.lang.String

IP_SERVICE

Internet Protocol service name.

static java.lang.String

IP_SERVICE_OBJ

Internet Protocol service object name.

static java.lang.String

NFS_SERVICE

Network File System service name.

static java.lang.String

NFS_SERVICE_OBJ

Network File System service object name.

static java.lang.String

PLATFORM_MGT_SERVICE

Platform Management service name.

static java.lang.String

PLATFORM_MGT_SERVICE_OBJ

Platform Management service object name.

static java.lang.String

TCP_SERVICE

Transport Control Protocol service name.

static java.lang.String

TCP_SERVICE_OBJ

Transport Control Protocol service object name.

static java.lang.String

TFTP_SERVICE

Trivial File Transfer Protocol service name.

static java.lang.String

TFTP_SERVICE_OBJ

Trivial File Transfer Protocol service object name.

static java.lang.String

UDP_SERVICE

User Datagram Protocol service name.

static java.lang.String

UDP_SERVICE_OBJ

User Datagram Protocol service object name.

static java.lang.String

UFS_SERVICE

Unix File System service name.

static java.lang.String

UFS_SERVICE_0BJ

Unix File System service object name.

Methods

java.util.Set

getSoftwareServiceList()

Gets a list of object names representing the software services.


 

Fields

ETHER_STATS_SERVICE

public static final java.lang.String ETHER_STATS_SERVICE

Ethernet Driver Statistic service name.

ETHER_STATS_SERVICE_OBJ

public static final java.lang.String ETHER_STATS_SERVICE_OBJ

Ethernet Driver Statistic service object name.

IP_SERVICE

public static final java.lang.String IP_SERVICE

Internet Protocol service name.

IP_SERVICE_OBJ

public static final java.lang.String IP_SERVICE_OBJ

Internet Protocol service object name.

NFS_SERVICE

public static final java.lang.String NFS_SERVICE

Network File System service name.

NFS_SERVICE_OBJ

public static final java.lang.String NFS_SERVICE_OBJ

Network File System service object name.

PLATFORM_MGT_SERVICE

public static final java.lang.String PLATFORM_MGT_SERVICE

Platform Management service name. It is PICL on Solaris or SMF on Alarm Card.

PLATFORM_MGT_SERVICE_OBJ

public static final java.lang.String PLATFORM_MGT_SERVICE_OBJ

Platform Management service object name.

TCP_SERVICE

public static final java.lang.String TCP_SERVICE

Transport Control Protocol service name.

TCP_SERVICE_OBJ

public static final java.lang.String TCP_SERVICE_OBJ

Transport Control Protocol service object name.

TFTP_SERVICE

public static final java.lang.String TFTP_SERVICE

Trivial File Transfer Protocol service name.

TFTP_SERVICE_OBJ

public static final java.lang.String TFTP_SERVICE_OBJ

Trivial File Transfer Protocol service object name.

UDP_SERVICE

public static final java.lang.String UDP_SERVICE

User Datagram Protocol service name.

UDP_SERVICE_OBJ

public static final java.lang.String UDP_SERVICE_OBJ

User Datagram Protocol service object name.

UFS_SERVICE

public static final java.lang.String UFS_SERVICE

Unix File System service name.

UFS_SERVICE_OBJ

public static final java.lang.String UFS_SERVICE_OBJ

Unix File System service object name.

Methods

getSoftwareServiceList()

public java.util.Set getSoftwareServiceList()

Gets a list of object names representing the software services.

Returns:

Set of objects of the software services. Each object contains a string representing one of the following the object names:

com.sun.ctmgx.moh.SoftwareMonitorMbean.NFS_SERVICE_OBJ
com.sun.ctmgx.moh.SoftwareMonitorMbean.UFS_SERVICE_OBJ
com.sun.ctmgx.moh.SoftwareMonitorMbean.TCP_SERVICE_OBJ
com.sun.ctmgx.moh.SoftwareMonitorMbean.UDP_SERVICE_OBJ
com.sun.ctmgx.moh.SoftwareMonitorMbean.IP_SERVICE_OBJ
com.sun.ctmgx.moh.SoftwareMonitorMbean.TFTP_SERVICE_OBJ
com.sun.ctmgx.moh.SoftwareMonitorMbean.ETHER_STATS_SERVICE_OBJ
com.sun.ctmgx.moh.SoftwareMonitorMbean.PLATFORM_MGT_SERVICE_OBJ

SoftwareServiceMBean

Declaration

public interface SoftwareServiceMBean

All Known Subinterfaces:

CgtpServiceMBean, EtherIfStatsMBean,IpServiceMBean, NfsServiceMBean, RnfsServiceMBean, TcpServiceMBean, UdpServiceMBean,UfsServiceMBean

Description

This class describes the interface of Software Service MBean.

This is the base class from which all software services are derived.

Software services in the systems such as NFS, NIS, CGTP, etc. are modeled via MOH software modules. Each software module represents a service.

The software modules of MOH running on host CPU and satellite CPU monitor the software services in the system. Software services can be a software sub-system such as network stacks (TCP, UDP, IP), or I/O drivers such as Ethernet drivers, or processes or daemons such as NFS, UFS, TFTP, reliable NFS, etc.

In general, a service contains two parts: The daemon monitor part and the statistic part. The daemon monitor part deals with the installed/not installed, and running/not running status of a daemon. The statistic part deals with error count, error thresholds, polling, etc. Not all of the services contain two parts, since some services might not be implemented as daemons.

 

Member Summary

Methods

javax.management.ObjectName[]

getDaemonList()

Get the list of daemons supporting the service.

java.lang.String

getName()

Gets the name of the service.

java.lang.Integer

getNumExcessiveIntervals()

Gets configured number of polling intervals that exceed the max threshhold

java.lang.Integer

getPollingInterval()

Gets polling interval.

java.lang.String

getStatus()

Gets the status of the service.

void

setNumExcessiveIntervals(java.lang.Integer numExcessiveIntervals)

Sets number of polling intervals that exceed the max threshold or number of excessive intervals that the service exceeds error threshold.

void

setPollingInterval(java.lang.Integer milliSecs)

Sets polling interval in milliseconds.

void

startPolling()

Starts polling for exceeding thresholds and mount failure notifications.

void

stopPolling()

Stops polling.


Methods

getDaemonList()

public javax.management.ObjectName() getDaemonList()

Gets the list of daemons supporting the service.

Returns:

The list of object name of DaemonMbean(s). Each object name is defined as com.sun.ctmgx.moh.SoftwareMonitorMbean."softwareservice name"."daemon name"

getName()

public java.lang.String getName()

Gets the name of the service. All of available services are defined in this method.

Returns:

The name of the service defined as one of the following:

com.sun.ctmgx.moh.SoftwareMonitorMbean.NFS_SERVICE
com.sun.ctmgx.moh.SoftwareMonitorMbean.UFS_SERVICE
com.sun.ctmgx.moh.SoftwareMonitorMbean.TCP_SERVICE
com.sun.ctmgx.moh.SoftwareMonitorMbean.UDP_SERVICE
com.sun.ctmgx.moh.SoftwareMonitorMbean.IP_SERVICE
com.sun.ctmgx.moh.SoftwareMonitorMbean.TFTP_SERVICE
com.sun.ctmgx.moh.SoftwareMonitorMbean.ETHER_STATS_SERVICE
or string("") if there is none.

getNumExcessiveIntervals()

public java.lang.Integer getNumExcessiveIntervals()

Gets the number of excessive intervals that the service exceeds error threshold.

This excessive polling interval threshold indicates the maximum number of consecutive polling intervals that the corresponding service exceeds the maximum allowable threshold before an error event is generated.

Returns:

The number of excessive intervals.

getPollingInterval()

public java.lang.Integer getPollingInterval()

Gets polling interval of the service.

The polling interval indicates how often the service is polled for status.

Returns:

The polling interval in millisecond. The default is 15 minutes.

getStatus()

public java.lang.String getStatus()

Gets status of the service.

Returns:

The status of the service defined as string("up"), or string("down").

setNumExcessiveIntervals(Integer)

public void setNumExcessiveIntervals(java.lang.Integer numExcessiveIntervals)

Sets the number of configured polling intervals threshold or number of excessive intervals that the service exceeds error threshold.

 

This excessive polling interval threshold indicates the maximum number of consecutive polling intervals that the corresponding service exceeds the maximum allowable threshold before an error event is generated.

Parameters:

numExcessiveIntervals - interval threshold to set. The default of this threshold is 1.

setPollingInterval(Integer)

public void setPollingInterval(java.lang.Integer milliSecs)

Sets polling interval of the service. The polling interval indicates how often the service is polled for status.

Parameters:

milliSecs- polling interval to set. The default is 15 minutes. The minimum interval is 15 seconds.

startPolling()

public void startPolling()

Start polling the service.

stopPolling()

public void stopPolling()

Stop polling the service.

 

TcpServiceMBean

Declaration

public interface TcpServiceMBean extends SoftwareServiceMBean

Description

This class describes the interface of Unix File System (UFS) service.

 

Member Summary

Methods

java.lang.Float

getCurrntInErrorThreshold()

Gets the current threshold of segments received in error.

java.lang.Float

getCurrntOutRstsThreshold()

Gets the current threshold of segments sent with RST flag.

java.lang.Float

getMaxInErrorThreshold()

Gets the maximum threshold of segments received in error.

java.lang.Float

getMaxOutRstsrThreshold()

Gets the maximum threshold of segments sent with RST flag.

void

setMaxInErrorThreshold(java.lang.Float newThreshold)

Sets the maximum threshold of segments received in error.

void

setMaxOutRstsrThreshold(java.lang.Float newThreshold)

Sets the maximum threshold of segments sent with RST flag.


Inherited Member Summary

Methods inherited from interface SoftwareServiceMBean

getDaemonList(), getName(), getNumExcessiveIntervals(), getPollingInterval(), getStatus(), setNumExcessiveIntervals(Integer), setPollingInterval(Integer), startPolling(), stopPolling()


 

 

Methods

getCurrentInErrorThreshold()

public java.lang.Float getCurrentInErrorThreshold()

Gets the current threshold of segments received in error.

Returns:

The threshold in percentage of number of errors over the total received segments of the current polling interval.

getCurrentOutRstsThreshold()

public java.lang.Float getCurrentOutRstsThreshold()

Gets the current threshold of segments sent with RST flag.

Returns:

The threshold in percentage of number of errors over the total sent segments of the current polling interval.

getMaxInErrorThreshold()

public java.lang.Float getMaxInErrorThreshold()

Gets the maximum threshold of segments received in error.I

Returns:

The configured threshold in percentage of number of errors over the total received segments of the current polling interval.

getMaxOutRstsThreshold()

public java.lang.Float getMaxOutRstsThreshold()

Gets the maximum threshold of segments sent with RST flag.

Returns:

The max threshold in percentage of number of errors over the total received segments of the current polling interval.

setMaxInErrorThreshold(Float)

public void setMaxInErrorThreshold(java.lang.Float newThreshold)

Sets the maximum threshold of segments received in error. If the threshold exceeds a number of configured consecutive intervals, a notification of class AttributeChangeNotification is sent to the clients for the change of attribute "CurrentInErrorThreshold".

Parameters:

newThreshold - maximum threshold to set.

setMaxOutRstsThreshold(Float)

public void setMaxOutRstsThreshold(java.lang.Float newThreshold)

Sets the maximum threshold of segments sent with RST flag. If the threshold exceeds a number of configured consecutive intervals, a notification of class AttributeChangeNotification is sent to the clients for the change of attribute CurrentOutRstsThreshold.

Parameters:

newThreshold - maximum threshold to set.

TerminationPointMBean

Declaration

public interface TerminationPointMBean

Description

This class describes the management interface of the Termination Point MBean.

Member Summary

Methods

AdministrativeState

getAdministrativeState()

Gets the administrative state.

javax.management.ObjectName

getAlarmSeverityProfilePointer()

Gets the ObjectName of the AlarmSeverityProfile associated with this MBean.

OperationalState

getOperationalState()

Gets the operational state.

java.lang.String

getPhysicalPathType()

Gets the physical path type.

int

getPortID()

Gets the port ID.

java.lang.String

getPortLabel()

Gets the port label.

void

setAdministrativeState(AdministrativeState admin_state)

Sets the administrative state.

void

setAlarmSeverityProfilePointer(ObjectName asp)

Sets the AlarmSeverityProfile associated with this MBean.


 

Methods

getAdministrativeState()

public com.sun.ctmgx.moh.AdministrativeState getAdministrativeState()

Gets the administrative state.

This attribute is used to activate (unlocked) and deactivate (locked) the function performed by the physical path termination point.

Returns:

The administrative state value defined as either

com.sun.ctmgx.moh.AdministrativeState.LOCKED or
com.sun.ctmgx.moh.AdministrativeState.UNLOCKED

getAlarmSeverityProfilePointer()

public javax.management.ObjectName getAlarmSeverityProfilePointer()

Gets the ObjectName of the AlarmSeverityProfile associated with this MBean.

This attribute provides a pointer to the instance of the Alarm Severity Assignment Profile MBean that contains the severity assignments for the alarms reported by this MBean. When the value of this attribute is set to null, default severity assignmentsare used.

Returns:

The ObjectName of the AlarmSeverityProfile MBean.

getOperationalState()

public com.sun.ctmgx.moh.OperationalState getOperationalState()

Gets the operational state.

This attribute identifies whether or not the physical path termination point is capable of performing its normal functions, that is, enabled or disabled.

Returns:

One of the following operational state values:

com.sun.ctmgx.moh.OperationalState.ENABLED
com.sun.ctmgx.moh.OperationalState.DISABLED
com.sun.ctmgx.moh.OperationalState.UNKNOWN

getPhysicalPathType()

public java.lang.String getPhysicalPathType()

Gets the physical path type.

This attribute identifies the type of physical path being terminated (for example DS1, DS3, SONET STS-3c, or Ethernet).

Returns:

The physical path type.

getPortID()

public int getPortID()

Gets the port ID.

This attribute identifies the port on the line card where the physical path terminates.

Returns:

The port ID.

getPortLabel()

public java.lang.String getPortLabel()

Gets the port label.

This attribute provides the external label string of this physical path termination point object.

Returns:

The port label.

setAdministrativeState(AdministrativeState)

public void setAdministrativeState(com.sun.ctmgx.moh.AdministrativeState admin_state)

Sets the administrative state.

This attribute is used to activate (unlocked) and deactivate (locked) the function performed by the physical path termination point.

Parameters:

admin_state - The administrative state value defined as either:

com.sun.ctmgx.moh.AdministrativeState.LOCKED
com.sun.ctmgx.moh.AdministrativeState.UNLOCKED

setAlarmSeverityProfilePointer(ObjectName)

public void setAlarmSeverityProfilePointer(ObjectName asp)

Sets the ObjectName of the AlarmSeverityProfile associated with this MBean.

This attribute provides a pointer to the instance of the Alarm Severity Assignment Profile MBean that contains the severity assignments for the alarms reported by this MBean. When the value of this attribute is set to null, default severity assignments are used.

Parameters:

asp - The ObjectName of the AlarmSeverityProfile MBean.

UdpServiceMBean

Declaration

public interface UdpServiceMBean extends SoftwareServiceMBean

All Superinterfaces

SoftwareServiceMBean

Description

This class describes the interface of Unix File System (UFS) service.

Member Summary

Methods

java.lang.Float

getCurrentInErrorThreshold()

Gets the current threshold of received UDP datagrams that could not be delivered for reasons other than the lack of an application at the destination port.

java.lang.Float

setMaxInErrorThreshold

Gets the maximum threshold of received UDP datagrams that could not be delivered for reasons other than the lack of an application at the destination port.

void

setMaxInErrorThreshold(java.lang.Float newThreshold)

Sets the maximum threshold of received UDP datagrams that could not be delivered for reasons other than the lack of an application at the destination port.


Inherited Member Summary

Methods inherited from interface SoftwareServiceMBean

getDaemonList(), getName(), getNumExcessiveIntervals(), getPollingInterval(), getStatus(), setNumExcessiveIntervals(Integer), setPollingInterval(Integer), startPolling(), stopPolling()


 

Methods

getCurrentInErrorThreshold()

public java.lang.Float getCurrentInErrorThreshold()

Gets the current threshold of received UDP datagrams that could not be delivered for reasons other than the lack of an application at the destination port.

Returns:

The threshold in percentage of number of errors over the total receiving datagrams of the current polling interval.

getMaxInErrorThreshold()

public java.lang.Float getMaxInErrorThreshold()

Gets the maximum threshold of received UDP datagrams that could not be delivered for reasons other than the lack of an application at the destination port.

Returns:

The maximum threshold in percentage.

setMaxInErrorThreshold(Float)

public void setMaxInErrorThreshold(java.lang.Float newThreshold)

Sets the maximum threshold of received UDP datagrams that could not be delivered for reasons other than the lack of an application at the destination port.

Parameters:

newThreshold - maximum threshold to set.

UfsServiceMBean

Declaration

public interface UfsServiceMBean extends SoftwareServiceMBean

All Superinterfaces

SoftwareServiceMBean

Description

This class describes the interface of UfsService class.

Member Summary

Methods

java.lang.String[]

getExcessiveThreshHoldFileSystemList()

Gets the list of file systems exceeding threshold.

java.lang.Float

getFileSystemMaxThreshHold()

Gets the threshold percentage usage of the file system.

void

setFileSystemMaxThreshHold(java.lang.Float threshHold)

Sets the threshold percentage usage of the file system.


Inherited Member Summary

Methods inherited from interface SoftwareServiceMBean

getDaemonList(), getName(), getNumExcessiveIntervals(), getPollingInterval(), getStatus(), setNumExcessiveIntervals(Integer), setPollingInterval(Integer), startPolling(), stopPolling()


Methods

getExcessiveThreshHoldFileSystemList()

public java.lang.String[] getExcessiveThreshHoldFileSystemList()

Gets the list of file systems exceeding threshold.

Returns:

List of file system.

Null is returned if there is no file systems exceeding threshold.

getFileSystemMaxThreshHold()

public java.lang.Float getFileSystemMaxThreshHold()

Gets the threshold percentage usage of the file system.

Returns:

Usage in percentage.

setFileSystemMaxThreshHold(Float)

public void setFileSystemMaxThreshHold(java.lang.Float threshHold)

Sets the threshold percentage usage of the file system.

Parameters:

threshHold-maximum threshold to set.


Netra CT Management Agent Class Descriptions

This section contains descriptions of the following management agent classes:

AdministrativeState

Declaration

public class AdministrativeState extends java.lang.Object implements java.io.Serializable

java.lang.Object
|
+--
com.sun.ctmgx.moh.AdministrativeState

All Implemented Interfaces:

java.io.Serializable

Description

This class defines the administrative states of an object. Currently, for Netra CT 410, and CT 810, there is no implementation in MOH to perform lockout processing based on this state.

Member Summary

Fields

static AdministrativeState

LOCKED

static AdministrativeState

UNLOCKED

Methods

Boolean

equals(java.lang.Object obj)

int

hashCode()

int

intValue()

java.lang.String

toString()


Inherited Member Summary

Methods inherited from class Object

getClass(), notify(), notifyAll(), wait(), wait(), wait()


Fields

LOCKED

public static final com.sun.ctmgx.moh.AdministrativeState LOCKED

Indicates the related object is in-use or busy performing a function.

UNLOCKED

public static final com.sun.ctmgx.moh.AdministrativeState UNLOCKED

Indicates the related object is not in-use or not busy performing a function.

Methods

equals(Object)

public Boolean equals(java.lang.Object obj)

Overrides:

equals in class Object

hashCode()

public int hashCode()

Overrides:

hashCode in class Object

intValue()

public int intValue()

toString()

public java.lang.String toString()

Overrides:

toString in class Object

AlarmNotification

Declaration

public class AlarmNotification extends com.sun.ctmgx.moh.AlarmNotification

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--javax.management.Notification
              |
               +--com.sun.ctmgx.moh.AlarmNotification

Description

The Alarm Notification class represents an alarm notification emitted by an MBean. This notification is used to notify the management system when a failure has been detected or cleared.

It contains a reference to the source MBean: if the notification has been forwarded through the MBean server, this is the object name of the MBean. If the listener has registered directly with the MBean, this is a direct reference to the MBean.



Note - To receive alarms, the alarm listener must: (1) Assign an alarm severity profile to an object which is in the list of alarm types (for example, fan, CPU thermistor, or CPU card memory monitor) (2) Enable alarm types.



Member Summary

Constructors

 

AlarmNotification(AlarmType alarmType, java.lang.Object source, long sequenceNumber, java.lang.String message, AlarmSeverity perceivedSeverity, java.lang.String specificProblems, Boolean backedUpStatus, javax.management.ObjectName backUpObject, java.lang.String proposedRepairActions, java.util.Set failedSwitchComponentList)

Constructs an alarm notification object.

Methods

AlarmType

getAlarmType()

Gets the alarm type.

Boolean

getBackedUpStatus()

Gets the backed-up status.

javax.management.ObjectName

getBackUpObject()

Gets the back-up object.

java.util.Set

getFailedSwitchComponentList()

Gets the list of failed switch components.

AlarmSeverity

getPerceivedSeverity()

Gets the perceived severity of the alarm.

java.lang.String

getProposedRepairActions()

Gets the proposed repair actions.

java.lang.String

getSpecificProblems()

Gets the specific problems of the alarm.


Inherited Member Summary

Methods inherited from class javax.management.Notification

getMessage, getSequenceNumber, getSource, getTimeStamp, getType, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData

Methods inherited from class java.util.EventObject

toString

Methods inherited from class Object

clone(), equals(Object), finalize(), getClass(), hashCode(), notify(), notifyAll(), toString(), wait(), wait(), wait()


 

Constructors

AlarmNotification

public AlarmNotification(com.sun.ctmgx.moh.AlarmType alarmType, java.lang.Object source, long sequenceNumber, java.lang.String message, com.sun.ctmgx.moh.AlarmSeverity perceivedSeverity, java.lang.String specificProblems, Boolean backedUpStatus, java.management.ObjectName backUpObject, java.lang.String proposedRepairActions, java.util.Set failedSwitchComponentList)

Constructs an alarm notification object.

Parameters:

alarmType - one of the predefined AlarmType instances.

source - The notification source, that is, the MBean that emits the notification.

sequenceNumber - The notification sequence number within the source object.

message - A String containing the message of the notification.

specificProblems - Indicates further refinements to the problem identified by the alarm type.

perceivedSeverity - One of the perceived severity values in the com.sun.ctmgx.moh.AlarmSeverity class.

backedUpStatus - A Boolean indication as to whether or not the failed entity has been backed-up.

backUpObject - The ObjectName of the MBean providing back-up services to the failed entity.

proposedRepairActions - Indicates proposed repair actions for the problem identified by the alarm.

failedSwitchComponentList - A set of failed (or possibly failed) components associated with this alarm identified by their ObjectName.

 

Methods

getAlarmType()

public com.sun.ctmgx.moh.AlarmType getAlarmType()

Gets the alarm type.

Returns:

AlarmType enumeration.

getBackedUpStatus()

public Boolean getBackedUpStatus()

Gets the backed-up status.

If the value of this object is true, the agent reported in this notification that the failed object had been backed up.

Returns:

The backed-up status.

getBackUpObject()

public javax.management.ObjectName getBackUpObject()

Gets the back-up object.

Indicates the object that provided back-up services to the failed object.

Returns:

The ObjectName of the back-up object.

getFailedSwitchComponentList()

public java.util.Set getFailedSwitchComponentList()

Gets the list of failed switch components.

Returns:

The list of failed switch components.

getPerceivedSeverity()

public com.sun.ctmgx.moh.AlarmSeverity getPerceivedSeverity()

Gets the perceived severity of the alarm.

Returns:

One of the constants for perceived severity defined in the class com.sun.ctmgx.moh.AlarmSeverity.

getProposedRepairActions()

public java.lang.String getProposedRepairActions()

Gets the proposed repair actions.

Indicates proposed repair actions reported by the agent for the problem identified by the alarm. If more than one action is described in this object, the problem descriptions are separated by newline characters.

Returns:

The proposed repair actions.

getSpecificProblems()

public java.lang.String getSpecificProblems()

Gets the specific problems of the alarm.

Indicates further refinements to the problem identified by the alarm type. If more than one specific problem is described in this object, the problem descriptions are separated by newline characters.

Returns:

The specific problems of the alarm.

AlarmNotificationFilter

Declaration

public class AlarmNotificationFilter implements java.io.Serializable

 

java.lang.Object
  |
  +--com.sun.ctmgx.moh.AlarmNotificationFilter

All Implemented Interfaces:

javax.management.NotificationFilter,java.io.Serializable

Description

This class describes the filtering of AlarmNotification notifications by selecting the types and severities of interest.

It manages a list of enabled types and severities for which notifications should be sent. Methods in this class allow users to enable/disable (allow/disallow of notifications based on severities and types) as many types and severities as required.

Member Summary

Constructors

 

AlarmNotificationFilter()

Methods

void

disableAlarmType(AlarmType type)

Disables a specific alarm type.

void

disableAllAlarmTypes()

Disables all alarm types.

void

disableAllSeverities()

Disables all the severities that were enabled.

void

disableSeverity(AlarmSeverity severity)

Disables a specific severity type. Removes a severity for which you are no longer interested in receiving notifications.

void

enableAlarmType(AlarmType type)

Enables a specific type.

void

enableAllAlarmTypes()

Enables all alarm types.

void

enableSeverity(AlarmSeverity severity)

Adds a severity for which you are interested in receiving notifications.

java.util.Vector

getEnabledAlarmTypes()

Gets the alarm types currently enabled.

java.util.Vector

getEnabledSeverities()

Gets the list of enabled severities for this filter.

Boolean

isNotificationEnabled(javax.management.Notification notification)

Queries whether notification is needed.


Inherited Member Summary

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait


Constructors

AlarmNotificationFilter()

public AlarmNotificationFilter()

Methods

disableAlarmType(AlarmType)

public void disableAlarmType(com.sun.ctmgx.moh.AlarmType type)

Disables a specific alarm type. To disable a specific Alarm type. If all alarm types are enabled through an enableAllAlarmTypes() call, this call will not have any effect.

disableAllAlarmTypes()

public void disableAllAlarmTypes()

Disables all alarm types. This method disables all enabled Alarm types as well as the effect of the enableAllAlarmTypes() call.

disableAllSeverities()

public void disableAllSeverities()

Disables all the severities that were enabled.

disableSeverity(AlarmSeverity)

public void disableSeverity(com.sun.ctmgx.moh.AlarmSeverity severity)

Disables a specific severity type. Remove a severity for which you are no longer interested in receiving notifications.

Parameters:

severity - The severity value.

enableAlarmType(AlarmType)

public void enableAlarmType(com.sun.ctmgx.moh.AlarmType type)

This enables a specific Alarm type. If all Alarm types are already enabled through the enableAllAlarmTypes() call, then type is also already enabled. In this case, to enable just a specific Alarm type, disableAllAlarmTypes() call has to be performed first and then this method can be invoked.

enableAllAlarmTypes()

public void enableAllAlarmTypes()

Enables all alarm types.This will enable all kinds of Alarm. This call enables the notifications with the type string that have a prefix of AlarmType.ALARM_TYPE_PREFIX, for example netract.moh.alarm.

enableSeverity(AlarmSeverity)

public void enableSeverity(com.sun.ctmgx.moh.AlarmSeverity severity)
throws IllegalArgumentException

Adds a severity for which you are interested in receiving notifications.

Parameters:

severity - The severity value.

Throws:

java.lang.IllegalArgumentException

getEnabledAlarmTypes()

public java.util.Vector getEnabledAlarmTypes()

Gets the alarm types currently enabled.

Returns:

A vector of strings representing alarm types.

getEnabledSeverities()

public java.util.Vector getEnabledSeverities()

Gets the list of enabled severities for this filter.

Returns:

The list containing the severities for which notifications should be sent.

isNotificationEnabled(Notification)

public Boolean isNotificationEnabled(javax.management.Notification notification)

Queries whether notification is needed. This method is invoked before sending the specified notification to the listener.

This filter compares the type and severity of the specified alarm notification with each enabled type and severity. If the type equals one of the enabled types and the severity equals one of the enabled severities, the notification must be sent to the listener so this method returns true.

Parameters:

notification - The alarm notification to be sent.

Returns:

true if the notification has to be sent to the listener, false otherwise.

AlarmSeverity

Declaration

public class AlarmSeverity implements java.io.Serializable

java.lang.Object

|

+--com.sun.ctmgx.moh.AlarmSeverity

All Implemented Interfaces:

java.io.Serializable

Description

This class defines the alarm severity objects for use with alarm notification.

Member Summary

Fields

static AlarmSeverity

CLEARED

Indicates that the alarm condition is clear.

static AlarmSeverity

CRITICAL

Indicates that the alarm is critical.

static AlarmSeverity

INDETERMINATE

Indicates that the alarm condition is indeterminate.

static AlarmSeverity

MAJOR

Indicates that the alarm is major.

static AlarmSeverity

MINOR

Indicates that the alarm is minor.

static AlarmSeverity

WARNING

Indicates that the alarm is minor.

Methods

Boolean

equals(java.lang.Object obj)

int

hashCode()

int

intValue()

java.lang.String

toString()


Inherited Member Summary

Methods inherited from class java.lang.Object

getClass(), notify(), notifyAll(), wait(), wait(), wait()


Fields

CLEARED

public static final com.sun.ctmgx.moh.AlarmSeverity CLEARED

Indicates the alarm condition is clear.

CRITICAL

public static final com.sun.ctmgx.moh.AlarmSeverity CRITICAL

Indicates the alarm is critical.

INDETERMINATE

public static final com.sun.ctmgx.moh.AlarmSeverity INDETERMINATE

Indicates the alarm condition is indeterminate.

MAJOR

public static final com.sun.ctmgx.moh.AlarmSeverity MAJOR

Indicates the alarm is major.

MINOR

public static final com.sun.ctmgx.moh.AlarmSeverity MINOR

Indicates the alarm is minor.

WARNING

public static final com.sun.ctmgx.moh.AlarmSeverity WARNING

Indicates the alarm is a warning

Methods

equals(Object)

public Boolean equals(java.lang.Object obj)

Overrides:

equals in class Object

hashCode()

public int hashCode()

Overrides:

hashCode in class Object

intValue()

public int intValue()

toString()

public java.lang.String toString()

Overrides:

toString in class Object

AlarmType

Declaration

public class AlarmType extends jaba.lang.Object implements java.io.Serializable

java.lang.Object
|
+--
com.sun.ctmgx.moh.AlarmType

All Implemented Interfaces:

java.io.Serializable

Description

This class is an enumeration of predefined Alarm types; the user needs to use one of the predefined types to construct an AlarmNotification object.

Member Summary

Fields

static AlarmType

FAN_FAILURE

Alarm type that indicates a fan failure alarm.

static AlarmType

FUSE_FAILURE

Alarm type that indicates a fuse failure alarm.

static AlarmType

HIGH_MEMORY_UTILIZATION

Alarm type that indicates a high physical memory utilization alarm.

static AlarmType

HIGH_TEMPERATURE

Alarm type that indicates a high temperature alarm.

Methods

Boolean

equals(java.lang.Object obj)

int

hashCode()

java.lang.String

toString()


Inherited Member Summary

Methods inherited from class java.lang.Object

getClass(), notify(), notifyAll(), wait(), wait(), wait()


Fields

FAN_FAILURE

public static final com.sun.ctmgx.moh.AlarmType FAN_FAILURE

Alarm type that indicates a fan failure alarm.

FUSE_FAILURE

public static final com.sun.ctmgx.moh.AlarmType FUSE_FAILURE

Alarm type that indicates a fuse failure alarm.

HIGH_MEMORY_UTILIZATION

public static final com.sun.ctmgx.moh.AlarmType HIGH_MEMORY_UTILIZATION

Alarm type that indicates a high physical memory utilization alarm.

HIGH_TEMPERATURE

public static final com.sun.ctmgx.moh.AlarmType HIGH_TEMPERATURE

Alarm type that indicates a high temperature alarm.

Methods

equals(Object)

public Boolean equals(java.lang.Object obj)

Overrides:

equals in class Object.

hashCode()

public int hashCode()

Overrides:

hashCode in class Object.

intValue()

public int intValue()

toString()

public java.lang.String toString()

Overrides:

toString in class Object.

AttributeChangeNotification

Declaration

public class AttributeChangeNotification extends javax.management.AttributeChangeNotification

java.lang.Object
  |
  +--java.util.EventObject
      |
      +--javax.management.Notification
          |
           +--javax.management.AttributeChangeNotification
              |
               +--com.sun.ctmgx.moh.AttributeChangeNotification

All Implemented Interfaces

java.io.Serializable

Description

This class defines definitions of the attribute change notifications sent by MBeans.

It is up to the MBean owning the attribute of interest to create and send attribute change notifications when the attribute change occurs, so the NotificationBroadcaster interface has to be implemented by any MBean interested in sending attribute change notifications.

 

Member Summary

Fields

static java.lang.String

ATTRIBUTE_CHANGE

Notification type that indicates that the observed MBean attribute value has changed.

Constructors

AttributeChangeNotification

(java.lang.Object source, long sequenceNumber, java.lang.String message, java.lang.String attributeName, java.lang.String attributeType, java.lang.Object oldValue, java.lang.Object newValue)

Constructs an attribute change notification object whose type string is netract.moh.attribute.change. In addition to the information common to all notifications, the caller must supply the name and type of the attribute, as well as its old and new values.

Methods

java.lang.String

getType()

Gets type of notification.


Inherited Member Summary

Methods inherited from class Object

clone(), equals(Object), finalize(), getClass(), hashCode(), notify(), notifyAll(), toString(), wait(), wait(), wait()


Fields

ATTRIBUTE_CHANGE

public static final java.lang.String ATTRIBUTE_CHANGE

Notification type that indicates that the observed MBean attribute value has changed.

The value of this type string is netract.moh.attribute.change.

Constructors

AttributeChangeNotification

public AttributeChangeNotification(java.lang.Object source, long sequenceNumber, java.lang.String message, java.lang.String attributeName, java.lang.String attributeType, java.lang.Object oldValue, java.lang.Object newValue)

Construct an attribute change notification object whose type string is netract.moh.attribute.change. In addition to the information common to all notifications, the caller must supply the name and type of the attribute, as well as its old and new values.

Parameters:

source - The notification source, that is, the MBean that emits the notification.

sequenceNumber - The notification sequence number within the source object.

message - A String containing the message of the notification.

attributeName - A String specifying the name of the attribute.

attributeType - A String specifying the type of the attribute.

oldValue - An object representing the value of the attribute before the change.

newValue - An object representing the value of the attribute after the change.

Methods

getType()

public java.lang.String getType()

Gets the notification type.

Overrides:

getType in class javax.management.Notification

Returns:

ATTRIBUTE_CHANGE. The method of javax.management.Notification is overridden to return ATTRIBUTE_CHANGE.

AttributeChangeNotificationFilter

Declaration

public class AttributeChangeNotificationFilter extends javax.management.AttributeChangeNotificationFilter

java.lang.Object
  |
  +--javax.management.AttributeChangeNotificationFilter
       |
        +--com.sun.ctmgx.moh.AttributeChangeNotificationFilter

All Implemented Interfaces

javax.management.NotificationFilter, java.io.Serializable

Description

This class describes the filtering performed on the name of the observed attribute.

It manages a list of enabled attributes for which notifications should be sent when their attribute changes. A method in this class allows users to decide whether notifications should be sent for attribute changes.

Member Summary

Constructors

 

AttributeChangeNotificationFilter()

Methods

Boolean

isNotificationEnabled(Notification notification)

This method is invoked before sending the specified notification to the listener.


Inherited Member Summary

Methods inherited from class javax.management.AttributeChangeNotificationFilter

disableAllAttributes, disableAttribute, enableAttribute, getEnabledAttributes

Methods inherited from class java.lang.Object

equals(Object), getClass(), hashCode(), notify(), notifyAll(), toString(), wait(), wait(), wait()


 

 

Constructors

AttributeChangeNotificationFilter

public AttributeChangeNotificationFilter()

Methods

isNotificationEnabled(Notification)

public Boolean isNotificationEnabled(javax.management.Notification notification)

This method is invoked before sending the specified notification to the listener.

This filter compares the attribute name of the specified attribute change notification with each enabled attribute name. If the attribute name equals one of the enabled attribute names, the notification must be sent to the listener so this method returns true.

Parameters:

notification - The attribute change notification to be sent.

Returns:

true if the notification has to be sent to the listener, false otherwise.

AuthClient

Declaration

public class AuthClient extends java.lang.Object

java.lang.Object
   |
   +--com.sun.ctmgx.moh.AuthClient

Description

This class defines the client utility routines, particularly for authentication.

 

Member Summary

Constructors

 

AuthClient()

Methods

static void

setAuthInfo(com.sun.jdmk.comm.RmiConnectorClient client, java.lang.String user, java.lang.String passwd)

Set the authentication information for a Connector client.


Inherited Member Summary

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait


 

Constructor

AuthClient

public AuthClient()

Method

setAuthInfo

public static void
setAuthInfo(com.sun.jdmk.comm.RmiConnectorClient client, java.lang.String user, java.lang.String passwd)

Set the authentication information for a Connector client.

Parameters:

client - an instance of RmiConnectorClient.

user - The username which is the same as the user configured on the Alarm card.

passwd - The password as configured on the Alarm card for the username.

AvailabilityStatus

Declaration

public class AvailabilityStatus extends java.lang.Object implements java.io.Serializable

java.lang.Object
  |
  +--com.sun.ctmgx.moh.AvailabilityStatus

All Implemented Interfaces:

java.io.Serializable

Description

This class defines the availability status for a plug-in unit object.

Member Summary

Fields

static AvailabilityStatus

AVAILABLE

This class defines the availability status for a plug-in unit object.

static AvailabilityStatus

DEPENDENCY

Indicates the object is in dependency state.

static AvailabilityStatus

FAILED

Indicates the object is in failed state.

static AvailabilityStatus

INTEST

Indicates the object is under test.

static AvailabilityStatus

NOTINSTALLED

Indicates the object is not properly configured.

static AvailabilityStatus

OFFLINE

Indicates the object is in offline state.

static AvailabilityStatus

POWEROFF

Indicates the object is in power off state.

static AvailabilityStatus

UNKNOWN

Indicates the state of the object is unknown.

Methods

Boolean

equals(java.lang.Object obj)

int

hashCode()

int

intValue()

java.lang.String

toString()


Inherited Member Summary

Methods inherited from class java.lang.Object

getClass(), notify(), notifyAll(), wait(), wait(), wait()


 

Fields

AVAILABLE

public static final com.sun.ctmgx.moh.AvailabilityStatus AVAILABLE

Indicates the object is capable of performing its normal function.

DEPENDENCY

public static final com.sun.ctmgx.moh.AvailabilityStatus DEPENDENCY

Indicates the object is in dependency state.

FAILED

public static final com.sun.ctmgx.moh.AvailabilityStatus FAILED

Indicates the object is in failed state.

INTEST

public static final com.sun.ctmgx.moh.AvailabilityStatus INTEST

Indicates the object is under test.

NOTINSTALLED

public static final com.sun.ctmgx.moh.AvailabilityStatus NOTINSTALLED

Indicates the object is not properly configured

OFFLINE

public static final com.sun.ctmgx.moh.AvailabilityStatus OFFLINE

Indicates the object is in offline state.

POWEROFF

public static final com.sun.ctmgx.moh.AvailabilityStatus POWEROFF

Indicates the object is in power off state.

UNKNOWN

public static final com.sun.ctmgx.moh.AvailabilityStatus UNKNOWN

Indicates the object is unknown.

Methods

equals(Object)

public Boolean equals(java.lang.Object obj)

Overrides:

equals in class Object

hashCode()

public int hashCode()

Overrides:

hashCode in class Object

intValue()

public int intValue()

toString()

public java.lang.String toString()

Overrides:

toString in class Object

EquipmentHolderType

Declaration

public class EquipmentHolderType extends java.lang.Object implements java.io.Serializable

 
java.lang.Object
  |
  +--com.sun.ctmgx.moh.EquipmentHolderType

All Implemented Interfaces:

java.io.Serializable

 

Member Summary

Fields

static EquipmentHolderType

DRAWER

This type is currently not supported in Netra CT 410/810.

static EquipmentHolderType

RACK

This type is currently not supported in Netra CT 410/810.

static EquipmentHolderType

SHELF

This type is currently not supported in Netra CT 410/810.

static EquipmentHolderType

SLOT

This type is currently not supported in Netra CT 410/810.

Methods

Boolean

equals(java.lang.Object obj)

int

hashCode()

int

intValue()

java.lang.String

toString()


Inherited Member Summary

Methods inherited from class Object

getClass(), notify(), notifyAll(), wait(), wait(), wait()


Fields

DRAWER

public static final com.sun.ctmgx.moh.EquipmentHolderType DRAWER

This type is currently not supported in Netra CT 410/810.

RACK

public static final com.sun.ctmgx.moh.EquipmentHolderType RACK

This type is currently not supported in Netra CT 410/810.

SHELF

public static final com.sun.ctmgx.moh.EquipmentHolderType SHELF

This type is currently not supported in Netra CT 410/810.

SLOT

public static final com.sun.ctmgx.moh.EquipmentHolderType SLOT

Holder type SLOT such as disk slot, fan slot, power supply slot, or CPCI slots.

Methods

equals(Object)

public Boolean equals(java.lang.Object obj)

Overrides:

equals in class Object

hashCode()

public int hashCode()

Overrides:

hashCode in class Object

intValue()

public int intValue()

toString()

public java.lang.String toString()

Overrides:

toString in class Object

LogFullAction

Declaration

public class LogFullAction extends java.lang.Object implements java.io.Serializable

 
java.lang.Object
  |
  +--com.sun.ctmgx.moh.LogFullAction

All Implemented Interfaces

java.io.Serializable

Description

This class describes the action to perform when the log is full. For Netra CT 410/CT 810, this class is not supported.

Member Summary

Fields

static LogFullAction

HALT

static LogFullAction

WRAP

Methods

int

intValue()

java.lang.String

toString()


Inherited Member Summary

Methods inherited from class Object

getClass(), notify(), notifyAll(), wait(), wait(), wait()


 

HALT

public static final LogFullAction HALT

WRAP

public static final LogFullAction WRAP

Methods

intValue()

public int intValue()

toString()

public java.lang.String toString()

Overrides: toString in class java.lang.Object

MohNames

Declaration

public class MohNames extends java.lang.Object

 
java.lang.Object
  |
  +--com.sun.ctmgx.moh.MohNames

Description

This class defines the public constants and static variables for MOH user to communicate to the MBean server. For example:

Inherited Member Summary

Methods inherited from class Object

equals(Object), getClass(), hashCode(), notify(), notifyAll(), toString(), wait(), wait(), wait()


Fields

CLASS_NAME_ASP

public static final java.lang.String CLASS_NAME_ASP

AlarmSeverityProfile Class Name.

CLASS_NAME_EFD

public static final java.lang.String CLASS_NAME_EFD

EFD Class Name.

 
CLASS_NAME_SOFTWAREMONITOR

public static final java.lang.String CLASS_NAME_SOFTWAREMONITOR

SoftwareMonitor Class Name.

DESCR_ALARM

public static final java.lang.String DESCR_ALARM

Notification Description: AlarmNotification

DESCR_ATTRIBUTE_CHANGE

public static final java.lang.String DESCR_ATTRIBUTE_CHANGE

Notification Description: AttributeChangeNotification

DESCR_OBJECT_CREATION

public static final java.lang.String DESCR_OBJECT_CREATION

Notification Description: ObjectCreationNotification

DESCR_OBJECT_DELETION

public static final java.lang.String DESCR_OBJECT_DELETION

Notification Description: ObjectDeletionNotification

DESCR_STATE_CHANGE

public static final java.lang.String DESCR_STATE_CHANGE

Notification Description: StateChangeNotification

MOH_CONTAINMENT_TREE

public static javax.management.ObjectName MOH_CONTAINMENT_TREE

The object name of the only instance of ContainmentTreeMBean. The value is DOMAIN + ":name=ContainmentTree"

MOH_DEFAULT_ASP

public static javax.management.ObjectName MOH_DEFAULT_ASP

The object name used by the MOH implementation for registering the default Alarm Severity Profile MBean. The value is DOMAIN + ":name=AlarmSeverityProfile,id=0".

MOH_DEFAULT_EFD

public static javax.management.ObjectName MOH_DEFAULT_EFD

The object name used by the MOH implementation for registering the default EFD MBean.

The value is DOMAIN + ":name=EFD".

MOH_SOFTWARE_MONITOR

public static ObjectName MOH_SOFTWARE_MONITOR

The object name used by the MOH implementation for registering the Software Monitor MBean. The value is DOMAIN + ":name=softwaremonitor".

ObjectCreationNotification

Declaration

public class ObjectCreationNotification extends TopologyChangeNotification

 

java.lang.Object
  |
  +--java.util.EventObject
       |
        +--javax.management.Notification
            |
             +--com.sun.ctmgx.moh.TopologyChangeNotification
                    |
                    +--com.sun.ctmgx.moh.ObjectCreationNotification

Description

This class defines the creation notifications sent by MBeans.

It is up to the parent MBean, which creates the child MBean, to send the object creation notification, so the NotificationBroadcaster interface has to be implemented by the parent MBean.

 

Member Summary

Fields

static java.lang.String

OBJECT_CREATION

Notification type denoting that an MBean has been created.

Constructors

 

ObjectCreationNotification(java.lang.Object source, long sequenceNumber, java.lang.String message, javax.management.ObjectName child, javax.management.ObjectName parent)

Creates an ObjectCreationNotification object specifying the object names of the created MBean and the parent of the created MBean in the containment hierarchy.

Methods

javax.management.ObjectName

getChildMBeanName()

Gets the object name of the created or deleted MBean.

javax.management.ObjectName

getParentMBeanName()

Gets the object name of the parent of the created or deleted MBean in the containment hierarchy.


Inherited Member Summary

Methods inherited from class javax.management.Notification

getMessage, getSequenceNumber, getSource, getTimeStamp, getType, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData

Methods inherited from class java.lang.Object

toString

Methods inherited from class java.lang.Object

equals(Object), getClass(), hashCode(), notify(), notifyAll(), toString(), wait(), wait(), wait()


Fields

OBJECT_CREATION

public static final java.lang.String OBJECT_CREATION

Notification type denoting that an MBean has been created.

The value of this type string is netract.moh.object.creation.

Constructors

ObjectCreationNotification

public ObjectCreationNotification(java.lang.Object source, long sequenceNumber, java.lang.String message, javax.management.ObjectName child, javax.management.ObjectName parent)

Creates an ObjectCreationNotification object specifying the object names of the created MBean and the parent of the created MBean in the containment hierarchy.

Parameters:

source - The notification source, that is, the MBean that emits the notification.

sequenceNumber - The notification sequence number within the source object.

message - A String containing the message of the notification.

child - The object name of the created MBean, that is, the child MBean in the containment hierarchy.

parent - The object name of the parent MBean in the containment hierarchy.

Methods

getChildMBeanName()

public javax.management.ObjectName getChildMBeanName()

Gets the object name of the created or deleted MBean.

Returns:

The ObjectName of the created or deleted MBean.

getParentMBeanName()

public javax.management.ObjectName getParentMBeanName()

Gets the object name of the parent of the created/deleted MBean in the containment hierarchy.

Returns:

The ObjectName of the parent MBean.

ObjectDeletionNotification

Declaration

public class ObjectDeletionNotification extends TopologyChangeNotification

 
java.lang.Object
  |
  +--java.util.EventObject
        |
        +--javax.management.Notification
             |
              +--com.sun.ctmgx.moh.TopologyChangeNotification
                    |
                    +-com.sun.ctmgx.moh.ObjectDeletionNotification

Description

This class defines the deletion notifications sent by MBeans.

Member Summary

Fields

static java.lang.String

OBJECT_DELETION

Notification type denoting that an MBean has been deleted.

Constructors

 

ObjectDeletionNotification(java.lang.Object source, long sequenceNumber, java.lang.String message, javax.management.ObjectName child, javax.management.ObjectName parent)

Creates an ObjectDeletionNotification object specifying the object names of the deleted MBean and the parent of the deleted MBean in the containment hierarchy.

Methods

javax.management.ObjectName

getChildMBeanName()

Gets the object name of the created/deleted MBean.

javax.management.ObjectName

getParentMBeanName()

Gets the object name of the parent of the created/deleted MBean in the containment hierarchy.


Inherited Member Summary

Methods inherited from class javax.management.Notification

getMessage, getSequenceNumber, getSource, getTimeStamp, getType, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData

Methods inherited from class java.util.EventObjec

toString

Methods inherited from class java.lang.Object

equals(Object), getClass(), hashCode(), notify(), notifyAll(), toString(), wait(), wait(), wait()


Fields

OBJECT_DELETION

public static final java.lang.String OBJECT_DELETION

Notification type denoting that an MBean has been deleted.

The value of this type string is netract.moh.object.deletion.

Constructors

ObjectDeletionNotification

public ObjectDeletionNotification(java.lang.Object source, long sequenceNumber, java.lang.String message, javax.management.ObjectName child, javax.management.ObjectName parent)

Creates an ObjectDeletionNotification object specifying the object names of the deleted MBean and the parent of the deleted MBean in the containment hierarchy.

Parameters:

source - The notification source, that is, the MBean that emits the notification.

sequenceNumber - The notification sequence number within the source object.

message - A String containing the message of the notification.

child - The object name of the deleted MBean, that is, the child MBean in the containment hierarchy.

parent - The object name of the parent MBean in the containment hierarchy.

Methods

getChildMBeanName()

public javax.management.ObjectName getChildMBeanName()

Gets the object name of the created or deleted MBean.

Returns:

The ObjectName of the created or deleted MBean.

getParentMBeanName()

public javax.management.ObjectName getParentMBeanName()

Gets the object name of the parent of the created or deleted MBean in the containment hierarchy.

Returns:

The ObjectName of the parent MBean.

OperationalState

Declaration

public class OperationalState extends java.lang.Object implements java.io.Serializable

 
java.lang.Object
  |
  +--com.sun.ctmgx.moh.OperationalState

All Implemented Interfaces

java.io.Serializable

Description

This class defines the operational states of a device (equipment or plug-in):

 

Member Summary

Fields

static OperationalState

DISABLED

Device is incapable of performing its normal function.

static OperationalState

ENABLED

Device is capable of performing its normal function.

static OperationalState

UNKNOWN

State of this device can not be determined.

Methods

Boolean

equals(java.lang.Object obj)

int

hashCode()

int

intValue()

java.lang.String

toString()


Inherited Member Summary

Methods inherited from class Object

getClass(), notify(), notifyAll(), wait(), wait(), wait()


Fields

DISABLED

public static final com.sun.ctmgx.moh.OperationalState DISABLED

Device is incapable of performing its normal function.

ENABLED

public static final com.sun.ctmgx.moh.OperationalState ENABLED

Device is capable of performing its normal function.

UNKNOWN

public static final com.sun.ctmgx.moh.OperationalState UNKNOWN

State of this device cannot be determined.

Methods

equals(Object)

public Boolean equals(java.lang.Object obj)

Overrides:

equals in class Object

hashCode()

public int hashCode()

Overrides:

hashCode in class Object

intValue()

public int intValue()

toString()

public java.lang.String toString()

Overrides: toString in class Object

SlotStatus

Declaration

public class SlotStatus extends java.lang.Objec implements java.io.Serializable

 
java.lang.Object
  |
  +--com.sun.ctmgx.moh.SlotStatus

All Implemented Interfaces

java.io.Serializable

Description

This class defines the status of the slot object.

 

Member Summary

Fields

static SlotStatus

EMPTY

No card or device is plugged into this slot.

static SlotStatus

FULL

A card or device is plugged into this slot.

Methods

Boolean

equals(java.lang.Object obj)

int

hashCode()

int

intValue()

java.lang.String

toString()


Inherited Member Summary

Methods inherited from class Object

getClass(), notify(), notifyAll(), wait(), wait(), wait()


 

Fields

EMPTY

public static final com.sun.ctmgx.moh.SlotStatus EMPTY

No card or device is plugged into this slot.

FULL

public static final com.sun.ctmgx.moh.SlotStatus FULL

There is a card or device plugged into this slot.

Methods

equals(Object)

public Boolean equals(java.lang.Object obj)

Overrides:

equals in class Object

hashCode()

public int hashCode()

Overrides:

hashCode in class Object

intValue()

public int intValue()

toString()

public java.lang.String toString()

Overrides:

toString in class Object

StateChangeNotification

Declaration

public class StateChangeNotification extends javax.management.AttributeChangeNotification

 
java.lang.Object
  |
  +--java.util.EventObject
       |
       +--javax.management.Notification
           |
            +--javax.management.AttributeChangeNotification
                  |
                  +--com.sun.ctmgx.moh.StateChangeNotification

Description

This class defines the state change notifications sent by MBeans.

It is up to the MBean owning the state attribute of interest to create and send state change notifications when the state attribute change occurs, so the NotificationBroadcaster interface has to be implemented by any MBean interested in sending state change notifications.

Member Summary

Fields

static java.lang.String

STATE_CHANGE

Notification type that indicates that the observed MBean state attribute value has changed.

Constructors

 

StateChangeNotification(java.lang.Object source, long sequenceNumber, java.lang.String message, java.lang.String attributeName, java.lang.String attributeType, java.lang.Object oldValue, java.lang.Object newValue)

Constructs a state change notification object whose type string is netract.moh.state.change In addition to the information common to all notifications, the caller must supply the name and type of the attribute, as well as its old and new values.

Methods

java.lang.String

getType()

Gets notification type. The method of javax.management.Notification is overridden to return STATE_CHANGE.


Inherited Member Summary

Methods inherited from class javax.management.AttributeChangeNotification

getAttributeName, getAttributeType, getNewValue, getOldValue

Methods inherited from class javax.management.Notification

getMessage, getSequenceNumber, getSource, getTimeStamp, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData

Methods inherited from class java.util.Event.Object

toString

Methods inherited from class java.lang.Object

equals(Object), getClass(), hashCode(), notify(), notifyAll(), wait(), wait(), wait()


 

Fields

STATE_CHANGE

public static final java.lang.String STATE_CHANGE

Notification type which indicates that the observed MBean state attribute value has changed.

The value of this type string is netract.moh.state.change.

Constructors

StateChangeNotification

public StateChangeNotification(java.lang.Object source, long sequenceNumber, java.lang.String message, java.lang.String attributeName, java.lang.String attributeType, java.lang.Object oldValue, java.lang.Object newValue)

Constructs a state change notification object whose type string is netract.moh.state.change. In addition to the information common to all notifications, the caller must supply the name and type of the attribute, as well as the attribute's old and new values.

Parameters:

source - The notification source, that is, the MBean that emits the notification.

sequenceNumber - The notification sequence number within the source object.

message - A String containing the message of the notification.

attributeName - A String specifying the name of the state attribute.

attributeType - A String specifying the type of the state attribute.

oldValue - An object representing the value of the state attribute before the change.

newValue - An object representing the value of the state attribute after the change.

Methods

getType()

public java.lang.String getType()

Gets notification type. The method of javax.management.Notification is overridden to return STATE_CHANGE.

Overrides:

getType in class javax.management.Notification

 

StateChangeNotificationFilter

Declaration

public class StateChangeNotificationFilter extends javax.management.AttributeChangeNotificationFilter

 

java.lang.Object
  |
  +--javax.management.AttributeChangeNotificationFilter
       |
        +--com.sun.ctmgx.moh.StateChangeNotificationFilter

All Implemented Interfaces

javax.management.NotificationFilter, java.io.Serializable

Description

This class describes the filtering performed on the name of the observed attribute.

It manages a list of enabled attributes for which notifications should be sent when their attribute changes. A method of this class allows users to enable or disable (allow or disallow notifications to be sent) as many attribute names as required.

Member Summary

Constructors

 

StateChangeNotificationFilter()

Methods

Boolean

isNotificationEnabled(javax.management.Notification notification)

This method is invoked before sending the specified notification to the listener.


Inherited Member Summary

Methods inherited from class javax.management.AttributeChangeNotificationFilter

disableAllAttributes, disableAttribute, enableAttribute, getEnabledAttributes

Methods inherited from class java.lang.Object

equals(Object), getClass(), hashCode(), notify(), notifyAll(), toString(), wait(), wait(), wait()


Constructors

StateChangeNotificationFilter

public StateChangeNotificationFilter()

Methods

isNotificationEnabled(Notification)

public Boolean isNotificationEnabled(javax.management.Notification notification)

This method is invoked before sending the specified notification to the listener.

This filter compares the state attribute name of the specified state change notification with each enabled attribute name. If the attribute name equals one of the enabled attribute names, the notification must be sent to the listener so this method returns true.

Overrides:

isNotificationEnabled in class javax.management.AttributeChangeNotificationFilter

Parameters:

notification - The attribute change notification to be sent.

Returns:

true if the notification has to be sent to the listener, false otherwise.