summaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authornadir <nadir-technik@nadir.org>2010-12-12 18:32:41 +0100
committerMicah Anderson <micah@riseup.net>2013-02-14 17:59:00 -0500
commitdc61b5b838a2835be4f2b89d585f7daef980e6ea (patch)
treeff7afe1a42b1972bd0be94da1027f9398ee9918e /files
parent4c407f8575c290082fc61c3db42c0390c25d0aac (diff)
added pnp-grapher templates for explicit use
Diffstat (limited to 'files')
-rw-r--r--files/pnp4nagios/pnp4nagios-popup-templates.cfg17
1 files changed, 17 insertions, 0 deletions
diff --git a/files/pnp4nagios/pnp4nagios-popup-templates.cfg b/files/pnp4nagios/pnp4nagios-popup-templates.cfg
index 0035c63..de17d84 100644
--- a/files/pnp4nagios/pnp4nagios-popup-templates.cfg
+++ b/files/pnp4nagios/pnp4nagios-popup-templates.cfg
@@ -12,3 +12,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
+}
+