All Downloads are FREE. Search and download functionalities are using the official Maven repository.

brooklyn.entity.modaclouds.modacclouds-data-collector.yaml Maven / Gradle / Ivy

The newest version!
name: MODAClouds data collector
location: byon:(hosts="[email protected]")

services:
- type: brooklyn.entity.basic.VanillaSoftwareProcess
  name: Data collector
  id: data collector
  provisioning.properties:
    stopIptables: true

  launch.command: |
    ( sudo apt-get install -y --allow-unauthenticated openjdk-7-jdk || sudo yum -y --nogpgcheck install java-1.7.0-openjdk-devel )
    ( sudo apt-get install -y --allow-unauthenticated unzip || sudo yum -y --nogpgcheck install unzip )
    wget -O data-collector-1.3-SNAPSHOT.jar "https://github.com/imperial-modaclouds/modaclouds-data-collectors/releases/download/1.3-Snapshot/data-collector-1.3-SNAPSHOT.jar"
    wget -O hyperic-sigar-1.6.4.zip "http://sourceforge.net/projects/sigar/files/sigar/1.6/hyperic-sigar-1.6.4.zip/download?use_mirror=switch"
    unzip hyperic-sigar-1.6.4.zip
    nohup java -Djava.library.path=./hyperic-sigar-1.6.4/sigar-bin/lib/ -jar data-collector-1.3-SNAPSHOT.jar kb &
    echo $! > $PID_FILE

  env:
    MODACLOUDS_MONITORING_DDA_ENDPOINT_IP: 10.105.2.62
    MODACLOUDS_MONITORING_DDA_ENDPOINT_PORT: 8175
    MODACLOUDS_KNOWLEDGEBASE_ENDPOINT_IP: 159.8.55.227
    MODACLOUDS_KNOWLEDGEBASE_ENDPOINT_PORT: 3030
    MODACLOUDS_KNOWLEDGEBASE_DATASET_PATH: /modaclouds/kb
    MODACLOUDS_KNOWLEDGEBASE_SYNC_PERIOD: 10
    MODACLOUDS_MONITORED_APP_ID: mic1
    MODACLOUDS_MONITORED_VM_ID: frontend1 




© 2015 - 2024 Weber Informatics LLC | Privacy Policy