Changeset 1060 for noc/nagios/cgi.cfg


Ignore:
Timestamp:
Apr 4, 2009, 12:59:01 AM (15 years ago)
Author:
quentin
Message:
Update Nagios configuration for Nagios 3
File:
1 edited

Legend:

Unmodified
Added
Removed
  • noc/nagios/cgi.cfg

    r990 r1060  
    1111# data they might need.
    1212
    13 main_config_file=/etc/nagios2/nagios.cfg
     13main_config_file=/etc/nagios3/nagios.cfg
    1414
    1515
     
    2020# and statuswrl CGIs.
    2121
    22 physical_html_path=/usr/share/nagios2/htdocs
     22physical_html_path=/usr/share/nagios3/htdocs
    2323
    2424
     
    3232# (without the quotes).
    3333
    34 url_html_path=/nagios2
     34url_html_path=/nagios3
    3535
    3636
     
    4646
    4747
    48 # NAGIOS PROCESS CHECK COMMAND
    49 # This is the full path and filename of the program used to check
    50 # the status of the Nagios process.  It is used only by the CGIs
    51 # and is completely optional.  However, if you don't use it, you'll
    52 # see warning messages in the CGIs about the Nagios process
    53 # not running and you won't be able to execute any commands from
    54 # the web interface.  The program should follow the same rules
    55 # as plugins; the return codes are the same as for the plugins,
    56 # it should have timeout protection, it should output something
    57 # to STDIO, etc.
    58 #
    59 # Note: The command line for the check_nagios plugin below may
    60 # have to be tweaked a bit, as different versions of the plugin
    61 # use different command line arguments/syntaxes.
    62 
    63 nagios_check_command=/usr/lib/nagios/plugins/check_nagios /var/cache/nagios2/status.dat 5 '/usr/sbin/nagios2'
    64 
     48# PENDING STATES OPTION
     49# This option determines what states should be displayed in the web
     50# interface for hosts/services that have not yet been checked.
     51# Values: 0 = leave hosts/services that have not been check yet in their original state
     52#         1 = mark hosts/services that have not been checked yet as PENDING
     53
     54use_pending_states=1
     55
     56nagios_check_command=/usr/lib/nagios/plugins/check_nagios /var/cache/nagios3/status.dat 5 '/usr/sbin/nagios3'
    6557
    6658
     
    8375
    8476use_authentication=1
     77
     78
     79
     80
     81# x509 CERT AUTHENTICATION
     82# When enabled, this option allows you to use x509 cert (SSL)
     83# authentication in the CGIs.  This is an advanced option and should
     84# not be enabled unless you know what you're doing.
     85
     86use_ssl_authentication=0
     87
    8588
    8689
     
    246249# of various CGIs (status, statusmap, extinfo, and outages). 
    247250
    248 refresh_rate=60
     251refresh_rate=90
     252
     253
     254
     255# ESCAPE HTML TAGS
     256# This option determines whether HTML tags in host and service
     257# status output is escaped in the web interface.  If enabled,
     258# your plugin output will not be able to contain clickable links.
     259
     260escape_html_tags=1
     261
    249262
    250263
Note: See TracChangeset for help on using the changeset viewer.