Detect if windows task is running to long, zabbix

Item by itself:
system.run[tasklist | grep "calc.exe" | wc -l]
Trigger:
{computer:system.run[tasklist | grep "calc.exe" | wc -l].avg(1m)}>0
To work with this solution you have to add some gnu libraries like ls.exe, grep.exe to windows %path% variable and restart zabbix agent.

No comments: