Zabbix Documentation 5.0

3.04.04.4 (current)| In development:5.0 (devel)| Unsupported:1.82.02.22.43.23.44.2Guidelines

User Tools

Site Tools


manual:config:items:item

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
manual:config:items:item [2020/02/13 08:39]
martins-v vmware simple checks cannot be tested
manual:config:items:item [2020/02/21 11:14]
martins-v better wording
Line 48: Line 48:
 === Testing === === Testing ===
  
-It is possible to test the item, even before saving, ​and, if configured correctly, get a real value in return.+It is possible to test an item and, if configured correctly, get a real value in return. Testing can occur even before an item is saved. 
 + 
 +Testing is available for host and template items. Testing is not available for active items.
  
 Item testing is available for the following passive item types: Item testing is available for the following passive item types:
Line 58: Line 60:
   * Telnet checks   * Telnet checks
   * JMX agent   * JMX agent
-  * Simple checks (except ''​vmware.*''​ items)+  * Simple checks (except ​''​icmpping*'', ​''​vmware.*''​ items)
   * Zabbix internal   * Zabbix internal
   * Zabbix aggregate   * Zabbix aggregate
Line 66: Line 68:
   * HTTP agent   * HTTP agent
  
-To test an item, click on the //Test// button at the bottom of the item configuration form. +To test an item, click on the //Test// button at the bottom of the item configuration form. Note that the //Test// button will be disabled for items that cannot be tested (like active checks, excluded simple checks).
  
 {{:​manual:​config:​items:​item_test_button.png|}} {{:​manual:​config:​items:​item_test_button.png|}}
  
-When the item testing form opens it will have the required host parameters (interface, port, proxy name/no proxy) filled ​automatically. To test the item, click on //Get value//. If the value is retrieved successfully,​ it will fill the //Value// field.+The item testing form has fields for the required host parameters (host address, port, proxy name/no proxy). These fields are context aware: 
 + 
 +  * The values are pre-filled ​when possible, i.e. for items requiring an agent, by taking the information from the selected agent interface of the host 
 +  * The values have to be filled manually for template items 
 +  * The fields are disabled when not needed in the context of the item type (e.g. the host address field is disabled for calculated and aggregate items, the proxy field is disabled for calculated items) 
 + 
 +To test the item, click on //Get value//. If the value is retrieved successfully,​ it will fill the //Value// field, moving the current value (if any) to the //Previous value// field while also calculating the //Prev. time// field, i.e. the time difference between the two values (clicks) and trying to detect an EOL sequence and switch to CRLF if detecting %%"​%%\n\r%%"​%% in retrieved value.
  
 {{:​manual:​config:​items:​item_test.png?​600|}} {{:​manual:​config:​items:​item_test.png?​600|}}