105 lines
3.7 KiB
INI
105 lines
3.7 KiB
INI
;#############################################################################
|
|
;# Stock Mozilla Build/Release nsc.ini - Windows
|
|
;# Written by: Ben Hearsum
|
|
;#
|
|
;# Last Modified: 02-27-2008
|
|
;#
|
|
;# NOTES:
|
|
;# This file generally lives as C:\Program Files\nscp\nsc.ini
|
|
;#############################################################################
|
|
|
|
[modules]
|
|
;# NSCLIENT++ MODULES
|
|
;# A list with DLLs to load at startup.
|
|
; You will need to enable some of these for NSClient++ to work.
|
|
FileLogger.dll
|
|
CheckSystem.dll
|
|
CheckDisk.dll
|
|
NRPEListener.dll
|
|
SysTray.dll
|
|
CheckEventLog.dll
|
|
CheckHelpers.dll
|
|
CheckWMI.dll
|
|
|
|
[Settings]
|
|
password=
|
|
|
|
;# ALLOWED HOST ADDRESSES
|
|
; This is a comma-delimited list of IP address of hosts that are allowed to talk to the all daemons.
|
|
; If leave this blank anyone can access the deamon remotly (NSClient still requires a valid password).
|
|
; The syntax is host or ip/mask so 192.168.0.0/24 will allow anyone on that subnet access
|
|
allowed_hosts=10.2.71.20,127.0.0.1
|
|
|
|
;# USE THIS FILE
|
|
; Use the INI file as opposed to the registry if this is 0 and the use_reg in the registry is set to 1
|
|
; the registry will be used instead.
|
|
use_file=1
|
|
|
|
[log]
|
|
;# LOG DEBUG
|
|
; Set to 1 if you want debug message printed in the log file (debug messages are always printed to stdout when run with -test)
|
|
debug=0
|
|
;
|
|
;# LOG FILE
|
|
; The file to print log statements to
|
|
file=NSC.log
|
|
;
|
|
;# LOG DATE MASK
|
|
; The format to for the date/time part of the log entry written to file.
|
|
;date_mask=%Y-%m-%d %H:%M:%S
|
|
|
|
[Check System]
|
|
;# CPU BUFFER SIZE
|
|
; Can be anything ranging from 1s (for 1 second) to 10w for 10 weeks. Notice that a larger buffer will waste memory
|
|
; so don't use a larger buffer then you need (ie. the longest check you do +1).
|
|
;CPUBufferSize=1h
|
|
;
|
|
;# CHECK RESOLUTION
|
|
; The resolution to check values (currently only CPU).
|
|
; The value is entered in 1/10:th of a second and the default is 10 (which means ones every second)
|
|
;CheckResolution=10
|
|
;
|
|
;# CHECK ALL SERVICES
|
|
; Configure how to check services when a CheckAll is performed.
|
|
; ...=started means services in that class *has* to be running.
|
|
; ...=stopped means services in that class has to be stopped.
|
|
; ...=ignored means services in this class will be ignored.
|
|
;check_all_services[SERVICE_BOOT_START]=ignored
|
|
;check_all_services[SERVICE_SYSTEM_START]=ignored
|
|
;check_all_services[SERVICE_AUTO_START]=started
|
|
;check_all_services[SERVICE_DEMAND_START]=ignored
|
|
;check_all_services[SERVICE_DISABLED]=stopped
|
|
|
|
|
|
[NRPE]
|
|
port=5666
|
|
;# COMMAND TIMEOUT
|
|
; This specifies the maximum number of seconds that the NRPE daemon will allow plug-ins to finish executing before killing them off.
|
|
command_timeout=15
|
|
|
|
;# COMMAND ARGUMENT PROCESSING
|
|
; This option determines whether or not the NRPE daemon will allow clients to specify arguments to commands that are executed.
|
|
allow_arguments=1
|
|
|
|
;# USE SSL SOCKET
|
|
; This option controls if SSL should be used on the socket.
|
|
;use_ssl=1
|
|
|
|
;# ALLOWED HOST ADDRESSES
|
|
; This is a comma-delimited list of IP address of hosts that are allowed to talk to NRPE deamon.
|
|
; If you leave this blank the global version will be used instead.
|
|
;allowed_hosts=
|
|
|
|
;# SOCKET TIMEOUT
|
|
; Timeout when reading packets on incoming sockets. If the data has not arrived withint this time we will bail out.
|
|
;socket_timeout=30
|
|
|
|
|
|
|
|
[NRPE Handlers]
|
|
check_load=inject checkCPU warn=$ARG1$ crit=$ARG2$ time=1m time=5m time=15m
|
|
check_disk=inject CheckDriveSize MinWarnFree=$ARG1$ MinCritFree=$ARG2$ Drive=$ARG3$
|
|
check_procs=inject checkCounter "Counter=\Objects\Processes" ShowAll MaxWarn=$ARG1$ MaxCrit=$ARG2$
|
|
;# No way to check for a certain number of processes here
|
|
check_buildbot=inject CheckProcState ShowAll python.exe=started
|