;################################################################## ;# SAMPLE CONFIG FILE ENTRIES FOR NSCLIENT++ AGENT IN PASSIVE MODE ;# ;# The contents of this file should be added/appended to the main ;# NSClient++ configuration file, which is normally located at: ;# ;# C:\Program Files\NSClient++\NSC.ini ;# ;# For more information on configuring NSClient++ to operate in ;# passive mode with a Nagios XI server, visit the Nagios Library at: ;# ;# http://library.nagios.com ;# ;################################################################## ;################################################################## ;# MODULE SETTINGS ;# This enables the NSCA client ;################################################################## NSCAAgent.dll ;################################################################## ;# NSCA SETTINGS ;# These settings control communication with the Nagios server ;################################################################## [NSCA Agent] ;# CHECK INTERVAL (in seconds) ;# Determines how often check results are submitted to NAgios interval=300 ;# HOST NAME ;# The name of this host (if empty the computer name will be used). hostname=WINDOWSDESKTOP ;# NAGIOS SERVER ADDRESS ;# The address to the Nagios server. nsca_host=192.168.5.102 ; ;# NAGIOS SERVER PORT ;# The port that the NSCA daemon is using on the Nagios server. nsca_port=5667 ;# ENCRYPTION PASSWORD ;# This is the password/passphrase that should be used to encrypt data. password=YOURPASSWORD ;# ENCRYPTION METHOD ;# This determines what method is used to encrypt data. ;# Values: ;# 0 = None (Do NOT use this option) ;# 1 = Simple XOR (No security, just obfuscation, but very fast) ;# 2 = DES ;# 3 = 3DES (Triple DES) #; 4 = CAST-128 ;# 6 = xTEA ;# 8 = BLOWFISH ;# 9 = TWOFISH ;# 11 = RC2 ;# 14 = RIJNDAEL-128 (AES) ;# 20 = SERPENT encryption_method=0 ;################################################################## ;# CHECK COMMANDS ;# The checks to run everytime we submit results back to nagios ;################################################################## [NSCA Commands] ;# The following are service checks CPU Usage=checkCPU warn=80 crit=90 time=20m time=10s time=4 Memory Usage=checkMem MaxWarn=80% MaxCrit=90% ShowAll Pagefile Usage=checkMem MaxWarn=80% MaxCrit=90% ShowAll type=page All Drive Space Usage=CheckDriveSize MinWarn=10% MinCrit=5% CheckAll FilterType=FIXED C:\ Drive Space Usage=CheckDriveSize MinWarn=10% MinCrit=5% Drive=c:\ FilterType=FIXED NSClient Service Status=checkServiceState nsclientpp ;# The following is the host check (always ok/up) host_check=CheckOK Machine is okay