In the nagios_get_data() function, we should provide a hook so modules can provide their own alerts to Nagios.
Perhaps provide a way for other modules to override the DRUPAL element in the array as well.
In the nagios_get_data() function, we should provide a hook so modules can provide their own alerts to Nagios.
Perhaps provide a way for other modules to override the DRUPAL element in the array as well.
Comments
Comment #1
kbahey commentedThis is now implemented.
Your module can implement a hook_nagios(), documented in the README.txt.