Hi All,
I have a Zabbix server and many zabbix agents on different locations (Except server, out of my network all agents, their all on active type, I can not check their values via 10050 port with passive agent mode)
I wrote a userparameter which give some numeric result for this clients(adding it on agent install phase). For example "ls -ltrh | wc -l". This questions result must be equal or greater than 0. I added this parameter as a item for exapmle question1. And added trigger for this item like "{template:question1.max(360m)}=0"means if folder empty for last 6 hours there is a problem.
It working on some clients correctly include if folder is empty showing problem or if folder is not empty like has 5 files items value coming 5 on lastest data dashboard.
But it's not working on some clients. For example the folder has 5 files but on lastest data dashboard it's value is 0. And problem is triggering normaly. When I tried userparameter's question manually (like I'm writing "ls -ltrh | wc -l" on to console) it show 5.
I'm really confused at this issue, it's working on some clients and not working correctly on others.
How can I detect where is the problem really. Is agent sending wrong value (0) or sending (5) but I'm receiving it as (0).
Thanks for all helps.
I have a Zabbix server and many zabbix agents on different locations (Except server, out of my network all agents, their all on active type, I can not check their values via 10050 port with passive agent mode)
I wrote a userparameter which give some numeric result for this clients(adding it on agent install phase). For example "ls -ltrh | wc -l". This questions result must be equal or greater than 0. I added this parameter as a item for exapmle question1. And added trigger for this item like "{template:question1.max(360m)}=0"means if folder empty for last 6 hours there is a problem.
It working on some clients correctly include if folder is empty showing problem or if folder is not empty like has 5 files items value coming 5 on lastest data dashboard.
But it's not working on some clients. For example the folder has 5 files but on lastest data dashboard it's value is 0. And problem is triggering normaly. When I tried userparameter's question manually (like I'm writing "ls -ltrh | wc -l" on to console) it show 5.
I'm really confused at this issue, it's working on some clients and not working correctly on others.
How can I detect where is the problem really. Is agent sending wrong value (0) or sending (5) but I'm receiving it as (0).
Thanks for all helps.
Comment