survivor: Oncall Check Module

SURVIVOR: `oncall` Check Module
About `oncall` Dependencies Arguments Description Examples
About `oncall`
basics |
Module Type | Scheduler | Remote
check | Yes | No
syntax |
         module oncall {
           instance <string>
           list <string>
           [list ...]
         }
### Dependencies None ### Arguments
Name | Type | Value
instance | string | Name of survivor Instance to request information from.
list | string list | Call list(s) to obtain status of.
1. ### Description The `oncall` module executes the survivor `sc` command to determine who is on call for the specified call lists within the specified Instance. `sc` must be in the `$PATH` defined in `modules/common/Survivor.pm`. The module will return `MODEXEC_NOTICE` and report who is on call in the comment. ### Examples To obtain the current person on call for the call lists `unix-group` and `network-group` in the `sample` Instance:
            module oncall {
              instance sample
              list     unix-group
              list     network-group
            }
$Date: 2006/11/19 21:01:55 $ $Revision: 0.7 $ | keywords instance list