aboutsummaryrefslogtreecommitdiffstats
path: root/charms/trusty/cassandra/templates/nrpe_service_file.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'charms/trusty/cassandra/templates/nrpe_service_file.tmpl')
-rw-r--r--charms/trusty/cassandra/templates/nrpe_service_file.tmpl10
1 files changed, 10 insertions, 0 deletions
diff --git a/charms/trusty/cassandra/templates/nrpe_service_file.tmpl b/charms/trusty/cassandra/templates/nrpe_service_file.tmpl
new file mode 100644
index 0000000..ab0b76f
--- /dev/null
+++ b/charms/trusty/cassandra/templates/nrpe_service_file.tmpl
@@ -0,0 +1,10 @@
+#---------------------------------------------------
+# This file is Juju managed
+#---------------------------------------------------
+define service {
+ use active-service
+ host_name ${NAGIOS_HOSTNAME}
+ service_description ${NAGIOS_HOSTNAME} ${SERVICE_DESCRIPTION}
+ check_command check_nrpe!${NRPE_CMD_NAME}
+ servicegroups ${NAGIOS_SERVICEGROUP},
+}