Hello,
I'm fairly new to Zabbix, although i've been configuring items and triggers for the last few months in a hosted environment.
Essentially, I have a batch file which uses a windows version of grep, to search for a string lets say "test". This counts the amount of times it finds "test" and outputs a value.
This works, and Zabbix is giving me a nice result which increases throughout the day. The issue is, this is the sum.
What I need, is a a trigger when the value increases by X in the last Y minutes. My item gets the value every 30 seconds.
I could do:
Because my script only counts the "total" and not new occurrences, its making it a little difficult, but i cant really change my script.
Any help would be appreciated!
I'm fairly new to Zabbix, although i've been configuring items and triggers for the last few months in a hosted environment.
Essentially, I have a batch file which uses a windows version of grep, to search for a string lets say "test". This counts the amount of times it finds "test" and outputs a value.
This works, and Zabbix is giving me a nice result which increases throughout the day. The issue is, this is the sum.
What I need, is a a trigger when the value increases by X in the last Y minutes. My item gets the value every 30 seconds.
I could do:
- Difference between last and previous value > - though this is only the last 30 seconds. I want to monitor possible the last 5 minutes
Because my script only counts the "total" and not new occurrences, its making it a little difficult, but i cant really change my script.
Any help would be appreciated!
Solved it in one. I knew there would be a simple way, but as usual it isnt until you know it, that it reveals itself to being simple.
Comment