- getAddress() - Method in class org.altlinux.jabbix.ZabbixClient
-
Returns the configured Zabbix server socket address.
- getCommand() - Method in class org.altlinux.jabbix.JabbixRequest
-
Returns the command that is set to be processed.
- getConnectionPredicates() - Method in class org.altlinux.jabbix.JabbixSecurityManager
-
Returns a set of connection predicates defining the permission to connect
to remote hosts.
- getDelay(TimeUnit) - Method in class org.altlinux.jabbix.ActiveMetricTable
-
Returns the remaining time for the queue data assumed to be fresh.
- getDelay(TimeUnit) - Method in class org.altlinux.jabbix.JabbixActiveMetric
-
Returns the remaining time for the next refresh of the metric.
- getErrorTag() - Method in exception org.altlinux.jabbix.JabbixException
-
Returns the textual string indicating the error code of the exception in
accordance with the Zabbix protocol.
- getErrorTag() - Method in exception org.altlinux.jabbix.JabbixProtocolException
-
Returns the textual string indicating the error code of the exception in
accordance with the Zabbix protocol.
- getErrorTag() - Method in exception org.altlinux.jabbix.NoSuchMetricException
-
Returns the textual string indicating the error code of the exception in
accordance with the Zabbix protocol.
- getErrorTag() - Method in exception org.altlinux.jabbix.UnknownCommandException
-
Returns the textual string indicating the error code of the exception in
accordance with the Zabbix protocol.
- getFreshMetric() - Method in class org.altlinux.jabbix.MetricRequest
-
Returns a new metric instance with the fresh value for the metric
specified on the request construction.
- getHostName() - Method in class org.altlinux.jabbix.ZabbixClient
-
Return the configured local host name.
- getKey() - Method in class org.altlinux.jabbix.JabbixMetric
-
Returns the name of the metric.
- getListenPredicates() - Method in class org.altlinux.jabbix.JabbixSecurityManager
-
Returns a set of connection predicates defining the permission to accept
connections from remote hosts.
- getMetric(String) - Method in class org.altlinux.jabbix.JabbixMetricAgent
-
Returns a metric object representing a value of a Jabbix program with the
specified key.
- getMetric(String) - Method in class org.altlinux.jabbix.metric.RandomNumberMetric
-
Returns a value of a normally distributed random number.
- getMetric(String) - Method in interface org.altlinux.jabbix.MetricAgent
-
Returns a
JabbixMetric
object containing the current value of a
metric with the specified key.
- getMetricAgent(String) - Method in class org.altlinux.jabbix.AgentServer
-
Returns a metric agent registered for a given metric key.
- getMetricAgentMap() - Method in class org.altlinux.jabbix.AgentServer
-
Returns the metric key -> metric agent map.
- getNextCheck() - Method in class org.altlinux.jabbix.JabbixActiveMetric
-
Returns the date and time this metric value should be refreshed
(on the target server).
- getNextRefresh() - Method in class org.altlinux.jabbix.ActiveMetricTable
-
Returns the queue expiration date and time.
- getPeriod() - Method in class org.altlinux.jabbix.JabbixActiveMetric
-
Returns the value refresh period (in milliseconds).
- getPool() - Method in class org.altlinux.jabbix.ActiveAgent
-
Returns the thread pool that is used for the asynchronous metric value
retrieval.
- getPool() - Method in class org.altlinux.jabbix.AgentServer
-
Returns the thread pool being used to process incoming requests.
- getPort() - Method in class org.altlinux.jabbix.AgentServer
-
Returns a port number of a server socket.
- getQueue() - Method in class org.altlinux.jabbix.ActiveMetricTable
-
Returns the queue with the active metric objects placed in accordance
with their expiration dates.
- getRandom() - Method in class org.altlinux.jabbix.metric.RandomNumberMetric
-
Returns the random number generator.
- getReader(InputStream) - Static method in class org.altlinux.jabbix.JabbixProtocol
-
Returns a reader connected to the specified stream.
- getRefreshPeriod() - Method in class org.altlinux.jabbix.ActiveAgent
-
Returns the refresh period of the active check list.
- getRefreshPeriod() - Method in class org.altlinux.jabbix.ActiveMetricTable
-
Returns the refresh period of the queue.
- getReturnTable() - Method in class org.altlinux.jabbix.ResponseQueue
-
Returns the queue object used to return sent metric objects to.
- getUpdated() - Method in class org.altlinux.jabbix.JabbixActiveMetric
-
Indicates when (and whether) the metric value was updated.
- getValue() - Method in class org.altlinux.jabbix.JabbixMetric
-
Returns the value of the metric.
- getValueType() - Method in class org.altlinux.jabbix.JabbixMetric
-
Returns a class for the value type of the metric.
- getWriter(OutputStream) - Static method in class org.altlinux.jabbix.JabbixProtocol
-
Returns a writer connected to the specified stream.
- JabbixActiveMetric<T> - Class in org.altlinux.jabbix
-
A metric with additional information to be used for active metric
reporting.
- JabbixActiveMetric(String, Class<T>, T, long, boolean) - Constructor for class org.altlinux.jabbix.JabbixActiveMetric
-
Creates a new active metric entry with the specified parameters.
- JabbixAgent - Class in org.altlinux.jabbix.apps
-
A Jabbix library-based program implementing a standalone Zabbix agent.
- JabbixAgent() - Constructor for class org.altlinux.jabbix.apps.JabbixAgent
-
- JabbixException - Exception in org.altlinux.jabbix
-
An exception indicating the general unexpected case in a working Jabbix
program.
- JabbixException(String) - Constructor for exception org.altlinux.jabbix.JabbixException
-
Creates an exception object with the specified message.
- JabbixException(Throwable) - Constructor for exception org.altlinux.jabbix.JabbixException
-
Creates an exception object with the specified cause.
- JabbixJSONProtocol - Class in org.altlinux.jabbix
-
Constants and functions for the Zabbix agent JSON based protocol.
- JabbixJSONProtocol() - Constructor for class org.altlinux.jabbix.JabbixJSONProtocol
-
- JabbixMetric<T> - Class in org.altlinux.jabbix
-
A metric, the named value representing certain parameter of a system.
- JabbixMetric(String, Class<T>, T) - Constructor for class org.altlinux.jabbix.JabbixMetric
-
Constructs a new metric with the specified name and value type.
- JabbixMetricAgent - Class in org.altlinux.jabbix
-
A
MetricAgent
implementation for the retrieval of some internal
Jabbix program values.
- JabbixMetricAgent() - Constructor for class org.altlinux.jabbix.JabbixMetricAgent
-
Creates a new instance of this metric agent.
- JabbixProtocol - Class in org.altlinux.jabbix
-
Constants and functions for the base Zabbix agent-server protocol.
- JabbixProtocol() - Constructor for class org.altlinux.jabbix.JabbixProtocol
-
- JabbixProtocolException - Exception in org.altlinux.jabbix
-
An exception indicating the Jabbix-protocol specified unexpected case in a
working Jabbix program.
- JabbixProtocolException(String) - Constructor for exception org.altlinux.jabbix.JabbixProtocolException
-
Creates an exception object with the specified message.
- JabbixProtocolException(Throwable) - Constructor for exception org.altlinux.jabbix.JabbixProtocolException
-
Creates an exception object with the specified cause.
- JabbixReader - Class in org.altlinux.jabbix
-
A stream reader implementing the base Jabbix protocol.
- JabbixReader(InputStream) - Constructor for class org.altlinux.jabbix.JabbixReader
-
Creates a reader for the given input stream.
- JabbixRequest - Class in org.altlinux.jabbix
-
A task object that is used to asynchronously query the value of a
metric.
- JabbixRequest(AgentServer, Socket) - Constructor for class org.altlinux.jabbix.JabbixRequest
-
Creates a request task object with the specified parametres.
- JabbixSecurityManager - Class in org.altlinux.jabbix
-
A SecurityManager
implementation used to manage access to and from a
Jabbix program.
- JabbixSecurityManager() - Constructor for class org.altlinux.jabbix.JabbixSecurityManager
-
Creates an instance of the manager.
- JabbixWriter - Class in org.altlinux.jabbix
-
A stream writer implementing the base Jabbix protocol.
- JabbixWriter(OutputStream) - Constructor for class org.altlinux.jabbix.JabbixWriter
-
Creates a writer for the given output stream.
- RandomNumberMetric - Class in org.altlinux.jabbix.metric
-
A sample metric agent for the Jabbix library querying the random
number generator for a value of a normally distributed random number.
- RandomNumberMetric(long) - Constructor for class org.altlinux.jabbix.metric.RandomNumberMetric
-
Creates a new random metric with a given seed.
- readAll() - Method in class org.altlinux.jabbix.JabbixReader
-
Reads the whole available data to the end of the stream.
- readMessage(boolean) - Method in class org.altlinux.jabbix.JabbixReader
-
Reads a message from the input stream.
- readMessage() - Method in class org.altlinux.jabbix.JabbixReader
-
Reads a message from the input stream.
- receiveActiveCheckList(JabbixReader) - Static method in class org.altlinux.jabbix.JabbixJSONProtocol
-
Reads and returns an active check list.
- receiveMetricListResponse(JabbixReader) - Static method in class org.altlinux.jabbix.JabbixJSONProtocol
-
Receives the server response for the sent metric data.
- removeSeparators(String) - Static method in class org.altlinux.jabbix.JabbixProtocol
-
Returns the given string with all separator characters removed.
- requestActiveCheckList(JabbixWriter, String) - Static method in class org.altlinux.jabbix.JabbixJSONProtocol
-
Requests a set of metrics for "active" monitoring.
- ResponseQueue - Class in org.altlinux.jabbix
-
A Zabbix server client that send metric values to the server when some value
expires its refresh period.
- ResponseQueue(InetSocketAddress, MetricTable<JabbixActiveMetric<?>>) - Constructor for class org.altlinux.jabbix.ResponseQueue
-
Create a response queue object with the specified parameters.
- run() - Method in class org.altlinux.jabbix.ActiveAgent
-
Starts the active check loop.
- run() - Method in class org.altlinux.jabbix.AgentServer
-
Starts a serving cycle.
- run() - Method in class org.altlinux.jabbix.JabbixRequest
-
Starts the request process.
- run() - Method in class org.altlinux.jabbix.MetricRequest
-
Used to retrieve and update the metric value asynchronously.
- run() - Method in class org.altlinux.jabbix.ResponseQueue
-
Starts the queue wait-and-send loop.
- sendMetricList(JabbixWriter, String, Collection<? extends JabbixMetric<?>>) - Static method in class org.altlinux.jabbix.JabbixJSONProtocol
-
Sends the set of metric values to a Zabbix server.
- SEPARATORS - Static variable in class org.altlinux.jabbix.JabbixProtocol
-
The set of message separators.
- SERVER_PORT - Static variable in class org.altlinux.jabbix.JabbixProtocol
-
The default Zabbix server port number (10051).
- setActive(boolean) - Method in class org.altlinux.jabbix.JabbixActiveMetric
-
Sets the metric "activity" status.
- setAddress(InetSocketAddress) - Method in class org.altlinux.jabbix.ZabbixClient
-
Sets the Zabbix server socket address.
- setAddress(String) - Method in class org.altlinux.jabbix.ZabbixClient
-
Configures a server socket address using the given host name and a
default Zabbix server port.
- setAddress(InetAddress) - Method in class org.altlinux.jabbix.ZabbixClient
-
Configures a server socket address using the given host address and a
default Zabbix server port.
- setAddress(byte[]) - Method in class org.altlinux.jabbix.ZabbixClient
-
Configures a server socket address using the given IP address and a
default Zabbix server port.
- setAgentServer(AgentServer) - Method in class org.altlinux.jabbix.MetricRequest
-
Sets the metric agent server to query for new values.
- setCommand(String) - Method in class org.altlinux.jabbix.JabbixRequest
-
Sets the command to be processed by this request.
- setConnectionPredicates(Collection<ConnectionPredicate>) - Method in class org.altlinux.jabbix.JabbixSecurityManager
-
Sets a set of connection predicates defining the permission to connect to
remote hosts.
- setHostName(String) - Method in class org.altlinux.jabbix.ZabbixClient
-
Sets the local host name to be used in sent messages.
- setListenPredicates(Collection<ConnectionPredicate>) - Method in class org.altlinux.jabbix.JabbixSecurityManager
-
Sets a set of connection predicates defining the permission to accept
connections from remote hosts.
- setMetricAgentMap(Map<String, MetricAgent>) - Method in class org.altlinux.jabbix.AgentServer
-
Sets the metric key -> metric agent map.
- setPool(ThreadPoolExecutor) - Method in class org.altlinux.jabbix.ActiveAgent
-
Sets the thread pool for the asynchronous metric value retrieval.
- setPool(ThreadPoolExecutor) - Method in class org.altlinux.jabbix.AgentServer
-
Sets the thread pool to be used to process incoming requests.
- setPort(int) - Method in class org.altlinux.jabbix.AgentServer
-
Sets a port number for a server socket.
- setRandom(Random) - Method in class org.altlinux.jabbix.metric.RandomNumberMetric
-
Sets a random generator.
- setRefreshPeriod(long) - Method in class org.altlinux.jabbix.ActiveAgent
-
Sets the refresh period of the active check list.
- setRefreshPeriod(long) - Method in class org.altlinux.jabbix.ActiveMetricTable
-
Sets the refresh period for the whole queue to the specified value.