Package: monit
Severity: important
Version: 4.10.1-4
Hi,

Monit says that the event queue is full if "SLOTS" are not defined in
"set eventqueue" statement.

The following patch in the attachment correct this failure.

Greetings, Markus Naß

diff -ruN old/monit-4.10.1/file.c new/monit-4.10.1/file.c
--- old/monit-4.10.1/file.c	2007-08-12 20:02:48.000000000 +0200
+++ new/monit-4.10.1/file.c	2009-02-10 09:55:00.000000000 +0100
@@ -404,7 +404,7 @@
   DIR           *dir = NULL;
   struct dirent *de = NULL;
 
-  if(limit <= 0) {
+  if(limit = 0) {
     LogError("%s: event queue full\n", prog);
     return FALSE;
   }

Reply via email to