summaryrefslogtreecommitdiff
path: root/files/pnp4nagios/pnp4nagios-templates.cfg
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2010-10-23 02:55:17 +0200
committerLeap devs <sysdev@leap.se>2012-09-19 16:04:45 +0000
commit124754b2fe6cfcc88b4f4c02ca690f141511bae2 (patch)
tree9f08f2722555d496c4c2edaedaa92400d8a43303 /files/pnp4nagios/pnp4nagios-templates.cfg
parent66257f3c425fea5fcea2acb999854aae5e7cf9f1 (diff)
basic pnp4nagios grapher integration
Diffstat (limited to 'files/pnp4nagios/pnp4nagios-templates.cfg')
-rw-r--r--files/pnp4nagios/pnp4nagios-templates.cfg14
1 files changed, 14 insertions, 0 deletions
diff --git a/files/pnp4nagios/pnp4nagios-templates.cfg b/files/pnp4nagios/pnp4nagios-templates.cfg
new file mode 100644
index 0000000..14b60c9
--- /dev/null
+++ b/files/pnp4nagios/pnp4nagios-templates.cfg
@@ -0,0 +1,14 @@
+# http://docs.pnp4nagios.org/de/pnp-0.6/webfe
+
+define host {
+ name host-pnp
+ action_url /pnp4nagios/index.php/graph?host=$HOSTNAME$&srv=_HOST_
+ register 0
+}
+
+define service {
+ name srv-pnp
+ action_url /pnp4nagios/index.php/graph?host=$HOSTNAME$&srv=$SERVICEDESC$
+ register 0
+}
+