About monfail
|
basics
|
|
syntax
|
module monfail {
[username <string>]
[password <password>]
[port <number>]
warn <number>
prob <number>
}
|
Dependencies
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.
|
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
}
- 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
|