Ad Widget

Collapse

About zabbix net.if.in [linux]

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dennis_cao
    Junior Member
    • May 2008
    • 13

    #1

    About zabbix net.if.in [linux]

    i create an items as
    Key: net.if.in[eth0,bytes]
    Type of information: float
    Units bps
    Custom multiplier : 8
    Store value: delta(speed peer second)

    triggers as
    {D1XN:net.if.in[eth0,bytes].delta(0)}>40000000

    but in the overview.php it is gray and the zabbix_server.log logged
    15338:20080623:174012 Expression [{500500000012206}>40000000] cannot be evaluated [Unable to get value for functionid [500500000012206]]
    and i also try the
    update functions set lastvalue=0 where lastvalue is null;
    it is no effect
    why?
    i used centos5.1 32bit zabbix1.5.3
    Last edited by dennis_cao; 23-06-2008, 12:17.
  • flunschi
    Junior Member
    • Jun 2008
    • 7

    #2
    Hi,

    Originally posted by dennis_cao
    triggers as
    {D1XN:net.if.in[eth0,bytes].delta(0)}>40000000
    As far as I know, delta(N) means max - min of the values of the last N seconds. Hence, I suppose, delta(0) does not make sense. (At least at my Zabbix 1.4.5 installation is always fails.)

    Furthermore, you already store data as bps. Hence, I suppose you want to trigger, if some threshold for bps is exceeded. Therefore, "last(0)" instead of "delta(0)" might be the correct one.

    Comment

    • dennis_cao
      Junior Member
      • May 2008
      • 13

      #3
      thanks i will try it
      i think last(0) and delta(0) just means status

      Comment

      • dennis_cao
        Junior Member
        • May 2008
        • 13

        #4
        i used last(0) now
        all is ok
        but why delta(0) is not useful

        Comment

        • flunschi
          Junior Member
          • Jun 2008
          • 7

          #5
          Hi,

          I am assuming that there is no special handling of delta(N) when N=0. As far as I have seen, the definition of delta is delta(N) = max(N) - min(N).

          I am not sure, whether max(0) returns an error or just the last received value.

          Let's assume the second one. Then, max(0) = min(0) leading to delta(0) = max(0) - min(0) = 0 in all cases.

          As already stated above, this is just true, if there is no special handling of delta(N) for N=0.

          Comment

          • snailgame
            Junior Member
            • Apr 2008
            • 13

            #6
            i did this trigger

            {D1XN:net.if.in[eth0,bytes].delta(1)}>40000000
            but it is gray there is no data get

            Comment

            • flunschi
              Junior Member
              • Jun 2008
              • 7

              #7
              Originally posted by snailgame
              i did this trigger

              {D1XN:net.if.in[eth0,bytes].delta(1)}>40000000
              but it is gray there is no data get
              Is there any data for your item net.if.in[eth0,bytes]?

              Comment

              • rafaelzabbix
                Junior Member
                • May 2015
                • 2

                #8
                problems with net.if.in[eth0,bytes]

                Hello,

                I thave tried everything, but whenever I copy net.if.in[eth0,bytes] to a map
                it stops showing any results.

                Also, it ONLY works if I use the IP address as the first parameter.

                I am using zabbix 2.2

                Can someone please tell me what is wrong ?

                Comment

                Working...