phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: netsaint/templates/default config.tpl,1.4,1.5 co


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: netsaint/templates/default config.tpl,1.4,1.5 config_netsaint.tpl,1.3,1.4
Date: Fri, 18 Jan 2002 18:31:38 -0500

Update of /cvsroot/phpgroupware/netsaint/templates/default
In directory subversions:/tmp/cvs-serv17962/templates/default

Modified Files:
        config.tpl config_netsaint.tpl 
Log Message:
update

Index: config.tpl
===================================================================
RCS file: /cvsroot/phpgroupware/netsaint/templates/default/config.tpl,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** config.tpl  5 Sep 2001 00:09:13 -0000       1.4
--- config.tpl  18 Jan 2002 23:31:35 -0000      1.5
***************
*** 30,41 ****
        </tr>
        <tr bgcolor="{row_off}">
!               <td>{lang_Absolute_path_of_installation_directory}:</td>
!               <td><input name="newsettings[ns_dir]" size="50" 
value="{value_ns_dir}"></td>
        </tr>
        <tr bgcolor="{row_on}">
                
<td>{lang_Absolute_path_of_directory_to_store_config_files}:</td>
                <td><input name="newsettings[conf_dir]" size="50" 
value="{value_conf_dir}"></td>
        </tr>
- 
  <!-- END body -->
  
--- 30,52 ----
        </tr>
        <tr bgcolor="{row_off}">
!               <td>{lang_Absolute_path_of_config_files_directory}:</td>
!               <td><input name="newsettings[ns_conf]" size="50" 
value="{value_ns_conf}"></td>
        </tr>
        <tr bgcolor="{row_on}">
+               <td>{lang_Absolute_path_of_log_files_directory}:</td>
+               <td><input name="newsettings[ns_log]" size="50" 
value="{value_ns_log}"></td>
+       </tr>
+       <tr bgcolor="{row_off}">
+               <td>{lang_Absolute_path_of_lock_file_directory}:</td>
+               <td><input name="newsettings[ns_lock]" size="50" 
value="{value_ns_lock}"></td>
+       </tr>
+       <tr bgcolor="{row_on}">
+               
<td>{lang_Absolute_path_of_external_command_file_directory}:</td>
+               <td><input name="newsettings[ns_extcom]" size="50" 
value="{value_ns_extcom}"></td>
+       </tr>
+       <tr bgcolor="{row_off}">
                
<td>{lang_Absolute_path_of_directory_to_store_config_files}:</td>
                <td><input name="newsettings[conf_dir]" size="50" 
value="{value_conf_dir}"></td>
        </tr>
  <!-- END body -->
  

Index: config_netsaint.tpl
===================================================================
RCS file: /cvsroot/phpgroupware/netsaint/templates/default/config_netsaint.tpl,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** config_netsaint.tpl 4 Sep 2001 15:44:39 -0000       1.3
--- config_netsaint.tpl 18 Jan 2002 23:31:35 -0000      1.4
***************
*** 1,5 ****
  ##############################################################################
  #
! # NETSAINT.CFG file for NetSaint 0.0.6
  #
  # Read the documentation for more information on this configuration
--- 1,5 ----
  ##############################################################################
  #
! # NETSAINT.CFG file for NetSaint 0.0.7
  #
  # Read the documentation for more information on this configuration
***************
*** 7,11 ****
  # clear without further explanation.
  #
! # Last Modified: 10-10-2000
  #
  ##############################################################################
--- 7,11 ----
  # clear without further explanation.
  #
! # Last Modified: 01-30-2001
  #
  ##############################################################################
***************
*** 16,20 ****
  # in the config file!!!
  
! log_file={ns_dir}/var/netsaint.log
  
  # OBJECT CONFIGURATION FILE (A.K.A "HOST" CONFIG FILE)
--- 16,20 ----
  # in the config file!!!
  
! log_file={log_dir}/netsaint.log
  
  # OBJECT CONFIGURATION FILE (A.K.A "HOST" CONFIG FILE)
***************
*** 29,39 ****
  
  # Most everything is stored in this "host" config file
! 
! cfg_file={ns_dir}/etc/hosts.cfg
  
  # Command definitions for plugins are stored in a different file, 
  # although they don't necessarily have to be...
  
! cfg_file={ns_dir}/etc/commands.cfg
  
  # You can split other types of object definitions across several
--- 29,42 ----
  
  # Most everything is stored in this "host" config file
! cfg_file={conf_dir}/hosts.cfg
  
  # Command definitions for plugins are stored in a different file, 
  # although they don't necessarily have to be...
  
! # This comes with netsaint. Choose it to work with any plugin set.
! cfg_file={conf_dir}/commands.cfg
! 
! # This comes with the plugins. Choose it for the newest plugin features.
! #cfg_file={conf_dir}/command.cfg
  
  # You can split other types of object definitions across several
***************
*** 44,47 ****
--- 47,51 ----
  
  <!-- END config_ns -->
+ 
  # RESOURCE FILE
  # This is an optional resource file that contains $USERx$ macro
***************
*** 53,57 ****
  # can be placed on this file.
  
! resource_file={ns_dir}/etc/resource.cfg
  
  # STATUS FILE
--- 57,61 ----
  # can be placed on this file.
  
! resource_file={conf_dir}/resource.cfg
  
  # STATUS FILE
***************
*** 61,65 ****
  #  restarts.
  
! status_file={ns_dir}/var/status.log
  
  # NETSAINT USER
--- 65,69 ----
  #  restarts.
  
! status_file={log_dir}/status.log
  
  # NETSAINT USER
***************
*** 115,119 ****
  # time its contents are processed.
  
! command_file={ns_dir}/var/rw/netsaint.cmd
  
  # COMMENT FILE
--- 119,123 ----
  # time its contents are processed.
  
! command_file={extcom_dir}/netsaint.cmd
  
  # COMMENT FILE
***************
*** 121,125 ****
  # comments.
  
! comment_file={ns_dir}/var/comment.log
  
  # LOCK FILE
--- 125,129 ----
  # comments.
  
! comment_file={log_dir}/comment.log
  
  # LOCK FILE
***************
*** 127,131 ****
  # in when it is running in daemon mode.
  
! lock_file={ns_dir}/var/netsaint.lock
  
  # TEMP FILE
--- 131,135 ----
  # in when it is running in daemon mode.
  
! lock_file={lock_dir}/netsaint.pid
  
  # TEMP FILE
***************
*** 137,141 ****
  # located on.  This limitation will likely disappear in future versions.
  
! temp_file={ns_dir}/var/netsaint.tmp
  
  # LOG ROTATION METHOD
--- 141,145 ----
  # located on.  This limitation will likely disappear in future versions.
  
! temp_file={log_dir}/netsaint.tmp
  
  # LOG ROTATION METHOD
***************
*** 154,168 ****
  # placed (assuming you've chosen to do log rotation).
  
! log_archive_path={ns_dir}/var/archives
! 
! # LOG SEVERITY LEVEL
! # This is the service status severity necessary for messages to be
! # logged to the main log file. 0 = All levels, 1 = Warning or Critical
! # only, 2 = Critical only
! #
! # Note: This should almost *always* be set to 1.
! # If it isn't, your mileage may vary.
! 
! log_level=1
  
  # LOGGING OPTIONS
--- 158,162 ----
  # placed (assuming you've chosen to do log rotation).
  
! log_archive_path={log_dir}/archives
  
  # LOGGING OPTIONS
***************
*** 172,182 ****
  use_syslog=1
  
- # SYSLOG SEVERITY LEVEL
- # This is the service status severity necessary for messages to be
- # logged to the syslog facility.  0 = All levels, 1=Warning or
- # Critical only, 2 = Critical only
- 
- syslog_level=2
- 
  # NOTIFICATION LOGGING OPTION
  # If you don't want notifications to be logged, set this value to 0.
--- 166,169 ----
***************
*** 212,216 ****
  # this case, set the value to 0.
  
! log_initial_states=0
  
  # EXTERNAL COMMANDS LOGGING OPTION
--- 199,203 ----
  # this case, set the value to 0.
  
! log_initial_states=1
  
  # EXTERNAL COMMANDS LOGGING OPTION
***************
*** 230,252 ****
  log_passive_service_checks=1
  
! # GLOBAL HOST EVENT HANDLER
! # This option allows you to specify a host event handler command that
! # is to be run for every host state change. The global event handler 
! # is executed immediately prior to the event handler that you have 
! # optionally specified in each host definition. The command argument
! # is the short name of a command definition that you define in your
! # host configuration file. Read the HTML docs for more information.
  
  #global_host_event_handler=somecommand
- 
- # GLOBAL SERVICE EVENT HANDLER
- # This option allows you to specify a service event handler command
- # that is to be run for every service state change. The global event
- # handler is executed immediately prior to the event handler that you
- # have optionally specified in each service definition. The command
- # argument is the short name of a command definition that you define
- # in your host configuration file. Read the HTML docs for more
- # information.
- 
  #global_service_event_handler=somecommand
  
--- 217,230 ----
  log_passive_service_checks=1
  
! # GLOBAL HOST AND SERVICE EVENT HANDLERS
! # These options allow you to specify a host and service event handler
! # command that is to be run for every host or service state change.
! # The global event handler is executed immediately prior to the event
! # handler that you have optionally specified in each host or
! # service definition. The command argument is the short name of a
! # command definition that you define in your host configuration file.
! # Read the HTML docs for more information.
  
  #global_host_event_handler=somecommand
  #global_service_event_handler=somecommand
  
***************
*** 285,291 ****
  # service checks that can be run in parallel at any given time.
  # Specifying a value of 1 for this variable essentially prevents
! # any service checks from being parallelized.
  
! max_concurrent_checks=20
  
  # SERVICE CHECK REAPER FREQUENCY
--- 263,271 ----
  # service checks that can be run in parallel at any given time.
  # Specifying a value of 1 for this variable essentially prevents
! # any service checks from being parallelized.  A value of 0
! # will not restrict the number of concurrent checks that are
! # being executed.
  
! max_concurrent_checks=0
  
  # SERVICE CHECK REAPER FREQUENCY
***************
*** 306,311 ****
  # types of commands to execute before killing them off.  Options
  # are available for controlling maximum time allotted for
! # service checks, host checks, event handlers, notifications, and
! # the ocsp command.  All values are in seconds.
  
  service_check_timeout=60
--- 286,292 ----
  # types of commands to execute before killing them off.  Options
  # are available for controlling maximum time allotted for
! # service checks, host checks, event handlers, notifications, the
! # ocsp command, and performance data commands.  All values are in
! # seconds.
  
  service_check_timeout=60
***************
*** 313,317 ****
  event_handler_timeout=30
  notification_timeout=30
! ocsp_timeout=15
  
  # RETAIN STATE INFORMATION
--- 294,299 ----
  event_handler_timeout=30
  notification_timeout=30
! ocsp_timeout=5
! perfdata_timeout=5
  
  # RETAIN STATE INFORMATION
***************
*** 335,339 ****
  # variable is set to 1.
  
! state_retention_file={ns_dir}/var/status.sav
  
  # INTERVAL LENGTH
--- 317,340 ----
  # variable is set to 1.
  
! state_retention_file={log_dir}/status.sav
! 
! # RETENTION DATA UPDATE INTERVAL
! # This setting determines how often (in minutes) that NetSaint
! # will automatically save retention data during normal operation.
! # If you set this value to 0, NetSaint will not save retention
! # data at regular interval, but it will still save retention
! # data before shutting down or restarting.  If you have disabled
! # state retention, this option has no effect.
! 
! retention_update_interval=60
! 
! # USE RETAINED PROGRAM STATE
! # This setting determines whether or not NetSaint will set 
! # program status variables based on the values saved in the
! # retention file.  If you want to use retained program status
! # information, set this value to 1.  If not, set this value
! # to 0.
! 
! use_retained_program_state=1
  
  # INTERVAL LENGTH
***************
*** 380,383 ****
--- 381,407 ----
  enable_event_handlers=1
  
+ # PROCESS PERFORMANCE DATA OPTION
+ # This determines whether or not NetSaint will process performance
+ # data returned from service and host checks.  If this option is
+ # enabled, host performance data will be processed using the
+ # host_perfdata_command (defined below) and service performance
+ # data will be processed using the service_perfdata_command (also
+ # defined below).  Read the HTML docs for more information on
+ # performance data.
+ # Values: 1 = process performance data, 0 = do not process performance data
+ 
+ process_performance_data=0
+ 
+ # HOST AND SERVICE PERFORMANCE DATA PROCESSING COMMANDS
+ # These commands are run after every host and service check is
+ # performed.  These commands are executed only if the
+ # enable_performance_data option (above) is set to 1.  The command
+ # argument is the short name of a command definition that you 
+ # define in your host configuration file.  Read the HTML docs for
+ # more information on performance data.
+ 
+ #host_perfdata_command=process-host-perfdata
+ #service_perfdata_command=process-service-perfdata
+ 
  # OBSESS OVER SERVICE CHECKS OPTION
  # This determines whether or not NetSaint will obsess over service
***************
*** 413,416 ****
--- 437,492 ----
  check_for_orphaned_services=0
  
+ # AGGREGATED STATUS UPDATES
+ # This option determines whether or not NetSaint will 
+ # aggregate updates of host, service, and program status
+ # data.  Normally, status data is updated immediately when
+ # a change occurs.  This can result in high CPU loads if
+ # you are monitoring a lot of services.  If you want NetSaint
+ # to only refresh status data every few seconds, disable
+ # this option.
+ # Values: 1 = enable aggregate updates, 0 = disable aggregate updates
+ 
+ aggregate_status_updates=1
+ 
+ # AGGREGATED STATUS UPDATE INTERVAL
+ # Combined with the aggregate_status_updates option,
+ # this option determines the frequency (in seconds!) that
+ # NetSaint will periodically dump program, host, and 
+ # service status data.  If you are not using aggregated
+ # status data updates, this option has no effect.
+ 
+ status_update_interval=15
+ 
+ # FLAP DETECTION OPTION
+ # This option determines whether or not NetSaint will try
+ # and detect hosts and services that are "flapping".  
+ # Flapping occurs when a host or service changes between
+ # states too frequently.  When NetSaint detects that a 
+ # host or service is flapping, it will temporarily supress
+ # notifications for that host/service until it stops
+ # flapping.  Flap detection is very experimental, so read
+ # the HTML documentation before enabling this feature!
+ # Values: 1 = enable flap detection
+ #         0 = disable flap detection (default)
+ 
+ enable_flap_detection=0
+ 
+ # FLAP DETECTION THRESHOLDS FOR HOSTS AND SERVICES
+ # Read the HTML documentation on flap detection for
+ # an explanation of what this option does.  This option
+ # has no effect if flap detection is disabled.
+ 
+ low_service_flap_threshold=5.0
+ high_service_flap_threshold=20.0
+ low_host_flap_threshold=5.0
+ high_host_flap_threshold=20.0
+ 
+ # EUROPEAN STYLE DATES
+ # This option determines how dates are displayed.  Setting this value
+ # 1 will cause dates to be displayed in DD-MM-YYYY format instead of
+ # MM-DD-YYYY.
+ 
+ euro_style_dates=1
+ 
  # ADMINISTRATOR EMAIL ADDRESS
  # The email address of the administrator of *this* machine (the one
***************
*** 419,423 ****
  # notification commands.
  
! admin_email=netsaint
  
  # ADMINISTRATOR PAGER NUMBER/ADDRESS
--- 495,499 ----
  # notification commands.
  
! admin_email=daemon
  
  # ADMINISTRATOR PAGER NUMBER/ADDRESS
***************
*** 427,431 ****
  # commands.
  
! admin_pager=pagenetsaint
  
  # EOF (End of file)
--- 503,507 ----
  # commands.
  
! admin_pager=pagedaemon
  
  # EOF (End of file)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]