Mesos

Dashboard

Charts to show free and used resources.
Last updated: 7 months ago

Downloads: 106

    Used collectd plugin to get metrics: https://github.com/pubnative/collectd-mesos-tasks.

    Setup:

    1. Download and save: curl https://raw.githubusercontent.com/pubnative/collectd-mesos-tasks/master/mesos-tasks.py | sudo tee /usr/lib64/collectd/python/mesos-tasks.py

    2. Add plugin to collectd config:

    
    <Plugin "python">
        ModulePath "/usr/lib64/collectd/python"
        Import "mesos-slave"
        <Module "mesos-slave">
            Instance "cluster"
            Host "${PRIVATE_IP}"
            Port 5051
            Verbose false
            Version "0.28.0"
        </Module>
    
        Import "mesos-tasks"
        <Module "mesos-tasks">
            Host "${PRIVATE_IP}"
            Port 5051
            PostEndpoint "http://elasticsearch:9200/mesos_metrics/system/"
        </Module>
    </Plugin>
    
    

    Collector Configuration Details

    <Plugin "python">
        ModulePath "/usr/lib64/collectd/python"
        Import "mesos-slave"
        <Module "mesos-slave">
            Instance "cluster"
            Host "${PRIVATE_IP}"
            Port 5051
            Verbose false
            Version "0.28.0"
        </Module>
    
        Import "mesos-tasks"
        <Module "mesos-tasks">
            Host "${PRIVATE_IP}"
            Port 5051
            PostEndpoint "http://elasticsearch:9200/mesos_metrics/system/"
        </Module>
    </Plugin>