monit-general
[Top][All Lists]
Advanced

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

Re: OK, stumped


From: rory
Subject: Re: OK, stumped
Date: Wed, 22 Sep 2010 10:30:49 -0700
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.9) Gecko/20100915 Lightning/1.0b2 Thunderbird/3.1.4

I had tried that, and I was getting the wrong value for the number I put in the config file.

On 9/22/10 3:04 AM, Martin Pala wrote:
The following l.l token definition should be sufficient:

--8<--
waitdate { return WAITDATE; }
--8<--

and the parser part:

--8<--
waitdate        : WAITDATE NUMBER { addwaitdate($2);};
--8<--

Regards,
Martin

On Sep 22, 2010, at 2:39 AM, rory wrote:

I've added my directive, and I get the right value for it. However, the very 
next line after my directive gets a syntax error, no matter the placement. Here 
is my patch, which should give you an idea of what I'm trying to do.  thx

The actual coded in validate.c is wrong... I don't think s->monitor is what I 
want, that seems to be global, and not on a per service basis, but that's neither 
here nor there at the moment.


<patch.txt>--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general

--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general






reply via email to

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