TracNav menu
-
Home
-
Documentation
- …
-
Information
- …
-
Commands/Modules
-
CheckDisk
- CheckFileSize
- CheckDriveSize
- CheckFile
-
CheckEventLog
- CheckEventLog
-
CheckSystem
- CheckCPU
- CheckUpTime
- CheckServiceState
- CheckProcState
- CheckMem
- CheckCounter
-
CheckHelpers
- CheckAlwaysOK
- CheckAlwaysCRITICAL
- CheckAlwaysWARNING
- CheckOK
- CheckCRITICAL
- CheckWARNING
- CheckMultiple
- CheckVersion
-
CheckTaskSched
- CheckTaskSched
-
FileLogger
- N/A
-
NRPEListener
- N/A
-
NSClientListener
- N/A
-
SysTray
- N/A
-
CheckWMI
- CheckWMI
- CheckWMIValue
-
RemoteConfiguration
- N/A
-
CheckExternalScripts
- N/A
-
LUAScript
- Guide
-
NSCAAgent
- N/A
-
Donate
- …
CheckSystem.dll
A module to check various system related things. A list of the modules and there potential use is listed below here.
- wiki:CheckCPU, Check CPU load
- wiki:CheckUpTime, Check system uptime
- wiki:CheckServiceState, Check state of a service
- wiki:CheckProcState, Check state of a process
- wiki:CheckMem, Check memory usage (page)
Command Line
To simplify debug and setup there is two commandline options that list and test all avalible PDH counters.
- NSClient++ -noboot CheckSystem debugpdh
- NSClient++ -noboot CheckSystem listpdh
Configuration
This module should auto detect most versions of windows (if you have a problem with this let me know so I can update it). Thus you no longer need to configure the grayed out options. There is also some other tweaks that can be configured such as check resolution and buffer size. For more details on how to configure this refer to the Configuration section.
[Check System]
| Option | Default value | Description |
| CPUBufferSize | 1h | The time to store CPU load data. |
| CheckResolution? | 10 | Time between checks in 1/10 of seconds. |
Advanced options:
| Option | Default value | Description |
| auto_detect_pdh | 1 | Set this to 0 to disable auto detect (counters.defs) PDH language and OS version. |
| dont_use_pdh_index | 0 | Set this to 1 if you dont want to use indexes for finding PDH counters. |
| force_language | Set this to a locale ID if you want to force auto-detection of counters from that locale. | |
| ProcessEnumerationMethod? | auto | Set the method to use when enumerating processes PSAPI, TOOLHELP or auto |
| check_all_services[SERVICE_BOOT_START] | ignored | Set how to handle services set to SERVICE_BOOT_START state when checking all services |
| check_all_services[SERVICE_SYSTEM_START] | ignored | Set how to handle services set to SERVICE_SYSTEM_START state when checking all services |
| check_all_services[SERVICE_AUTO_START] | started | Set how to handle services set to SERVICE_AUTO_START state when checking all services |
| check_all_services[SERVICE_DEMAND_START] | ignored | Set how to handle services set to SERVICE_DEMAND_START state when checking all services |
| check_all_services[SERVICE_DISABLED] | stopped | Set how to handle services set to SERVICE_DISABLED state when checking all services |
| MemoryCommitLimit? | \Memory\Commit Limit | Counter to use to check upper memory limit. |
| MemoryCommitByte? | \Memory\Committed Bytes | Counter to use to check current memory usage. |
| SystemSystemUpTime? | \System\System Up Time | Counter to use to check the uptime of the system. |
| SystemTotalProcessorTime? | \Processor(_total)\% Processor Time | Counter to use for CPU load. |
| ProcessEnumerationMethod? | auto | Set the PROCESS enumeration method (auto or TOOLHELP or PSAPI) |
