File: nagios.cfg

package info (click to toggle)
ganglia-nagios-bridge 1.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 100 kB
  • ctags: 12
  • sloc: python: 173; makefile: 8
file content (68 lines) | stat: -rw-r--r-- 2,401 bytes parent folder | download | duplicates (3)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68

# Typically these definitions are split into multiple configuration
# files within the /etc/nagios tree
# For convenience, they are all listed here in a single file
# to support the example configuration

# from /etc/nagios-plugins/config/dummy.cfg on Debian:

# return-unknown definition
define command {
        command_name    return-unknown
        command_line    /usr/lib/nagios/plugins/check_dummy 3
}

# from /etc/nagios3/conf.d/hostgroups_nagios2.cfg on Debian:

define hostgroup {
        hostgroup_name  all
                alias           All Servers
                members         *
        }

# /etc/nagios3/conf.d/services_nagios2.cfg on Debian:

# this is checked passively by the ganglia-nagios-bridge utility
define service {
        hostgroup_name                  all-servers
        service_description             Total processes
        use                             generic-service
        notification_interval           0
        check_command                   return-unknown
        active_checks_enabled           0
        passive_checks_enabled          1
}

# this is checked passively by the ganglia-nagios-bridge utility
define service {
        hostgroup_name                  all-servers
        service_description             Load avg one minute
        use                             generic-service
        notification_interval           0
        check_command                   return-unknown
        active_checks_enabled           0
        passive_checks_enabled          1
}

# this is checked passively by the ganglia-nagios-bridge utility
define service {
        hostgroup_name                  all-servers
        service_description             Load avg five minute
        use                             generic-service
        notification_interval           0
        check_command                   return-unknown
        active_checks_enabled           0
        passive_checks_enabled          1
}

# this is checked passively by the ganglia-nagios-bridge utility
define service {
        hostgroup_name                  all-servers
        service_description             Load avg fifteen minute
        use                             generic-service
        notification_interval           0
        check_command                   return-unknown
        active_checks_enabled           0
        passive_checks_enabled          1
}