1 # All you should need to do now is start opennms 2 3 4 # The below is now obsolete 5 6 7 8 9 # To run the nrtg feature follow this steps 10 # All commands marked as osgi> are for the karaf console. 11 # To connect to the karaf console ssh in like this 12 # ssh -p 8101 admin@localhost 13 # password is admin too 14 1. Start an activemq broker on localhost 15 16 There are two options for this: 17 18 a. download the apache activemq distribution and run it (bin/activemq console) 19 20 b. start one inside the opennms osgi container by running the 21 following commands: 22 23 osgi> feature:install activemq-blueprint 24 osgi> activemq:create-broker -t blueprint 25 26 2. Install the nrtg feature in the opennms osgi container 27 28 You may start this feature by running 29 30 osgi> feature:install nrtg 31 32 alternatively you may install the individual features for nrtg 33 34 osgi> feature:install osgi-nrtg-api osgi-nrtg-nrtcollector osgi-nrtg-protocolcollector-snmp 35 36 3. Install NRTG Web components 37 - Provide the org.opennms.features.nrtg/nrtg-web/1.11.3-SNAPSHOT to the local .m2/repository 38 or to the opennms/system folder in the same structure like in .m2/repository 39 - The nrtg servlet sample can be installed by doing the following: 40 41 osgi> bundle:install mvn:org.apache.activemq/activemq-web/5.6.0 42 osgi> bundle:install mvn:org.opennms.features.nrtg/nrtg-web/1.11.3-SNAPSHOT 43 44 osgi> bundle:start ${bundle Id of activemq-web} 45 osgi> bundle:start ${bundle Id of NRTG Web Interface}