summaryrefslogtreecommitdiff
path: root/puppet/modules/nagios/files/pnp4nagios/pnp4nagios-templates.cfg
blob: 64c518657b56a585afd2c1c9b76be3292166f741 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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_
   register   0
}

define service {
   name       srv-pnp
   action_url /pnp4nagios/index.php/graph?host=$HOSTNAME$&srv=$SERVICEDESC$
   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
}