CheckAlwaysCRITICAL

Runs another check and alters the return state to always return CRITICAL. This command has no options instead everything is inject as a new command. Notice that this command does not alter the return string so if a check (as most do) prints WARNING that will still remain, only the return state is altered. The return state is what Nagios will use to determine state.

Examples

Run the sample check from CheckDisk but alter the return state. Notice that WARNING is still printed, yet Nagios will interpret this as a critical state.

 CheckAlwaysCRITICAL CheckFileSize ShowAll MaxWarn=1024M MaxCrit=4096M File:WIN=c:\WINDOWS\*.*
 WARNING: WIN: 2G (2325339822B)|WIN=2325339822;1073741824;4294967296