function nagios_status in Nagios Monitoring 5
Same name and namespace in other branches
- 8 nagios.module \nagios_status()
 - 6 nagios.module \nagios_status()
 - 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',
  );
}