CheckTaskSched/CheckTaskSched

CheckTaskSched

CheckTaskSchedis? part of the wiki:CheckTaskSched module.

Arguments:

OptionValuesDescription
filterin, out, any, allSpecify the way you want to filter things. (See section below)
truncatelength of the returned setThis will truncate the output after the specified length. As NRPE can only handle 1024 chars you need to truncate the output.
Aliasstring-expressionThe alias to use.
debugN/APrint the filter chain.
MaxWarnnumber of recordsThe maximum hits to allow before reporting a warning state.
MaxCritnumber of recordsThe maximum hits to allow before reporting a critical state.
MinWarnnumber of recordsThe minimum hits to allow before reporting a warning state.
MinCritnumber of recordsThe minimum hits to allow before reporting a critical state.
+filter-accountNamestring-expressionTODO.
+filter-applicationNamestring-expressionTODO.
+filter-commentstring-expressionTODO.
+filter-creatorstring-expressionTODO.
+filter-exitCodenumeric-expressionTODO.
+filter-flagsnumeric-expressionTODO.
+filter-mostRecentRunTimedate-expression?TODO.
+filter-nextRunTimedate-expression?TODO.
+filter-parametersstring-expressionTODO.
+filter-workingDirectorystring-expressionTODO.
-filter-accountNamestring-expressionTODO.
-filter-applicationNamestring-expressionTODO.
-filter-commentstring-expressionTODO.
-filter-creatorstring-expressionTODO.
-filter-exitCodenumeric-expressionTODO.
-filter-flagsnumeric-expressionTODO.
-filter-mostRecentRunTimedate-expression?TODO.
-filter-nextRunTimedate-expression?TODO.
-filter-parametersstring-expressionTODO.
-filter-workingDirectorystring-expressionTODO.

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)