-
Type:
Problem report
-
Resolution: Won't fix
-
Priority:
Minor
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
Dear
I am trying to configure zabbix 2.2.10 to monitor a file, the idea is that, when the file is modified, show the last line.
For this I build an item with the definition that can be seen in item.jpg, a trigger that can be seen in trigger.jpg and an action that can be seen in action1.jpg, actio2.jpg and action3.jpg
The trigger key is “system.run[/bin/cat /exports/rx186_rx187/data/zabbix/WARN.rx186 | /bin/tail -1]”
As you can see in the configuration, the item must be active from 07:00 to 20:00 hours
At 07:00 hours, the monitored file is already receiving messages, and continues to receive until approximately 07:37, it does not matter if the messages generated previous 07:00 are lost.
The problem is that zabbix does not execute the configured action when the monitoring starts, just after the monitored file stopped receiving messages, if it receives a new message it executes the action
To clarify the problem I send the image of events (event1.jpg and event2.jpg) where you can see that from 07:00 to 07:37 did not perform any action, after that time began to execute them
Could you please tell me what I'm doing wrong
Thank you very much