~mthaddon/charms/precise/memcached/basenode-and-nrpe-external

« back to all changes in this revision

Viewing changes to templates/nrpe_export.cfg.tmpl

  • Committer: Tom Haddon
  • Date: 2013-04-15 11:11:09 UTC
  • Revision ID: tom.haddon@canonical.com-20130415111109-ard9vhm5sjbbik27
Add in a nagios check when we have a relation with nrpe-external-master

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#---------------------------------------------------
 
2
# This file is Juju managed
 
3
#---------------------------------------------------
 
4
define service {
 
5
    use                             active-service
 
6
    host_name                       ${NAGIOS_HOSTNAME}
 
7
    service_description             ${NAGIOS_HOSTNAME} memcached
 
8
    check_command                   check_nrpe!check_memcached
 
9
    servicegroups                   ${NAGIOS_SERVICEGROUP}, 
 
10
}