~larry-e-works/charms/trusty/nagios/nagios-added-template-config

Viewing all changes in revision 25.

  • Committer: Larry Works
  • Date: 2014-11-21 01:33:59 UTC
  • Revision ID: larry.works@canonical.com-20141121013359-zigqdc99r22ws0li
Added host_template and service_template config options to config.yaml to allow users to specify the use of custom host and service templates that may be added via the extraconfig option. Both will default to the original values of generic-host and generic-service if not specified otherwise.

Modified get_pynag_host and get_pynag_service in common.py to read the host_template and service_template options added to config.yaml.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: