summaryrefslogtreecommitdiffstats
path: root/Monitoring/conf/tincnet.cfg
blob: f0b35b4e56d9f9f8d733179579249b88e47ec021 (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
define hostgroup {
        hostgroup_name   tinc-nodes
        alias            Tinc Nodes
        }

define hostextinfo{
        hostgroup_name   tinc-nodes
        notes            Tinc Nodes
        icon_image       krebs/tinc.png
        icon_image_alt   tinc
        vrml_image       tinc.png
        statusmap_image  krebs/tinc.gd2
        }

define command {
        command_name check_internal_tinc_up
        command_line $USER1$/check_ping -H $_HOSTTINC_ADDRESS$ -w $ARG1$ -c $ARG2$
        }
define command {
        command_name check_ircd
        command_line $USER1$/check_ircd $_HOSTTINC_ADDRESS$
        }

define service {
        hostgroup_name                  tinc-nodes
        service_description             tinc internal
        check_command                   check_internal_tinc_up!100.0,20%!500.0,60%
        use                             generic-service
        notification_interval           0
}