aboutsummaryrefslogtreecommitdiff
path: root/modules/private/monitoring/nagios-cli.cfg
blob: 7bd30cbb0df7a6ece55f953e2eb7c765f8f354fe (plain) (blame)
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
# -*- coding: utf-8; -*-

[cli]
history                 = /var/lib/naemon/nagios_cli_history

[ui]
color                   = 1
prompt                  = naemon %s>
prompt_separator        = " → "

[nagios]
log                     = /var/log/naemon
command_file            = /run/naemon/naemon.cmd
log_file                = %(log)s/naemon.log
object_cache_file       = /var/lib/naemon/objects.cache
status_file             = /var/lib/naemon/status.dat

[object]
host.status             =
    host_name
    current_state
    plugin_output
    is_flapping
    last_check
    last_time_down
    last_state_change
    check_period
    notification_period
    current_attempt
    max_attempts
service.status          =
    host_name
    service_description
    current_state
    is_flapping
    plugin_output
    last_time_down
    last_state_change
    last_check
    next_check
    check_interval
    check_latency
    check_period
    notification_period
    current_attempt
    max_attempts

[string]
level.ok                = ↑ OK
level.warning           = ! WARNING
level.critical          = ↓ CRITICAL
level.unknown           = ↕ UNKNOWN

[color]
error                   = bold_red

prompt                  = normal
prompt.object           = bold

host.host_name          = bold
host.plugin_output      = bold
service.plugin_output   = bold

level.ok                = bold_green
level.warning           = bold_yellow
level.critical          = bold_red
level.unknown           = bold_magenta