function nagios_status in Nagios Monitoring 7
Same name and namespace in other branches
- 8 nagios.module \nagios_status()
- 5 nagios.module \nagios_status()
- 6 nagios.module \nagios_status()
Mapping of defines to text strings that Nagios understands
3 calls to nagios_status()
- nagios_check in ./
nagios.drush.inc - Helper function for drush_nagios_check().
- nagios_nagios_settings in ./
nagios.module - Implements hook_nagios_settings().
- nagios_status_page in ./
nagios.module - Callback for the nagios status page
File
- ./
nagios.module, line 15
Code
function nagios_status() {
return [
NAGIOS_STATUS_OK => 'OK',
NAGIOS_STATUS_UNKNOWN => 'UNKNOWN',
NAGIOS_STATUS_WARNING => 'WARNING',
NAGIOS_STATUS_CRITICAL => 'CRITICAL',
];
}