~bigdata-dev/charms/trusty/apache-hadoop-hdfs-secondary/trunk

« back to all changes in this revision

Viewing changes to hooks/common.py

[admcleod] Add support for monitoring via Ganglia
[johnsca] Update README.md and config.yaml description for Ganglia info

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
                callbacks.update_blocked_status,
95
95
            ],
96
96
        },
 
97
        {
 
98
            'name': 'ganglia',
 
99
            'requires': [
 
100
                hadoop.is_installed,
 
101
                jujubigdata.relations.Ganglia,
 
102
            ],
 
103
            'callbacks': [
 
104
                callbacks.conf_ganglia_metrics,
 
105
            ],
 
106
            'cleanup': [
 
107
                callbacks.purge_ganglia_metrics
 
108
            ],
 
109
  
 
110
        },
 
111
 
97
112
    ])
98
113
    manager.manage()
99
114