You are here

function nagios_functions in Nagios Monitoring 5

Same name and namespace in other branches
  1. 8 nagios.module \nagios_functions()
  2. 6 nagios.module \nagios_functions()
  3. 7 nagios.module \nagios_functions()

Functions to be performed by the base nagios module.

2 calls to nagios_functions()
nagios_nagios in ./nagios.module
Implementation of hook_nagios
nagios_nagios_settings in ./nagios.module
Implementation of hook_nagios_settings()

File

./nagios.module, line 26

Code

function nagios_functions() {
  return array(
    // Checking of hook_requirements. This includes the following:
    // - module updates
    // - database schema
    // - files directory writability
    // - update.php protected
    // - Lots of other good stuff ...
    'requirements',
    // Checking whether cron has been running regularly
    'cron',
    // Checking the number of anonymous sessions
    'session_anon',
    // Checking the number of authenticated sessions
    'session_auth',
    // Checking the number of nodes and users.
    // These queries give some site statistics, and also serve to ensure the database is up
    'nodes',
    'users',
    // Modules and themes
    'modules',
    'themes',
  );
}