You are here

function nagios_status in Nagios Monitoring 5

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

Mapping of defines to text strings that Nagios understands

1 call to nagios_status()
nagios_status_page in ./nagios.module
Callback for the nagios status page

File

./nagios.module, line 14

Code

function nagios_status() {
  return array(
    NAGIOS_STATUS_OK => 'OK',
    NAGIOS_STATUS_UNKNOWN => 'UNKNOWN',
    NAGIOS_STATUS_WARNING => 'WARNING',
    NAGIOS_STATUS_CRITICAL => 'CRITICAL',
  );
}