Hello all:
Using 1.3.3 server and agent, I have a UserParameter script that is defined as:
UserParameter=ztc.active_jobs,/usr/lib/zabbix/ztc/ztc.sh -f active_jobs
UserParameter=ztc.is_alive,/usr/lib/zabbix/ztc/ztc.sh -f is_alive
UserParameter=ztc.queue_size,/usr/lib/zabbix/ztc/ztc.sh -f queue_size
UserParameter=ztc.tc_free_mem,/usr/lib/zabbix/ztc/ztc.sh -f tc_free_mem
UserParameter=ztc.tc_max_mem,/usr/lib/zabbix/ztc/ztc.sh -f tc_max_mem
UserParameter=ztc.tc_total_mem,/usr/lib/zabbix/ztc/ztc.sh -f tc_total_mem
On the server I have created a template for these items, and no matter what I set for the "Update Interval" it seems that the server requests each parameter as fast as it can, I currently set the Update Interval to 300 (seconds?) which should request each parameter every five minutes, instead each one (according to the zabbix_agentd.log) is getting requested every 25 seconds or so. In fact ALL agent parameters seem to be getting queried every 20-30 seconds on this one host, regardless of what the update interval is set to be.
This was discovered because once this was put in place suddenly the agent box was sustained 95%+ CPU utilization and this script was constantly present as the top 3 processes. This is a java application that runs this script, the VERY strange thing is a perl version of this same script that I wrote and have running on a different box does not seem to display this problem. Why does this one host with this java applictation seem to be getting bombarded with server requests? Is there a "backlog" of sorts the server is trying to process?
/Christian
Using 1.3.3 server and agent, I have a UserParameter script that is defined as:
UserParameter=ztc.active_jobs,/usr/lib/zabbix/ztc/ztc.sh -f active_jobs
UserParameter=ztc.is_alive,/usr/lib/zabbix/ztc/ztc.sh -f is_alive
UserParameter=ztc.queue_size,/usr/lib/zabbix/ztc/ztc.sh -f queue_size
UserParameter=ztc.tc_free_mem,/usr/lib/zabbix/ztc/ztc.sh -f tc_free_mem
UserParameter=ztc.tc_max_mem,/usr/lib/zabbix/ztc/ztc.sh -f tc_max_mem
UserParameter=ztc.tc_total_mem,/usr/lib/zabbix/ztc/ztc.sh -f tc_total_mem
On the server I have created a template for these items, and no matter what I set for the "Update Interval" it seems that the server requests each parameter as fast as it can, I currently set the Update Interval to 300 (seconds?) which should request each parameter every five minutes, instead each one (according to the zabbix_agentd.log) is getting requested every 25 seconds or so. In fact ALL agent parameters seem to be getting queried every 20-30 seconds on this one host, regardless of what the update interval is set to be.
This was discovered because once this was put in place suddenly the agent box was sustained 95%+ CPU utilization and this script was constantly present as the top 3 processes. This is a java application that runs this script, the VERY strange thing is a perl version of this same script that I wrote and have running on a different box does not seem to display this problem. Why does this one host with this java applictation seem to be getting bombarded with server requests? Is there a "backlog" of sorts the server is trying to process?
/Christian