Closed (outdated)
Project:
Security Review
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 Dec 2009 at 06:34 UTC
Updated:
5 Nov 2022 at 23:38 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
coltraneThis is a great idea, crdant. I was planning on writing or integrating with a notification system and adding a hook_cron implementation so your security status can be tracked. I like this integration with nagios though, so let me review and think a bit on the severity levels.
Comment #2
gregglesIs nagios a polling system? I thought it could be a push system that hooked into watchdog. I'd like to solve this generally by watchdogging and letting nagios hook into that if it feels appropriate. Or is that crazy talk because I don't know anything about nagios?
Comment #3
crdant commentedNagios is polling based. You configure plugins that perform checks on systems and services on a periodic basis. kbhahey put together the Nagios module with a hook to allow additional services to be monitored by the initial set he defined. I figured this would be a good additional check to have in their when I'm monitoring with Nagios. You could write a Nagios plugin that watched the watchdog table instead of making a web request (which is how Khalid's module works), but it would still be polling based.
You can also do a push-style notification with Nagios using it's external command functionality, but that's assuming that you can write to a specific file on the Nagios server (or put together a listener that writes to it).
Comment #4
gregglesThanks for the explanation - this patch makes perfect sense in that case.
Comment #5
coltraneHere's an updated patch. I haven't tested but I can commit somewhat soon.
Comment #6
coltraneThis one over #5, it incorrectly referenced check status.
Comment #7
smustgrave commentedAs Drupal6 has been EOL https://www.drupal.org/about/drupal6-eol closing as outdated