Ad Widget

Collapse

no data recieve by using net.if.total[if,<mode>]

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Guest

    #1

    no data recieve by using net.if.total[if,<mode>]

    Hi
    Im looking around some solution, where i can use "net.if.total[if,<mode>]"
    i create by the " Template_SNMPv2_Device" one user define template under SNMP with Titel "Network-Traffic Total".
    OID = "interfaces.ifTable.ifEntry.ifTotalOctets.1"
    key ="net.if.total[if,bytes]"

    example: "net.if.out[,bytes]" is working

    Optional:
    - How can i create a graph with 24h and not as default by 1 hour ?
    - If i have change something by snmp items, have i must to unselect ALL Server, change Items, and select all Server again with this new Feature ?
    - it is possible to calculate the value of bytes to kbytes or mbytes ? example "net.if.out[,kbytes]" OR "net.if.out[,mbytes]"

    greetings Jochen
    Last edited by Guest; 17-08-2010, 11:47.
  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    Originally posted by emperor
    Hi
    Im looking around some solution, where i can use "net.if.total[if,<mode>]"
    i create by the " Template_SNMPv2_Device" one user define template under SNMP with Titel "Network-Traffic Total".
    OID = "interfaces.ifTable.ifEntry.ifTotalOctets.1"
    key ="net.if.total[if,bytes]"

    example: "net.if.out[,bytes]" is working
    is there such an oid for the monitored device ?

    also, please use separate threads for separate questions, otherwise it soon becomes a huge mess.

    Originally posted by emperor

    Optional:
    - How can i create a graph with 24h and not as default by 1 hour ?
    just change the period with the time period controls ?
    or, if you actually want to change the default, http://www.zabbix.com/documentation/...config/defines
    Originally posted by emperor
    - If i have change something by snmp items, have i must to unselect ALL Server, change Items, and select all Server again with this new Feature ?
    didn't understand the question. in any case, please open a new thread, if the question is still relevant
    Originally posted by emperor
    - it is possible to calculate the value of bytes to kbytes or mbytes ? example "net.if.out[,kbytes]" OR "net.if.out[,mbytes]"
    just set the unit for the item to B, and zabbix will show you kilobytes, megabytes etc
    Zabbix 3.0 Network Monitoring book

    Comment

    • Guest

      #3
      Hi

      i seperate on multiple Thread.
      the oid key take my colleague from zabbix documentation.
      example by Network traffic in (net.if.out[,bytes]) get i values, with oid interfaces.ifTable.ifEntry.ifInOctets.1 for some Windows 2003 servers...

      Wich OID and key value have i enter as new Items on a template for net.if.total[if,bytes] ?
      I will check the first netowrk card (etho) of a windows machine.

      Greetings J.

      Comment

      • richlv
        Senior Member
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Oct 2005
        • 3112

        #4
        oid is a completely different thing from item key - keys identify data that is gathered from zabbix agents, oids - from snmp devices. unless the oid is in the snmp mib, you can't just invent it, it must be supported
        Zabbix 3.0 Network Monitoring book

        Comment

        • Guest

          #5
          if i take "snmpwalk -v 2c -c public 1x.x.x.x" i recieve the snmp object name => snmpInTotalReqVars

          If u translate the name to oid with "cisco Translate OID" i get a oid code.
          Sure, it could be wrong - but how can i find out the correct oid key for general network card of a windows 2003 server.....

          im helpless, what can i do more to get the ..... correct oid

          Comment

          • richlv
            Senior Member
            Zabbix Certified Trainer
            Zabbix Certified SpecialistZabbix Certified Professional
            • Oct 2005
            • 3112

            #6
            1. that's not the full oid, although it probably doesn't matter at this point;
            2. that's not for the total net traffic;
            3. you can simply use snmptranslate to translate between full/numeric/short forms;
            4. it is still not completely clear what exactly do you want to do. do you want to get in/out summed together for a specific network card ?
            Zabbix 3.0 Network Monitoring book

            Comment

            • Guest

              #7
              >do you want to get in/out summed together for a specific network card ?
              yes.. that it is, what i want...

              Comment

              • richlv
                Senior Member
                Zabbix Certified Trainer
                Zabbix Certified SpecialistZabbix Certified Professional
                • Oct 2005
                • 3112

                #8
                in that case, if the device is not providing that out of the box (which it does not seem to be), just grab in and out separately, then use a calculated item to get the total.

                note that it's required only if you want to graph the outcome etc - if you just want to trigger on it, you can write a trigger expression to do that without creating additional items
                Zabbix 3.0 Network Monitoring book

                Comment

                • Guest

                  #9
                  i recieve In and Out Value.

                  >in that case, if the device is not providing that out of the box (which it does not seem to be), just grab in and out separately, then use a calculated item to get the total.

                  How is the syntax of calculate from In and Out ?

                  Comment

                  • richlv
                    Senior Member
                    Zabbix Certified Trainer
                    Zabbix Certified SpecialistZabbix Certified Professional
                    • Oct 2005
                    • 3112

                    #10
                    see the documentation on calculated items : http://www.zabbix.com/documentation/...lculated_items
                    Zabbix 3.0 Network Monitoring book

                    Comment

                    Working...