File: README.variables

package info (click to toggle)
mon 0.99.2-9
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 908 kB
  • ctags: 299
  • sloc: perl: 9,801; ansic: 778; sh: 372; makefile: 122
file content (52 lines) | stat: -rw-r--r-- 1,561 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
$Id: README.variables 1.1 Sat, 26 Aug 2000 15:22:34 -0400 trockij $

THIS FILE IS PROBABLY OUTDATED


The following are global variables:

maxkeep
    The maximum lines of alert or failure history to retain.

For each service, the following variables are maintained by the server,
and are available from the "status" command:

_failure_count
    The number of failures since the start of monitoring.

_start_of_monitor
    The time that the monitoring of this particular service started,
    as reported by the time(2) system call.

_alert_count
    The number of alerts triggered since _start_of_monitor, in time(2) format.

_last_failure
    The time(2) of the last failure that was detected.

_last_success
    The time(2) of the last success for this service.

_last_output
    The output of the last monitor command (not the current).

_current_output
    The output of the current monitor command.

_timer
    The number of seconds left before the monitor is invoked again.

_last_opstatus
    The _op_status before the dependency code set it to STAT_DEPEND

_op_status
    STAT_FAIL		the monitor returned a failure
    STAT_OK		the monitor returned a success
    STAT_COLDSTART	a coldstart trap was received
    STAT_WARMSTART	a warmstart trap was received
    STAT_LINKDOWN	a linkdown trap was received
    STAT_UNKOWN		unknown (reserved for stupid things)
    STAT_TIMEOUT	a trap timeout occurred
    STAT_UNTESTED	this service has not yet been tested
    STAT_DEPEND		this service has been marked by the depend routines
    STAT_WARN		a warning state