Skip to content
pierre edited this page Oct 10, 2012 · 8 revisions

Setup

  1. Make sure you have maven 3.0.3 (or more recent) by running mvn --version. If needed, install a more recent version from the Maven Apache website. Scroll down to the bottom of that page for installation instructions

Dependencies installation

AdventNetSnmp and AdventNetLogging

  1. Download the WebNMS SNMP API 4 here
  2. mvn install:install-file -DgroupId=adventnet -DartifactId=AdventNetSnmp -Dpackaging=jar -Dversion=4.0.4 -Dfile=/path/to/WebNMS/SNMPAPI/jars/AdventNetSnmp.jar -DgeneratePom=true
  3. mvn install:install-file -DgroupId=adventnet -DartifactId=AdventNetLogging -Dpackaging=jar -Dversion=4.0.4 -Dfile=/path/to/WebNMS/SNMPAPI/jars/AdventNetLogging.jar -DgeneratePom=true

Arecibo build

  1. mvn clean install in the Arecibo tree

Arecibo setup

  1. Create the spool directories mkdir -p /var/tmp/arecibo ; mkdir -p dashboard/./spool/publisher/event
  2. Setup the database and user create database arecibo; create user arecibo; grant all privileges on arecibo.* to arecibo@localhost identified by 'arecibo';
  3. Setup the schema: cat collector/src/main/resources/collector.sql | mysql -uarecibo -parecibo arecibo