survivor: Test Check Module

SURVIVOR: `test` Check Module
About `test` Dependencies Arguments Description Examples
About `test`
basics |
Module Type | Scheduler | Remote
check | Yes | Yes
syntax |
         module test {
           exitcode <number>
           [exittext <string>]
         }
### Dependencies None ### Arguments
Name | Type | Value
exitcode | number between 0 and 1000 | Value to exit with upon execution of check.
exittext | optional string | Text to place in comment field.
1. ### Description The `test` module simply exits with the value of the provided argument. Note this must be an actual number, aliases (`MODEXEC_OK`) are not understood by the module. ### Examples To have the test module exit with code 3 (`MODEXEC_NOTICE`):
            module test {
              exitcode 3
            }
2. To have the test module exit with code 1 (`MODEXEC_PROBLEM`) and specific comment text:
            module test {
              exitcode 1
              exittext This is always a problem for me
            }
$Date: 2006/11/19 22:05:04 $ $Revision: 0.7 $ | keywords exitcode exittext