pagefile

check_pagefile

Checks the pagefile usage.

Implementation

WindowsLinuxFreeBSDMacOSX

Examples

Default Check

check_pagefile
OK - total 39.10 MiB/671.39 MiB (5.8%) |...

Example using NRPE and Naemon

Naemon Config

define command{
    command_name         check_nrpe
    command_line         $USER1$/check_nrpe -H $HOSTADDRESS$ -n -c $ARG1$ -a $ARG2$
}

define service {
    host_name            testhost
    service_description  check_pagefile
    use                  generic-service
    check_command        check_nrpe!check_pagefile!'warn=used > 80%' 'crit=used > 95%'
}

Argument Defaults

ArgumentDefault Value
filtername = ’total'
warningused > 60%
criticalused > 80%
empty-state0 (OK)
empty-syntax
top-syntax%(status) - ${list}
ok-syntax
detail-syntax${name} ${used}/${size} (%(used_pct | fmt=%.1f )%)

Check Specific Arguments

None

Attributes

Filter Keywords

these can be used in filters and thresholds (along with the default attributes):

AttributeDescription
nameThe name of the page file (location)
usedUsed memory in human readable bytes
used_bytesUsed memory in bytes
used_pctUsed memory in percent
freeFree memory in human readable bytes
free_bytesFree memory in bytes
free_pctFree memory in percent
peakPeak memory usage in human readable bytes
peak_bytesPeak memory in bytes
peak_pctPeak memory in percent
sizeTotal size of pagefile (human readable)
size_bytesTotal size of pagefile in bytes