Re: [Call for Votes] System_ProcWatch
| From: | Michael Wallner | Date: | Thu, 13 Nov 2003 09:40:00 +0000 |
| Subject: | Re: [Call for Votes] System_ProcWatch | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-23575@lists.php.net to get a copy of this message | ||
Hi Jan Lehnardt, you wrote:
> as stated earlier, I do some testing. In fact Mike and I are trying to
> fix issues with BSD's and Darwin on IRC. Once we're done and we have
> configuration via arrays (good point Alan :) +1 from here,
Just one thing to configuring by array - they'll get rather complex:
$config = array(
'job1' => array(
'pattern' => array(
'command' => '/httpd/'
),
'condition' => array(
'presence' => array(
'max' => 50,
'min' => 5
)
),
'execute' => array(
'shell' => 'ring_the_bell.sh',
'php' => '_procwatch_callback($procs);'
)
),
'job2' => ...
);
So I thought a simple XML structure would suffice here.
Regards,
--
Michael - < mike(@)php.net >
Attachment: [application/pgp-signature]
Attachment: [application/pgp-signature]