Skip to content

Commit

Permalink
added pnp-grapher templates for explicit use
Browse files Browse the repository at this point in the history
  • Loading branch information
nadir authored and micah committed Feb 14, 2013
1 parent dc61b5b commit cd6386a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions files/pnp4nagios/pnp4nagios-templates.cfg
Original file line number Diff line number Diff line change
@@ -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_
Expand All @@ -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
}

0 comments on commit cd6386a

Please sign in to comment.