summaryrefslogtreecommitdiff
path: root/files/pnp4nagios
diff options
context:
space:
mode:
authornadir <nadir-technik@nadir.org>2010-12-12 18:35:08 +0100
committervarac <varacanero@zeromail.org>2012-09-17 16:01:37 +0200
commit6af69527ddbaed3b48e8569240fa08b9a967ff35 (patch)
treee67f0bfde35f3437c11ac7de538ca5818c758528 /files/pnp4nagios
parent6fce1dbdd2ffcdc10a688ce502df9c58c678ec6f (diff)
added pnp-grapher templates for explicit use
Diffstat (limited to 'files/pnp4nagios')
-rw-r--r--files/pnp4nagios/pnp4nagios-templates.cfg19
1 files changed, 19 insertions, 0 deletions
diff --git a/files/pnp4nagios/pnp4nagios-templates.cfg b/files/pnp4nagios/pnp4nagios-templates.cfg
index 14b60c9..64c5186 100644
--- a/files/pnp4nagios/pnp4nagios-templates.cfg
+++ b/files/pnp4nagios/pnp4nagios-templates.cfg
@@ -1,5 +1,7 @@
# http://docs.pnp4nagios.org/de/pnp-0.6/webfe
+# templates for additional use, i.e.
+# use => 'generic-host,host-pnp'
define host {
name host-pnp
action_url /pnp4nagios/index.php/graph?host=$HOSTNAME$&srv=_HOST_
@@ -12,3 +14,20 @@ define service {
register 0
}
+# templates for explicit use, i.e.
+# use => 'generic-host-pnp'
+
+define host {
+ name generic-host-pnp
+ use generic-host,host-pnp
+# action_url /pnp4nagios/index.php/graph?host=$HOSTNAME$&srv=_HOST_
+ register 0
+}
+
+define service {
+ name generic-service-pnp
+ use generic-service,srv-pnp
+# action_url /pnp4nagios/index.php/graph?host=$HOSTNAME$&srv=_HOST_
+ register 0
+}
+