]> git.immae.eu Git - perso/Immae/Config/Nix.git/blob - modules/private/monitoring/nagios-cli.cfg
Add monitoring host
[perso/Immae/Config/Nix.git] / modules / private / monitoring / nagios-cli.cfg
1 # -*- coding: utf-8; -*-
2
3 [cli]
4 history = /var/lib/naemon/nagios_cli_history
5
6 [ui]
7 color = 1
8 prompt = naemon %s>
9 prompt_separator = " → "
10
11 [nagios]
12 log = /var/log/naemon
13 command_file = /run/naemon/naemon.cmd
14 log_file = %(log)s/naemon.log
15 object_cache_file = /var/lib/naemon/objects.cache
16 status_file = /var/lib/naemon/status.dat
17
18 [object]
19 host.status =
20 host_name
21 current_state
22 plugin_output
23 is_flapping
24 last_check
25 last_time_down
26 last_state_change
27 check_period
28 notification_period
29 current_attempt
30 max_attempts
31 service.status =
32 host_name
33 service_description
34 current_state
35 is_flapping
36 plugin_output
37 last_time_down
38 last_state_change
39 last_check
40 next_check
41 check_interval
42 check_latency
43 check_period
44 notification_period
45 current_attempt
46 max_attempts
47
48 [string]
49 level.ok = ↑ OK
50 level.warning = ! WARNING
51 level.critical = ↓ CRITICAL
52 level.unknown = ↕ UNKNOWN
53
54 [color]
55 error = bold_red
56
57 prompt = normal
58 prompt.object = bold
59
60 host.host_name = bold
61 host.plugin_output = bold
62 service.plugin_output = bold
63
64 level.ok = bold_green
65 level.warning = bold_yellow
66 level.critical = bold_red
67 level.unknown = bold_magenta
68