File/monitor-defs.php

Description
Classes
Class Description
 class exec_monitor A monitor class to exec a script/program on the OS. This allows you
 class file_monitor A monitor class to check when files/directories were last modified.
 class postgres_monitor A monitor class to check if Postgres is up and about. You need to specify a database and a user (and if required, a password) which can be use to test-connect to Postgres. Optionally you can specify the host and port number if connection is over TCP.
 class lucene_monitor A monitor class to check if Lucene is up and about
 class diskspace_monitor Class which checks for a disk free space condition.
 class monitor The monitor class. This is the entity which contains the details of what is to be monitored, how it is to be monitored and what to do if a given condition arises.
Includes
 include_once ("datetime-defs.php") (line 30)

Date-time funtions

 include_once ("lockfile-defs.php") (line 32)

Lockfile manager

Constants
COND_ALL = -1 (line 39)

Aggregate: all conditions

COND_ERROR = 2 (line 45)

Error condition

COND_FATAL = 3 (line 47)

Fatal error condition

COND_NONE = 100 (line 49)

Aggregate: no conditions

COND_OK = (line 41)

Condition for a passed test

COND_UNKNOWN = 101 (line 51)

Condition is undefined

COND_WARNING = 1 (line 43)

Warning condition

Documentation generated by phpDocumentor 1.3.0RC3