Hi, 

I've just switched from stable to latest devel, (I wrote here about my
problems on 21 May 2004, but nobody noticed ;), and found that upalerts 
are not sent when 'upalertafter' is not set.

I've attached patch to make it work like in stable version.

Is this is a bug, or just new behaviour?

-- 
Daniel Fenert                 --==> [EMAIL PROTECTED] <==--
--- mon-0.99.3-41/mon   2004-04-23 15:35:46.000000000 +0200
+++ mon/mon     2004-06-04 14:32:47.000000000 +0200
@@ -2906,6 +2906,11 @@
                    do_alert ($group, $service, $sref->{"_upalertoutput"}, 0, 
$FL_UPALERT);
                }
            }
+           #send also when no upalertafter set:
+           elsif (defined($sref->{"_upalert"})) 
+           {
+               do_alert ($group, $service, $sref->{"_upalertoutput"}, 0, $FL_UPALERT);
+           }
 
            $sref->{"_ack"} = 0;
            $sref->{"_ack_comment"} = '';
_______________________________________________
mon mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/mon

Reply via email to