| Version 6 (modified by anonymous, 5 years ago) (diff) |
|---|
TracNav
Modules
- overview
Checks and commands
- overview
CauseCrashes...
CheckNSCP...
CheckDisk...
CheckLogFile...
CheckEventLog...
CheckSystem
CheckHelpers...
CheckTaskSched...
CheckTaskSched2...
CheckWMI...
Scripting Languages?...
Servers and protocols?...
Utilities and tools?...
Documentation...
Guides...
Information...
Sponsoring...
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++ CheckSystem debugpdh NSClient++ 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.
| Option | Default value | Description |
| CPUBufferSize | 1h | The time to store CPU load. |
| CheckResolution? | 10 | Time between checks in 1/10 of seconds. |
| auto_detect_pdh | 1 | Set this to 0 to disable auto detect (counters.defs) PDH language and OS version. |
| 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) |
| force_language | Allow you to override language-id detection | |








