Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-8721

Create a more useful example content for opennms.conf

    Details

      Description

      Here is the current content:

      #START_TIMEOUT=0
      #ADDITIONAL_MANAGER_OPTIONS=-d64
      #ADDITIONAL_MANAGER_OPTIONS="-XX:+PrintGCTimeStamps -XX:+PrintGCDetails"
      #JAVA_HEAP_SIZE=1024
      #MAXIMUM_FILE_DESCRIPTORS=20480
      
      # If you enable Flight Recorder, be aware of the implications since it is
      # a commercial feature of the Oracle JVM.
      #
      #ADDITIONAL_MANAGER_OPTIONS="${ADDITIONAL_MANAGER_OPTIONS} -XX:+UnlockCommercialFeatures -XX:+FlightRecorder -XX:StartFlightRecording=duration=600s,filename=opennms.jfr,delay=1h"
      

      I suggest:

      #START_TIMEOUT=0
      #JAVA_HEAP_SIZE=1024
      #MAXIMUM_FILE_DESCRIPTORS=204800
      
      #ADDITIONAL_MANAGER_OPTIONS="$ADDITIONAL_MANAGER_OPTIONS -d64 -XX:+PrintGCTimeStamps -XX:+PrintGCDetails"
      #ADDITIONAL_MANAGER_OPTIONS="$ADDITIONAL_MANAGER_OPTIONS -XX:+UseG1GC -XX:+UseStringDeduplication"
      #ADDITIONAL_MANAGER_OPTIONS="$ADDITIONAL_MANAGER_OPTIONS -Xloggc:/var/log/opennms/gc.log"
      
      # Configure Remote JMX
      #ADDITIONAL_MANAGER_OPTIONS="$ADDITIONAL_MANAGER_OPTIONS -Dcom.sun.management.jmxremote.port=18980"
      #ADDITIONAL_MANAGER_OPTIONS="$ADDITIONAL_MANAGER_OPTIONS -Dcom.sun.management.jmxremote.local.only=false"
      #ADDITIONAL_MANAGER_OPTIONS="$ADDITIONAL_MANAGER_OPTIONS -Dcom.sun.management.jmxremote.ssl=false"
      #ADDITIONAL_MANAGER_OPTIONS="$ADDITIONAL_MANAGER_OPTIONS -Dcom.sun.management.jmxremote.authenticate=true"
      
      # Listen on all interfaces (for JMX)
      #ADDITIONAL_MANAGER_OPTIONS="$ADDITIONAL_MANAGER_OPTIONS -Dopennms.poller.server.serverHost=0.0.0.0"
      
      # Accept remote RMI connections on this interface (for JMX)
      #ADDITIONAL_MANAGER_OPTIONS="$ADDITIONAL_MANAGER_OPTIONS -Djava.rmi.server.hostname=<your-server-ip-address>"
      
      # Configure SSL Keystore (required only when com.sun.management.jmxremote.ssl=true)
      #ADDITIONAL_MANAGER_OPTIONS="$ADDITIONAL_MANAGER_OPTIONS -Djavax.net.ssl.keyStore=/opt/opennms/etc/opennms.keystore"
      #ADDITIONAL_MANAGER_OPTIONS="$ADDITIONAL_MANAGER_OPTIONS -Djavax.net.ssl.keyStorePassword=changeit"
      
      # If you enable Flight Recorder, be aware of the implications since it is a commercial feature of the Oracle JVM.
      #ADDITIONAL_MANAGER_OPTIONS="$ADDITIONAL_MANAGER_OPTIONS -XX:+UnlockCommercialFeatures -XX:+FlightRecorder"
      #ADDITIONAL_MANAGER_OPTIONS="$ADDITIONAL_MANAGER_OPTIONS -XX:StartFlightRecording=duration=600s,filename=opennms.jfr,delay=1h"
      

        Attachments

          Activity

            People

            • Assignee:
              agalue Alejandro Galue
              Reporter:
              agalue Alejandro Galue
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: