survivor: Monfail Check Module

SURVIVOR: `monfail` Check Module
About `monfail` Dependencies Arguments Description Examples
About `monfail`
basics |
Module Type | Scheduler | Remote
check | Yes | No
syntax |
         module monfail {
           [username <string>]
           [password <password>]
           [port <number>]
           warn <number>
           prob <number>
         }
### Dependencies Perl Modules `Mon::Client` ### Arguments
Name | Type | Value
username | optional string | Username to use when authenticating to Mon server.
password | optional password | Password to use when authenticating to Mon server.
port | optional number between 1 and 65535 | Port number on which Mon server is listening, default is 2583.
warn | number | Report a warning if specified number of failed services are reported, or 0 to not generate warnings.
prob | number | Report a problem if specified number of failed services are reported, or 0 to not generate problems.
1. ### Description The `monfail` module uses the `Mon::Client` Perl module to contact the Mon server and obtain a list of failed service. ### Examples For Mon servers that allow the `ALL` group to get the scheduler status, no username or password is required:
            module monfail {
              warn 1
              prob 1
            }
2. For a server that requires authentication:
            module monfail {
              username monUser
              password monPass
              warn 1
              prob 1
            }
$Date: 2006/11/19 20:23:47 $ $Revision: 0.4 $ | keywords password port prob username warn