monit-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Monitoring Apache mod_status (was Apache, rotatelogs & chroot enviro


From: Martin Pala
Subject: Re: Monitoring Apache mod_status (was Apache, rotatelogs & chroot environment)
Date: Fri, 10 Dec 2004 15:02:13 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.3) Gecko/20040910

Jan-Henrik Haukeland wrote:
 > BTW, I see a shortcoming in the protocol test interface. I think there
should be a way to kickback error reports to validate.c so it can be included in the alert. Now lots of interesting errors can only be logged. We can change the signature of a protocol test to: int check_foobar(Socket_T s, char **errors); Where the protocol-test can allocate an error string upon errors and assign it to the errors parametere. validate.c will use this error string in the alert if it is non-null and validate.c is also responsible for freeing the errors-buffer. What do you think?

Good idea :)

+1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]