~freyes/charms/trusty/nova-cloud-controller/single-nova-consoleauth

« back to all changes in this revision

Viewing changes to hooks/nova_cc_hooks.py

  • Committer: Felipe Reyes
  • Date: 2015-03-06 15:45:22 UTC
  • mfrom: (140.1.3 nova-cloud-controller)
  • Revision ID: felipe.reyes@canonical.com-20150306154522-z00f5lfyyekd9pi8
Commit after merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
897
897
    hostname = nrpe.get_nagios_hostname()
898
898
    current_unit = nrpe.get_nagios_unit_name()
899
899
    nrpe_setup = nrpe.NRPE(hostname=hostname)
 
900
    nrpe.copy_nrpe_checks()
900
901
    nrpe.add_init_service_checks(nrpe_setup, services(), current_unit)
 
902
    nrpe.add_haproxy_checks(nrpe_setup, current_unit)
901
903
    nrpe_setup.write()
902
904
 
903
905