~corey.bryant/charms/trusty/ceilometer/git-ods

« back to all changes in this revision

Viewing changes to hooks/ceilometer_hooks.py

  • Committer: Liam Young
  • Date: 2015-02-26 11:05:58 UTC
  • mfrom: (66.2.5 ceilometer)
  • Revision ID: liam.young@canonical.com-20150226110558-kmgdcudf7diuph5f
[bradm, r=gnuoy] Add haproxy nrpe checks and setting of nagios_servicegroups

Show diffs side-by-side

added added

removed removed

Lines of Context:
289
289
    hostname = nrpe.get_nagios_hostname()
290
290
    current_unit = nrpe.get_nagios_unit_name()
291
291
    nrpe_setup = nrpe.NRPE(hostname=hostname)
 
292
    nrpe.copy_nrpe_checks()
292
293
    nrpe.add_init_service_checks(nrpe_setup, services(), current_unit)
 
294
    nrpe.add_haproxy_checks(nrpe_setup, current_unit)
293
295
    nrpe_setup.write()
294
296
 
295
297