TracNav menu
-
Home
-
Documentation...
-
Information...
-
Commands/Modules
-
CheckDisk...
-
CheckEventLog...
-
CheckSystem
- CheckCPU
- CheckUpTime
- CheckServiceState
- CheckProcState
- CheckMem
- CheckCounter
-
CheckHelpers...
-
CheckTaskSched...
-
FileLogger...
-
NRPEListener...
-
NSClientListener...
-
SysTray...
-
CheckWMI...
-
RemoteConfiguration...
-
CheckExternalScripts...
-
LUAScript...
-
NSCAAgent...
-
Donate...
CheckMem
This check checks the memory (page) usage and generates a state if the memory is above or below give parameters.
| Option | Values | Description |
| MaxWarn | size-value or % | The maximum size allowed before a warning state is returned. |
| MaxCrit | size-value or % | The maximum size allowed before a critical state is returned. |
| MinWarn | size-value or % | The minimum size allowed before a warning state is returned. |
| MinCrit | size-value or % | The minimum size allowed before a critical state is returned. |
| ShowAll | None, long | Add this option to show info even if no errors are detected. Set it to long to show detailed information. |
| type | page, paged, virtual, physical | What kind of memory to check (does not yet support stacking to check multiple kinds) |
The size-value or % is a normal numeric-value with an optional unit or percentage postfix to specify large sizes. The available postfixes are B for Byte, K for Kilobyte, M for Megabyte, G for Gigabyte and finally % for percent free space.
What the different types really mean
| Type | Meaning |
| page | Number of .. ?? This is the commitlimit (same as used in NSCLient, ie. via PDH, available on NT4) |
| paged | Number of .. ?? (Usually identical to 'page', different APIs for I think the same thing) According to M$ this is: Size of available memory to commit, in bytes. |
| virtual | Number of pages of swap currently in use (note - it does NOT = (physical + swap) as on *nix boxes) According to M$ this is: Size of unreserved and uncommitted memory in the user mode portion of the virtual address space of the calling process, in bytes. |
| physical | Total amount of RAM in the server ?? (does it change?) According to M$ this is: Total size of physical memory, in bytes. |
Examples
Check that the page is below 80%:
checkMem -a MaxWarn=80% MaxCrit=90% ShowAll type=page OK: page: 758M (795205632B)|page=30% 80%;90%;
Check that the physical is below 80%:
checkMem -a MaxWarn=80% MaxCrit=90% ShowAll type=physical OK: physical: 758M (795205632B)|'physical memory'=30% 80%;90%;




