[ZBX-5397] Macros {HOST.IP} doesn't work in External check Created: 2012 Aug 01 Updated: 2017 May 30 Resolved: 2012 Aug 03 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Documentation (D) |
Affects Version/s: | 2.0.2 |
Fix Version/s: | 2.0.3rc1, 2.1.0 |
Type: | Incident report | Priority: | Major |
Reporter: | Александр Новосёлов | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | externalchecks, macros | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | 2012-08-01.png |
Description |
{HOST.IP}
doesn't work in External check If add Agent interfaces - all fine. Why Agent interfaces on snmp only device? Russian forum http://www.zabbix.com/forum/showthread.php?t=27676 |
Comments |
Comment by richlv [ 2012 Aug 01 ] |
this should be already fixed for 2.0.2 with |
Comment by Александр Новосёлов [ 2012 Aug 01 ] |
Yes, in global scripts [ZBX 4976] fix problem. This problem - doesn't work in External check is not a global script. I reopen |
Comment by Александр Новосёлов [ 2012 Aug 01 ] |
This problem - doesn't work in External check is not a global script. |
Comment by richlv [ 2012 Aug 01 ] |
ok, so most likely the issue is with documentation |
Comment by richlv [ 2012 Aug 01 ] |
documented in http://www.zabbix.com/documentation/2.0/manual/appendix/macros/supported_by_location |
Comment by Александр Новосёлов [ 2012 Aug 01 ] |
Yes, when you add the Agent interface, everything works. But why should manually add the interface to the host anenta - which just is not an agent, and is used only snmp? |
Comment by richlv [ 2012 Aug 01 ] |
no, not adding agent interface - make sure snmp interface is selected for the external check in item properties |
Comment by Александр Новосёлов [ 2012 Aug 01 ] |
attach screenshot |
Comment by richlv [ 2012 Aug 01 ] |
indeed, external check HOST.IP macro resolution does not seem to take ip from the selected interface... |
Comment by Alexander Vladishev [ 2012 Aug 03 ] |
Fixed in the development branch svn://svn.zabbix.com/branches/dev/ZBX-5397 |
Comment by Александр Новосёлов [ 2012 Aug 06 ] |
Zabbix Sources Pre-2.0.3rc1 (stable) 29413 06 Aug, 2012 not fix? Or in the source have not got the change? |
Comment by richlv [ 2012 Aug 07 ] |
the fix is currently only in the development branch, indicated above - it is not yet fully reviewed and merged to the main branches |
Comment by dimir [ 2012 Aug 07 ] |
Successfully tested. Please review my changes in r29435. <Sasha> Great! Thanks. |
Comment by Alexander Vladishev [ 2012 Aug 08 ] |
Fixed in pre-2.0.3rc1 r29444 and pre-2.1.0 (trunk) r29445. |