You are here: Domain Administration > Managing Domain Operations > Monitoring Domain Operation > Specifying Java JMX Options for Starting Brokers

Specifying Java JMX Options for Starting Brokers

Java Management Extensions (JMX) provide tools for monitoring applications that maintain MBeans. To use JMX to access the information supplied by NuoDB MBeans:

For example, on Linux, in the java-opts file, uncomment the second NUODB_AGENT_JAVA_OPTS line and add the options specified above. If necessary, append any options specified by $NUODB_JAVA_OPTS and ensure that the first NUODB_AGENT_JAVA_OPTS line is a comment. Here is a non-secure example of an updated java-opts file:

# Options passed to java when running "service nuoagent start"
#NUODB_AGENT_JAVA_OPTS=$NUODB_JAVA_OPTS
NUODB_AGENT_JAVA_OPTS="-Dcom.sun.management.jmxremote 
-Dcom.sun.management.jmxremote.ssl=false 
-Dcom.sun.management.jmxremote.port=19999 
-Dcom.sun.management.jmxremote.authenticate=false"

For more information about creating secure JMX connections, see http://docs.oracle.com/javase/6/docs/technotes/guides/management/agent.html.

For more information about monitoring NuoDB metrics and alarms, see Monitoring Domain Operation.