com.cisco.oss.foundation.monitoring
Interface MonitoringAgentMXBean


public interface MonitoringAgentMXBean

It is the MXBean interface which will be implemented internally by the FoundationMXAgent.

Author:
manojc
See Also:
MonitoringAgent

Method Summary
 int getAgentPort()
          Gets the RMI port on which MonitoringAgent is registered.
 Date getAgentStartTime()
          Gets the Date when MonitoringAgent was registered.
 String getAgentVersion()
          Gets Version of the MonitoringAgent.
 int getExportedPort()
          Gets the port number on which the Monitoring information is exported.
 String getHostIP()
          Gets the IP of the host machine where MonitoringAgent runs.
 String getHostName()
          Gets the network name of the host machine where MonitoringAgent runs.
 void setAttributeValue(String path, int value)
          Allows the management information attributes to be written remotely.
 void setAttributeValue(String path, long value)
          Allows the management information attributes to be written remotely.
 void setAttributeValue(String path, String value)
          Allows the management information attributes to be written remotely.
 

Method Detail

getAgentStartTime

Date getAgentStartTime()
Gets the Date when MonitoringAgent was registered.

Returns:
Date when MonitoringAgent was registered.

getAgentVersion

String getAgentVersion()
Gets Version of the MonitoringAgent.

Returns:
Version of the MonitoringAgent.

getAgentPort

int getAgentPort()
Gets the RMI port on which MonitoringAgent is registered.

Returns:
RMI port on which MonitoringAgent is registered.

getExportedPort

int getExportedPort()
Gets the port number on which the Monitoring information is exported.

Returns:
The port number on which the Monitoring information is exported.

getHostIP

String getHostIP()
Gets the IP of the host machine where MonitoringAgent runs.

Returns:
IP of the host machine where MonitoringAgent runs.

getHostName

String getHostName()
Gets the network name of the host machine where MonitoringAgent runs.

Returns:
Network name of the host machine where MonitoringAgent runs.

setAttributeValue

void setAttributeValue(String path,
                       String value)
                       throws Exception
Allows the management information attributes to be written remotely.

Parameters:
path - Path of the attribute to be set.
value - Value to be set with
Throws:
Exception

setAttributeValue

void setAttributeValue(String path,
                       int value)
                       throws Exception
Allows the management information attributes to be written remotely.

Parameters:
path - Path of the attribute to be set.
value - Value to be set with
Throws:
Exception

setAttributeValue

void setAttributeValue(String path,
                       long value)
                       throws Exception
Allows the management information attributes to be written remotely.

Parameters:
path - Path of the attribute to be set.
value - Value to be set with
Throws:
Exception


Copyright © 2015 Cisco. All Rights Reserved.