У цьому розділі ви дізнаєтеся, як налаштувати елемент.
Елементи є основою для збору даних у Zabbix. Без елементів немає даних, тому що лише елемент визначає один показник або тип даних, які потрібно збирати з вузла.
All items are grouped around hosts. That is why to configure a sample item we go to Configuration → Hosts and find the "New host" we have created.
Click on the Items link in the row of "New host", and then click on Create item. This will present us with an item definition form.
All mandatory input fields are marked with a red asterisk.
For our sample item, the essential information to enter is:
Name
Key
Type of information
You may also want to reduce the number of days item history will be kept, to 7 or 14. This is good practice to relieve the database from keeping lots of historical values.
Other options will suit us with their defaults for now.
When done, click Add. The new item should appear in the item list. Click on Details above the list to view what exactly was done.
With an item defined, you might be curious if it is actually gathering data. For that, go to Monitoring → Latest data, select 'New host' in the filter and click on Apply.
With that said, it may take up to 60 seconds for the first data to arrive. That, by default, is how often the server reads configuration changes and picks up new items to execute.
If you see no value in the 'Change' column, maybe only one value has been received so far. Wait 30 seconds for another value to arrive.
If you do not see information about the item as in the screenshot, make sure that:
With the item working for a while, it might be time to see something visual. Simple graphs are available for any monitored numeric item without any additional configuration. These graphs are generated on runtime.
To view the graph, go to Monitoring → Latest data and click on the 'Graph' link next to the item.