Hi all,
I'm currently fighting an issue with a zabbix 2.2 installation, I need to check if the smtp service is running on some hosts whom are behind a Zabbix proxy, but for some reason I can't get the data into the Zabbix server.
This is the setup:
Zabbix Server (2.2) >> Active Zabbix Proxy (2.2) >> Passive Zabbix Agent (2.2)
It's my understanding that the simple check should be done from the Zabbix Proxy, correct? Running zabbix-get from that machine does get me the expected result, but I see no indications the proxy actually doing the check.
Also, I see the folowing in my zabbix server logs (debug=4) which seems to indicate the simple checks are running on that machine & not on the proxy:
22107:20151207:131536.721 In evaluate_function() function:'f2w-appdp6-1-ta:net.tcp.service[smtp,,25].max(#3)'
22107:20151207:131536.721 In evaluate_MAX()
22107:20151207:131536.721 In __get_function_parameter_uint31() parameters:'#3' Nparam:1
22107:20151207:131536.721 In substitute_simple_macros() data:'#3'
22107:20151207:131536.722 __get_function_parameter_uint31() flag:1 value:3
22107:20151207:131536.722 End of __get_function_parameter_uint31():SUCCEED
22107:20151207:131536.722 In zbx_vc_get_value_range() itemid:27847 value_type:3 seconds:0 count:3 timestamp:1449490533
22107:20151207:131536.722 query [txnlev:1] [select clock,ns,value from history_uint where itemid=27847 and clock<=1449490533 and clock>1449486933 order by clock desc limit 3]
22107:20151207:131536.723 query [txnlev:1] [select clock,ns,value from history_uint where itemid=27847 and clock=1449490412]
22107:20151207:131536.723 query [txnlev:1] [select clock,ns,value from history_uint where itemid=27847 and clock>1449490533 and clock<=1449490536]
22107:20151207:131536.723 End of zbx_vc_get_value_range():SUCCEED count:3 cached:1
22107:20151207:131536.723 End of evaluate_MAX():SUCCEED
22107:20151207:131536.724 End of evaluate_function():SUCCEED value:'0'
I'm currently fighting an issue with a zabbix 2.2 installation, I need to check if the smtp service is running on some hosts whom are behind a Zabbix proxy, but for some reason I can't get the data into the Zabbix server.
This is the setup:
Zabbix Server (2.2) >> Active Zabbix Proxy (2.2) >> Passive Zabbix Agent (2.2)
It's my understanding that the simple check should be done from the Zabbix Proxy, correct? Running zabbix-get from that machine does get me the expected result, but I see no indications the proxy actually doing the check.
Also, I see the folowing in my zabbix server logs (debug=4) which seems to indicate the simple checks are running on that machine & not on the proxy:
22107:20151207:131536.721 In evaluate_function() function:'f2w-appdp6-1-ta:net.tcp.service[smtp,,25].max(#3)'
22107:20151207:131536.721 In evaluate_MAX()
22107:20151207:131536.721 In __get_function_parameter_uint31() parameters:'#3' Nparam:1
22107:20151207:131536.721 In substitute_simple_macros() data:'#3'
22107:20151207:131536.722 __get_function_parameter_uint31() flag:1 value:3
22107:20151207:131536.722 End of __get_function_parameter_uint31():SUCCEED
22107:20151207:131536.722 In zbx_vc_get_value_range() itemid:27847 value_type:3 seconds:0 count:3 timestamp:1449490533
22107:20151207:131536.722 query [txnlev:1] [select clock,ns,value from history_uint where itemid=27847 and clock<=1449490533 and clock>1449486933 order by clock desc limit 3]
22107:20151207:131536.723 query [txnlev:1] [select clock,ns,value from history_uint where itemid=27847 and clock=1449490412]
22107:20151207:131536.723 query [txnlev:1] [select clock,ns,value from history_uint where itemid=27847 and clock>1449490533 and clock<=1449490536]
22107:20151207:131536.723 End of zbx_vc_get_value_range():SUCCEED count:3 cached:1
22107:20151207:131536.723 End of evaluate_MAX():SUCCEED
22107:20151207:131536.724 End of evaluate_function():SUCCEED value:'0'
Comment