Thanks for taking a look at the patches.

> One thing which you will want to correct, is your alert line parsing code

> doesn't preclude presumably bogus syntax such as:
> alert severity=1 exit=1 exit=80-90 severity=2 mail.alert
_SYSADMIN_EMAIL_

I guess I'm not sure what the right behavior should be in this case; should
mon just throw a warning, should it exit with an error? Anyway, I think at
least putting the alert line parsing code into its own subroutine makes it
easier to deal with.

Here is the patch for mon.8:

(See attached file: mon.8.diff)

Attachment: mon.8.diff
Description: Binary data

Reply via email to