summaryrefslogtreecommitdiff
path: root/files/pnp4nagios/pnp4nagios-popup-templates.cfg
blob: de17d8416886775ee083793140d7be414d385705 (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
# http://docs.pnp4nagios.org/de/pnp-0.6/webfe

define host {
   name       host-pnp
   action_url /pnp4nagios/index.php/graph?host=$HOSTNAME$&srv=_HOST_' class='tips' rel='/pnp4nagios/index.php/popup?host=$HOSTNAME$&srv=_HOST_
   register   0
}

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