[ Index ]

PHP Cross Reference of Eventum

title

Body

[close]

/include/ -> class.monitor.php (summary)

(no description)

File Size: 320 lines (12 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 1 file
 include/class.misc.php

Defines 1 class

Monitor:: (8 methods):
  checkMailQueue()
  checkDiskspace()
  checkConfiguration()
  checkDatabase()
  checkIRCBot()
  _add_table_prefix()
  _getOwnerAndGroup()
  _getOctalPerms()


Class: Monitor  - X-Ref

checkMailQueue()   X-Ref
Checks the mail queue logs for any email that wasn't delivered.


checkDiskspace($partition)   X-Ref
Checks the free disk space status on the server.


checkConfiguration($required_files)   X-Ref
Checks on the status of the required configuration and auxiliary files
and directories.

param: array $required_files An array of files that should be checked on.

checkDatabase()   X-Ref
Checks on the status of the MySQL database.


checkIRCBot()   X-Ref
Checks on the status of the IRC bot.


_add_table_prefix($table_name)   X-Ref
Method used by the code that checks if the required tables
do exist in the appropriate database. It returns the given
table name prepended with the appropriate table prefix.

param: string $table_name The table name
return: string The table name with the prefix added to it

_getOwnerAndGroup($file)   X-Ref
Returns the owner and group name for the given file.

param: string $file The full path to the file
return: array The owner and group name associated with that file

_getOctalPerms($file)   X-Ref
Returns the octal permission string for a given file.

param: string $file The full path to the file
return: string The octal permission string



Generated: Wed Dec 19 21:21:33 2007 Cross-referenced by PHPXref 0.7