Ad Widget

Collapse

Some items don't work

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Lotrein
    Junior Member
    • Apr 2018
    • 4

    #1

    Some items don't work

    I'm trying to create items, but there are several problems:

    1. Only the items are activated, the indicators of which can be obtained only with the "snmpget" query in the console. If I need to get some value for which the query "snmpwalk" or "snmptable" is needed, it remains in the "Not Supported" state and shows the error "No Such Instance currently exists at this OID". It feels like Zabbix is ​​trying to get value only with using of snmpget.
    2. How do I display data not in the form of a graph? A table, for example, or just some text. I can't find anything like that. In addition, you need to display all of this in Grafana. There accordingly, too, does not come up with no numerical values. Even if it turns out to make a table, it shows absolutely not what it should.
  • dimir
    Zabbix developer
    • Apr 2011
    • 1080

    #2
    1. Zabbix is using snmp library to get the values (not snmp utilities e. g. snmpget/snmpwalk). You need to refer to the metric using a complete SNMP OID (partial will not work) and choose the correct value type in item configuration.
    2. In order to display the data you can use Dashboard widgets ("Monitoring -> Dashboard -> Edit dashboard -> Add widget -> Plain text" and select item) if you have zabbix 3.4 or later.

    Comment

    • Lotrein
      Junior Member
      • Apr 2018
      • 4

      #3
      Originally posted by dimir
      1. Zabbix is using snmp library to get the values (not snmp utilities e. g. snmpget/snmpwalk). You need to refer to the metric using a complete SNMP OID (partial will not work) and choose the correct value type in item configuration.
      Got it, thanks. But in this case it turns out that I need to add too many items (because there are too many metrics in the tables, for example, Iftable). This is simply not practical in time.
      Is it possible to somehow display the data received in the snmp-requests in the PostgreSQL tables? In this case, I can monitor this tables in Grafana without any problems.

      Comment

      • dimir
        Zabbix developer
        • Apr 2011
        • 1080

        #4
        Zabbix uses history tables to store the data (history_uint for integers, history for floats, history_str for smaller strings, history_text for longer text, history_log for logs). You can use that in graphana I guess.

        As for too many items, I suggest using SNMP item discovery https://www.zabbix.com/documentation...very/snmp_oids

        Comment

        • Lotrein
          Junior Member
          • Apr 2018
          • 4

          #5
          Originally posted by dimir
          Zabbix uses history tables to store the data (history_uint for integers, history for floats, history_str for smaller strings, history_text for longer text, history_log for logs). You can use that in graphana I guess.

          As for too many items, I suggest using SNMP item discovery https://www.zabbix.com/documentation...very/snmp_oids

          Well thank you. I'll think about it

          Comment

          Working...