Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I maintain the Nagios module and we use it across a lot of sites. One of our clients installed this module and didn't configure it, which immediately triggered a "CRITICAL" alert for us! Not your fault, I appreciate, but it would be good if this module enabled its "quiet mode" by default, so status is WARNING instead of CRITICAL for this sort of scenario - unless someone states otherwise.
Patch to follow.
Comment | File | Size | Author |
---|---|---|---|
#3 | Quiet-by-default-2582109-3.patch | 545 bytes | greg.harvey |
Comments
Comment #2
greg.harveySimple patch attached.
Comment #3
greg.harveyOf course, it would help if I didn't get my diff back to front!
Comment #5
ruplUntil the latest release I'd have said no, because a custom build was required to include critical functionality that the module uses (implementations of
hook_modernizr_load()
). But hey, Modernizr v3 forced my hand on that one so I suppose this truly is less critical now.The patch seems to be modifying a manual copy of the module file, so I made the same change and updated the comment to be clearer too.
Comment #6
rupl7.x-3.7 released: https://www.drupal.org/node/2583287