The requirements code computes the max of all requirement messages, which is great, but...
One might want to address the "critical" issues first, to get the red out.
This patch adds the Nagios status to each requirement text:
397a398,409
> $severity_nagios_text = array(
> REQUIREMENT_DEBUG => 'OK',
> REQUIREMENT_INFO => 'OK',
> REQUIREMENT_NOTICE => 'OK',
> REQUIREMENT_WARNING => 'WARNING',
> REQUIREMENT_ERROR => 'CRITICAL',
> REQUIREMENT_CRITICAL => 'CRITICAL',
> REQUIREMENT_ALERT => 'CRITICAL',
> REQUIREMENT_EMERG => 'CRITICAL',
> );
>
>
415c427
< $descriptions[] = $requirement['title'];
---
> $descriptions[] = $requirement['title'] . ' ' . $severity_nagios_text[ $requirement['severity'] ];
Comments
Comment #1
greg.harveyI'm not entirely convinced this wasn't tackled elsewhere, and Drupal 6 is going out very shortly, so this seems unlikely to get done before EOL. So I'm going to close this.