Overview

    It is useful for any data you might want to “push” into Zabbix.

    To use a trapper item you must:

    • have a trapper item set up in Zabbix

    • send in the data into Zabbix

    Configuration

    Item configuration

    To configure a trapper item:

    • Click on Items in the row of the host

    • Enter parameters of the item in the form

    All mandatory input fields are marked with a red asterisk.

    The fields that require specific information for trapper items are:

    You may have to wait up to 60 seconds after saving the item until the server picks up the changes from a configuration cache update, before you can send in values.

    Sending in data

    In the simplest of cases, we may use zabbix_sender utility to send in some ‘test value’:

    To send in the value we use these keys:

    -p - to specify Zabbix server port number (10051 by default)

    -s - to specify the host (make sure to use the ‘technical’ here, instead of the ‘visible’ name)

    -k - to specify the key of the item we just defined

    -o - to specify the actual value to send

    Zabbix trapper process does not expand macros used in the item key in attempt to check corresponding item key existence for targeted host.

    Display

    This is the result in Monitoring → Latest data: