tags 902204 -moreinfo
thanks

On Sat, 22 Dec 2018 03:17:27 +0100 Vincent Lefevre <vinc...@vinc17.net> wrote:
> So, it seems to be a bug in the monit code that makes it think that
> the link is up while it is not.
> 
> In validate.c, I see:
> 
> [...]
>         for (LinkStatus_T link = s->linkstatuslist; link; link = link->next) {
>                 Event_post(s, Event_Link, State_Succeeded, link->action, 
> "link data collection succeeded");
>         }
>         // State
>         if (! Link_getState(s->inf.net->stats)) {
>                 for (LinkStatus_T link = s->linkstatuslist; link; link = 
> link->next)
>                         Event_post(s, Event_Link, State_Failed, link->action, 
> "link down");
>                 return State_Failed; // Terminate test if the link is down
>         } else {
>                 for (LinkStatus_T link = s->linkstatuslist; link; link = 
> link->next)
>                         Event_post(s, Event_Link, State_Succeeded, 
> link->action, "link up");

Ok, CC upstream to see their opinion (I think this problem wasn't reported yet.)

Reply via email to