TracNav
Internal Commands
CheckDisk...
CheckEventLog...
CheckSystem...
CheckHelpers...
CheckTaskSched
FileLogger...
NRPEListener...
NSClientListener...
SysTray...
CheckWMI...
RemoteConfiguration...
CheckExternalScripts...
LUAScript...
NSCAAgent...
Documentation...
Getting Started...
Information...
Sponsoring...
- ==External Scripts==
Donate...
CheckTaskSched
CheckTaskSchedis? part of the wiki:CheckTaskSched module.
Arguments:
| Option | Values | Description |
| filter | in, out, any, all | Specify the way you want to filter things. (See section below) |
| truncate | length of the returned set | This will truncate the output after the specified length. As NRPE can only handle 1024 chars you need to truncate the output. |
| Alias | string-expression | The alias to use. |
| debug | N/A | Print the filter chain. |
| MaxWarn | number of records | The maximum hits to allow before reporting a warning state. |
| MaxCrit | number of records | The maximum hits to allow before reporting a critical state. |
| MinWarn | number of records | The minimum hits to allow before reporting a warning state. |
| MinCrit | number of records | The minimum hits to allow before reporting a critical state. |
| +filter-accountName | string-expression | TODO. |
| +filter-applicationName | string-expression | TODO. |
| +filter-comment | string-expression | TODO. |
| +filter-creator | string-expression | TODO. |
| +filter-exitCode | numeric-expression | TODO. |
| +filter-flags | numeric-expression | TODO. |
| +filter-mostRecentRunTime | date-expression? | TODO. |
| +filter-nextRunTime | date-expression? | TODO. |
| +filter-parameters | string-expression | TODO. |
| +filter-workingDirectory | string-expression | TODO. |
| -filter-accountName | string-expression | TODO. |
| -filter-applicationName | string-expression | TODO. |
| -filter-comment | string-expression | TODO. |
| -filter-creator | string-expression | TODO. |
| -filter-exitCode | numeric-expression | TODO. |
| -filter-flags | numeric-expression | TODO. |
| -filter-mostRecentRunTime | date-expression? | TODO. |
| -filter-nextRunTime | date-expression? | TODO. |
| -filter-parameters | string-expression | TODO. |
| -filter-workingDirectory | string-expression | TODO. |
Make sure we dont have any tasks wit last-exit code equals to 1
CheckTaskSched +filter-exit-code==1 ShowAll MaxWarn=1 MaxCrit=1
TODO On some case, NSClient++.exe crash while "CheckTaskSched ShowAll" CheckTaskSched.dll fault at address 0x00014324 (NSClient++.exe version 20081113-1003)







