i trie to supervise a channel from my encoder server, but i want to supervise the channel between certain hours ( because channel is off Under and upper this time and i don't want to reach false alarms..)
here the trigger i write but nothing change alarm are reaching any time and also between trigger time...
i parse some logs in my log server and a script in the server reach alarm when raised appear in the log and clear it when cleared appears ( 10300 is the error alarm code and channel is the exact name of the channel to supervise because i have a lot of other channel )
({TRIGGER.VALUE}=0 and ({Template Encodeur:alarm_10300_[{#CHANNEL}].str(raised)}=1 and {Template Encodeur:alarm_10300_[{#CHANNEL}].str(channel)}=1 and {Template Encodeur :alarm_10300_[{#CHANNEL}].time()}>000001 and {Template Encodeur:alarm_10300_[{#CHANNEL}].time()}<163000)
or
({Template Encodeur:alarm_10300_[{#CHANNEL}].str(raised)}=1 and {Template Encodeur:alarm_10300_[{#CHANNEL}].str(Channel)}=0))
or
({TRIGGER.VALUE}=1 and {Template Encodeur :alarm_10300_[{#CHANNEL}].str(OK)}=0)
so here i want to supervise and reach alarm only between 00h01 and 16h30...
but it is not working ( i try also to put time (0) but no change.. )
somebody can help me ?? is there a way to activate alarm between hours...is there something i wrote wrong?
and sorry for my bad English
thanks for your help )
here the trigger i write but nothing change alarm are reaching any time and also between trigger time...
i parse some logs in my log server and a script in the server reach alarm when raised appear in the log and clear it when cleared appears ( 10300 is the error alarm code and channel is the exact name of the channel to supervise because i have a lot of other channel )
({TRIGGER.VALUE}=0 and ({Template Encodeur:alarm_10300_[{#CHANNEL}].str(raised)}=1 and {Template Encodeur:alarm_10300_[{#CHANNEL}].str(channel)}=1 and {Template Encodeur :alarm_10300_[{#CHANNEL}].time()}>000001 and {Template Encodeur:alarm_10300_[{#CHANNEL}].time()}<163000)
or
({Template Encodeur:alarm_10300_[{#CHANNEL}].str(raised)}=1 and {Template Encodeur:alarm_10300_[{#CHANNEL}].str(Channel)}=0))
or
({TRIGGER.VALUE}=1 and {Template Encodeur :alarm_10300_[{#CHANNEL}].str(OK)}=0)
so here i want to supervise and reach alarm only between 00h01 and 16h30...
but it is not working ( i try also to put time (0) but no change.. )
somebody can help me ?? is there a way to activate alarm between hours...is there something i wrote wrong?
and sorry for my bad English
thanks for your help )
Comment