Ad Widget

Collapse

net.if.in and out ZBX_NOTSUPPORTED with Linux Debian

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DrGkill
    Junior Member
    • Aug 2008
    • 5

    #1

    net.if.in and out ZBX_NOTSUPPORTED with Linux Debian

    Hi,

    I got Debian and zabbix 1.4.6 version and I got the ZBX_NOTSUPPORTED problem with includes items.
    Espacially net.if.in and net.if.out.

    When I look through the agent, it works. But from the server, it doesn't work

    Code:
    # zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf -t 'net.if.out[eth0,bytes]'
    [B][COLOR="Red"]net.if.out[eth0,bytes]                        [u|1424552011][/COLOR][/B]
    and :

    Code:
    # zabbix_get -s127.0.0.1 -p10050 -k'net.if.out[eth0,bytes]'
    [B][COLOR="Red"]ZBX_NOTSUPPORTED[/COLOR][/B]
    This drive me crazy.
  • tekknokrat
    Senior Member
    • Sep 2008
    • 140

    #2
    same with zabbix-1.6 agent.
    did you find some workaround for this?

    Comment

    • DrGkill
      Junior Member
      • Aug 2008
      • 5

      #3
      No solutions. I've test a lot of things, downgrading the agent, compiling by my own, etc. And the problem is still there.

      I've let zabbix on the side for a while. I think their protocol is shitty. And there is nobody to answer your questions.
      Btw, the many TIME_WAIT are dirty. I don't like it on a server.

      Comment

      • tekknokrat
        Senior Member
        • Sep 2008
        • 140

        #4
        I had this formerly with some hosts which had unconfigured eth0 ifaces.
        For now this error came up because the ifaces did not even exists on that host, so removing the items solved my issue.

        Comment

        • DrGkill
          Junior Member
          • Aug 2008
          • 5

          #5
          For me, eth0 was a valid iface. And as you can see in my previous post, I can locally get informations I need. It's when I try to get informations through the protocol that I get the problem.

          Comment

          • regis
            Junior Member
            • Sep 2009
            • 2

            #6
            same problem

            I have the same problem:
            r27877:/home# zabbix_agentd -t net.if.in[eth0,bytes]
            net.if.in[eth0,bytes] [u|6595017863]

            srv:~# zabbix_get -s rps.foo.com -k net.if.in[eth0,bytes]
            ZBX_NOTSUPPORTED

            Tried with zabbix agent 1.4 (lenny) and 1.6 (squeeze).

            Any solution?
            Last edited by regis; 11-09-2009, 14:59.

            Comment

            • regis
              Junior Member
              • Sep 2009
              • 2

              #7
              I found the problem: it was coming from a patched kernel (grsecurity) which doesnt allow access to zabbix user on /proc/net/dev.

              My way around was to use UserParameter and sudo (I cant recompile the kernel on this system).

              Comment

              Working...