I believe the latest version of mon is 0.38.18, right?
Whenever I define a startup alert, it never passes the -u to the alert to
tell it it is an upalert. Consequently, all of my startupalerts actually are
startalerts :(.
Looking through mon, I see that in the section which execs the alerts, he
only checks to see if FL_UPALERT is on and not FL_STARTUPALERT.
By changing it so that both flags are checked, my startupalerts started
working.
Another change I could have done was change this section:
$FL_UPALERT=2;
$FL_STARTUPALERT=16;
to be:
$FL_UPALERT=2;
$FL_STARTUPALERT=18; # 2 & 16
Has anyone else had this problem with mon? A *LONG* time ago I used mon for
my LVS and it worked fine... I forget what version that is. I was using it
now for a new cluster I'm building and having the trouble.
All the best --
Ted
|