/
Remote monitoring

Remote monitoring

This guide provides details on configuring middleware / server for remote monitoring. Useful to understand server behavior in embedded devices.


Enable JMX monitoring in file : conf/jvm-wrapper.conf

Uncomment and adjust the lines starting with "com.sun.management.jmxremote" as needed.

Create files: jmx.access and jmx.password in conf folder

jmx.password
monitorRole  ODev
jmx.access
monitorRole   readonly

You must set 0600 permission to files: 

# chmod 0600 jmx.*

Restart Server

# ./bin/opendevice restart


Monitoring

Start jconsole on client machine, set remote ip and password, as folowing

Confirm Insecure


References:

http://download.oracle.com/javase/8/docs/technotes/guides/management/agent.html

If you want to configure security (SSL) for production applications read the guide:

Troubleshooting

  • If you are using an ARM device (eg. Beaglebone), you should install Java(TM) SE Embedded version with full profile, if the jconsole does not connect

Related content

Building from source
Building from source
More like this
Downloads
Downloads
More like this
Setting-up the Server
Setting-up the Server
More like this
Connecting Devices using MQTT
Connecting Devices using MQTT
More like this
Configuration
Configuration
More like this
Documentation
Documentation
More like this