# If you want to fill this file with all available options run the following command: # nscp settings --generate --add-defaults --load-all # If you want to activate a module and bring in all its options use: # nscp settings --activate-module --add-defaults # For details run: nscp settings --help ; in flight - TODO [/settings/default] ; Undocumented key allowed hosts = 127.0.0.1,172.31.25.70 ; CACHE ALLOWED HOSTS - If host names (DNS entries) should be cached, improves speed and security somewhat but won't allow you to have dynamic IPs for your Nagios server. cache allowed hosts = true ; TIMEOUT - Timeout when reading packets on incoming sockets. If the data has not arrived within this time we will bail out. timeout = 30 ; BIND TO ADDRESS - Allows you to bind server to a specific local address. This has to be a dotted ip address not a host name. Leaving this blank will bind to all available IP addresses. bind to = UNKNOWN ; in flight - TODO [/settings/NRPE/server] ; Undocumented key ; ssl options = no-sslv2,no-sslv3 ; verify mode = peer-cert ; Undocumented key insecure = true allowed ciphers = ALL:!MD5:@STRENGTH ; PORT NUMBER - Port to use for NRPE. port = 5666 ; COMMAND ALLOW NASTY META CHARS - This option determines whether or not the we will allow clients to specify nasty (as in |`&><'"\[]{}) characters in arguments. allow nasty characters = false ; COMMAND ARGUMENT PROCESSING - This option determines whether or not the we will allow clients to specify arguments to commands that are executed. allow arguments = false ; EXTENDED RESPONSE - Send more then 1 return packet to allow response to go beyond payload size (requires modified client if legacy is true this defaults to false). extended response = false ; ENABLE SSL ENCRYPTION - This option controls if SSL should be enabled. use ssl = true ; in flight - TODO [/modules] ; Undocumented key CheckExternalScripts = disabled ; Undocumented key CheckHelpers = disabled ; Undocumented key CheckEventLog = disabled ; Undocumented key CheckNSCP = disabled ; Undocumented key CheckDisk = disabled ; Undocumented key WEBServer = enabled ; Undocumented key CheckSystem = disabled ; Undocumented key NSClientServer = enabled ; Undocumented key NRPEServer = enabled CheckNet = enable ; Undocumented key check_ping = enabled #[/settings/external scripts/scripts] #check_ping = cmd /c echo scripts\check_ping.bat; exit($LastExitCode) | powershell.exe -command - ; Web server - Section for WEB (WEBServer.dll) (check_WEB) protocol options. [/settings/WEB/server] ; PASSWORD - Password used to authenticate against server parent for this key is found under: /settings/default this is marked as advanced in favor of the parent. password = younity ; NUMBER OF THREADS - The number of threads in the sever response pool. threads = 10 ; PORT NUMBER - Port to use for WEB server. port = 8443 ; CERTIFICATE - Ssl certificate to use for the ssl server certificate = ${certificate-path}/certificate.pem ; LOG SECTION - Configure log file properties. [/settings/log/file] ; MAXIMUM FILE SIZE - When file size reaches this it will be truncated to 50% if set to 0 (default) truncation will be disabled max size = -1 ; LOG SECTION - Configure log properties. [/settings/log] ; LOG LEVEL - Log level to use. Available levels are error,warning,info,debug,trace level = info ; FILENAME - The file to write log data to. Set this to none to disable log to file. file name = ${exe-path}/nsclient.log ; DATEMASK - The size of the buffer to use when getting messages this affects the speed and maximum size of messages you can recieve. date format = %Y-%m-%d %H:%M:%S ; CRASH HANDLER - Section for configuring the crash handler. [/settings/crash] ; RESTART SERVICE NAME - The url to submit crash reports to restart target = NSCP ; CRASH ARCHIVE LOCATION - The folder to archive crash dumps in archive folder = ${shared-path}/crash-dumps ; SUBMISSION URL - The url to submit crash reports to submit url = https://crash.nsclient.org/post ; [/settings/WEB/server/users/sample] ; Users - Users which can access the REST API [/settings/WEB/server/users] ; Roles - A list of roles and with coma separated list of access rights. [/settings/WEB/server/roles] ; NSCLIENT SERVER SECTION - Section for NSClient (NSClientServer.dll) (check_nt) protocol options. [/settings/NSClient/server] ; ENABLE SSL ENCRYPTION - This option controls if SSL should be enabled. ;use ssl = false ; PERFORMANCE DATA - Send performance data back to Nagios (set this to 0 to remove all performance data). performance data = true ; PORT NUMBER - Port to use for check_nt. port = 12489 ; [/paths] ; Path for shared-path - shared-path = C:\Program Files\NSClient++ ; Path for certificate-path - certificate-path = ${shared-path}/security ; Path for exe-path - exe-path = C:\Program Files\NSClient++ ; Path for module-path - module-path = ${exe-path}/modules ; INCLUDED FILES - Files to be included in the configuration [/includes]