Skip to content
Extraits de code Groupes Projets
Sélectionner une révision Git
  • master
  • v1.0.0
2 résultats

cgi.cfg

Blame
  • cgi.cfg 12,77 Kio
    #################################################################
    #
    # CGI.CFG - Sample CGI Configuration File for Nagios 4.3.3
    #
    #
    #################################################################
    
    
    # MAIN CONFIGURATION FILE
    # This tells the CGIs where to find your main configuration file.
    # The CGIs will read the main and host config files for any other
    # data they might need.
    
    main_config_file=/usr/local/nagios/etc/nagios.cfg
    
    
    
    # PHYSICAL HTML PATH
    # This is the path where the HTML files for Nagios reside.  This
    # value is used to locate the logo images needed by the statusmap
    # and statuswrl CGIs.
    
    physical_html_path=/usr/local/nagios/share
    
    
    
    # URL HTML PATH
    # This is the path portion of the URL that corresponds to the
    # physical location of the Nagios HTML files (as defined above).
    # This value is used by the CGIs to locate the online documentation
    # and graphics.  If you access the Nagios pages with an URL like
    # http://www.myhost.com/nagios, this value should be '/nagios'
    # (without the quotes).
    
    url_html_path=/nagios
    
    
    
    # CONTEXT-SENSITIVE HELP
    # This option determines whether or not a context-sensitive
    # help icon will be displayed for most of the CGIs.
    # Values: 0 = disables context-sensitive help
    #         1 = enables context-sensitive help
    
    show_context_help=0
    
    
    
    # PENDING STATES OPTION
    # This option determines what states should be displayed in the web
    # interface for hosts/services that have not yet been checked.
    # Values: 0 = leave hosts/services that have not been check yet in their original state
    #         1 = mark hosts/services that have not been checked yet as PENDING
    
    use_pending_states=1
    
    
    
    # AUTHENTICATION USAGE
    # This option controls whether or not the CGIs will use any 
    # authentication when displaying host and service information, as
    # well as committing commands to Nagios for processing.  
    #
    # Read the HTML documentation to learn how the authorization works!
    #
    # NOTE: It is a really *bad* idea to disable authorization, unless
    # you plan on removing the command CGI (cmd.cgi)!  Failure to do
    # so will leave you wide open to kiddies messing with Nagios and
    # possibly hitting you with a denial of service attack by filling up
    # your drive by continuously writing to your command file!