aboutsummaryrefslogblamecommitdiff
path: root/flakes/private/monitoring/nagios-cli.cfg
blob: 7bd30cbb0df7a6ece55f953e2eb7c765f8f354fe (plain) (tree)



































































                                                            
# -*- 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