Class diskspace_monitor

Description

Class which checks for a disk free space condition.

Located in /monitor-defs.php (line 725)

generic_monitor
   |
   --diskspace_monitor
Variable Summary
 mixed $fsdir
 mixed $minspace
 mixed $warnspace
Method Summary
 diskspace_monitor diskspace_monitor (integer $fsdir, integer $warnspace, integer $minspace)
 object The check ()
Variables
mixed $fsdir = "" (line 730)

Directory to check

mixed $minspace = 0 (line 736)

Threshold (bytes) before error condition

mixed $warnspace = 0 (line 733)

Threshold (bytes) before warning condition

Methods
Constructor diskspace_monitor (line 743)
diskspace_monitor diskspace_monitor (integer $fsdir, integer $warnspace, integer $minspace)
  • integer $fsdir: A directory on the filesystem to check
  • integer $warnspace: The threshold to warn of low space (bytes)
  • integer $minspace: The threshold for critical errors (bytes)
check (line 754)

Check the space on the filesystem of the directory specified.

  • return: report generated by the checking process.
object The check ()

Documentation generated by phpDocumentor 1.3.0RC3