~deej/charms/xenial/daisy/nrpe-relation-data

« back to all changes in this revision

Viewing changes to hooks/common

  • Committer: Liam young
  • Date: 2013-05-03 13:27:32 UTC
  • mto: This revision was merged to the branch mainline in revision 30.
  • Revision ID: liam.young@canonical.com-20130503132732-focji3ula1boc00i
Add nrpe hooks and config

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
LISTEN_PORT="$(config-get listen_port)"
15
15
LOG_DIR="/srv/$BASEDIR/$INSTANCE_TYPE-logs"
16
16
DAISY_CODE_DIRS="$(config-get daisy_code_dirs)"
 
17
REGION="$(config-get region)"
 
18
NRPE_URL_CHECK_PARAMS="$(config-get nrpe_url_check_params)"
17
19
 
18
20
save_setting () {
19
21
    key="$1"