Metron 0.6.1
--
* master
--
commit 3c4c069b6f29824122dd93ac6f234ef1d0363e9d (HEAD -> master, origin/master,
origin/HEAD)
Author: merrimanr <[email protected]>
Date: Fri Nov 16 14:38:44 2018 -0600
METRON-1875 Expose configurable global settings in the Alerts UI
(merrimanr) closes apache/metron#1266
--
metron-interface/metron-alerts/package.json | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
--
ansible 2.4.1.0
config file = None
configured module search path = [u'/root/.ansible/plugins/modules',
u'/usr/share/ansible/plugins/modules']
ansible python module location =
/usr/local/lib/python2.7/dist-packages/ansible
executable location = /usr/local/bin/ansible
python version = 2.7.15rc1 (default, Nov 12 2018, 14:31:15) [GCC 7.3.0]
--
Vagrant 2.2.0
--
vagrant-hostmanager (1.8.9, global)
--
Python 2.7.15rc1
--
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
2015-11-10T16:41:47+00:00)
Maven home: /usr/local/apache-maven/apache-maven-3.3.9
Java version: 1.8.0_191, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-oracle/jre
Default locale: en, platform encoding: UTF-8
OS name: "linux", version: "4.15.0-1027-aws", arch: "amd64", family: "unix"
--
Docker version 18.06.1-ce, build e68fc7a
--
node
v8.10.0
--
npm
3.5.2
--
g++ (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
--
Compiler is C++11 compliant
--
Linux ip-172-31-32-104 4.15.0-1027-aws #27-Ubuntu SMP Fri Nov 2 15:14:20 UTC
2018 x86_64 x86_64 x86_64 GNU/Linux
--
Total System Memory = 15577 MB
Processor Model: Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz
Processor Speed: 3099.986 MHz
Processor Speed: 3099.995 MHz
Processor Speed: 3099.998 MHz
Processor Speed: 3099.984 MHz
Total Physical Processors: 4
Total cores: 8
Disk information:
/dev/nvme0n1p1 146G 36G 110G 25% /
/dev/loop0 13M 13M 0 100% /snap/amazon-ssm-agent/495
/dev/loop1 88M 88M 0 100% /snap/core/5328
/dev/loop2 89M 89M 0 100% /snap/core/5897
/dev/loop3 17M 17M 0 100% /snap/amazon-ssm-agent/784
/dev/loop4 18M 18M 0 100% /snap/amazon-ssm-agent/930
On Wednesday, November 21, 2018, 11:15:13 AM EST, Nick Allen
<[email protected]> wrote:
On the host where you are trying to build Metron, can you run the following
script and send back the output?
metron/metron-deployment/scripts/platform-info.sh
Other dependencies are documented here. Apologies, I know it is not easy for
first-timers to build Metron, but we will help you through it.
https://github.com/apache/metron/tree/master/metron-deployment/development/centos6#prerequisites
And also please be sure to read this warning about using the automated
deployment scripts to EC2.
https://github.com/apache/metron/tree/master/metron-deployment#how-do-i-deploy-metron-within-aws
On Wed, Nov 21, 2018 at 11:08 AM Babak Abbaschian <[email protected]>
wrote:
Hi, I'm trying to deploy Metron on EC2, and I'm following this link:
https://github.com/apache/metron/tree/master/metron-deployment/amazon-ec2
First I had to guess based on the errors and description for macOS! that we
need Vagrant, node and etc.
So here is the process that I take on Ubuntu 18.1:
export AWS_ACCESS_KEY_ID="XXXXXXXXXXXXX0XXXXXX"
export AWS_SECRET_ACCESS_KEY="xxxXXX0XXXxXXxX0xx0xXX0xXxxXX0xXxxX0XXxx"
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
PATH=$JAVA_HOME/bin:$PATH ssh-keygen
apt install maven //Version 3.3.9
apt install python-pip
pip install ansible==2.4.1
///////////////////////////////////////////////////////////////////////////////
// Ansible versions higher than 2.4.1 will end up with this error:
// **************Task Create Virtual private cloud ***************
// fatal: [localhost]: FAILED! => {"changed": false, "msg": "This module has
been removed. The module documentation may contain
// hints for porting"}
///////////////////////////////////////////////////////////////////////////////
apt install nodejs-legacy //The system is using command node, not nodejs
apt install npm apt install virtualbox //Version 5.5.2
wget https://releases.hashicorp.com/vagrant/2.2.0/vagrant_2.2.0_x86_64.deb
///////////////////////////////////////////////////////////////////////////////
// Vagrant in apt cache is version 1.8 which has a bug installing hostmanager
///////////////////////////////////////////////////////////////////////////////
dpkg -i vagrant_2.2.0_x86_64.deb
vagrant plugin install vagrant-hostmanager
git clone https://github.com/apache/metron.git
cd metron/metron-deployment/amazon-ec2/
./run.sh
And I End up with failed master node with this error:
[ERROR]Failed to execute goal
com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project
metron-config:Failed to run task:'npm ci' failed.(error code 1)->[Help1]
org.apache.maven.lifecycle.LifecycleExecutionException:Failed to execute goal
com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project
metron-config:Failed to run taskat
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
Jira Issue:
https://issues.apache.org/jira/projects/METRON/issues/METRON-1876?filter=allissues
Thanks,Babak.