From 124754b2fe6cfcc88b4f4c02ca690f141511bae2 Mon Sep 17 00:00:00 2001 From: varac Date: Sat, 23 Oct 2010 02:55:17 +0200 Subject: basic pnp4nagios grapher integration --- files/pnp4nagios/pnp4nagios-templates.cfg | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 files/pnp4nagios/pnp4nagios-templates.cfg (limited to 'files/pnp4nagios/pnp4nagios-templates.cfg') 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 +} + -- cgit v1.2.3