;); tevent %{deltatime} \
> MAINT_CONTEXT_FOR_$2
>
> If you use a time_t for your starting time, then mydeltatime is:
>
>return ($1 - time)
...and if you are on Linux or have the GNU date utility installed, then
you can use /bin/date the as a core part of the parsin
In message <4b1fbe1f.3070...@umn.edu>,
Tim Peiffer writes:
>Risto Vaarandi wrote:
>> First, there is a way to implement at-like functionality dynamically
>> in SEC through the 'tevent' action (it's the most recently added
>> action that appeared in version 2.4.2).
>> The 'tevent' action generate
I think you have addressed part of what I am asking. Using you as a
sounding board - So if I read a ticket and create a log event
"myhost.mydomain Maintenance window scheduled 200912090800 for 3600
seconds", would I need to parse the start time, and compare to ,
and use that delta in the teven
On 12/09/2009 04:25 PM, Risto Vaarandi wrote:
>
...
> action-on-expire list. In that case you only have one rule, and if you
> are afraid of losing state between restarts, SEC can be easily
> configured to store/reload its contexts to/from disk at shutdown/restart
> (see a 5 year old post from the
Tim,
you could tackle the problem in several ways.
First, there is a way to implement at-like functionality dynamically in
SEC through the 'tevent' action (it's the most recently added action
that appeared in version 2.4.2).
The 'tevent' action generates a synthetic event after given amount of