Hi. I have a status .txt file on a web server, with the following data:
What I want to do is to use Web monitoring to monitor the .txt file for specific patterns. For example, I want to know when "VIDEO_FREEZE|NO" changes to "VIDEO_FREEZE|YES".
I have created a Web monitoring element with step to check for pattern in the specific text, but it does not work as intented:
How can I achieve the following? Is it possible to monitor this status file in some different way? (with Zabbix agent, analyzing it as log?)
Code:
VIDEO_BLACK|NO VIDEO_FREEZE|NO AUDIO_TRACK1_SILENCE|NO AUDIO_TRACK2_SILENCE|NO AUDIO_TRACK3_SILENCE|YES
I have created a Web monitoring element with step to check for pattern in the specific text, but it does not work as intented:
- If I use "*VIDEO_FREEZE|NO*", it just stays at status of "1" all the time, even if the value of it changes to "YES"
- If I use "VIDEO_FREEZE|NO", it stays at "0" all the time, even if it changes to "VIDEO_FREEZE|YES"
How can I achieve the following? Is it possible to monitor this status file in some different way? (with Zabbix agent, analyzing it as log?)
Comment