Not sure if this has been reported.  
It is not fixed in mon-1.0.0pre5.

A misspelled keyword (e.g. numalert 5) in the period section will be
ignored.
I think this must be an oversight.
Mon, as it does in similar cases, should complain and not start.

Adding the lines marked "# Fix" around line 1380 solves the problem.

sub read_cf 
  ...
  elsif ($var eq "no_comp_alerts")
  {
     $pref->{"no_comp_alerts"} = 1;
     next;
  }
  else                                               # Fix   
  {                                                  # Fix
     close (CFG);                                    # Fix   
     return "cf error: unknown syntax [$l], line $line_num";   # Fix   
  }                                                  # Fix   
}
...

Cheers,
Michael Vogt


                
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 

_______________________________________________
mon mailing list
mon@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/mon

Reply via email to