Ad Widget

Collapse

[Debian]Traffic monitoring not supported ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SOaD!
    Junior Member
    • Jun 2009
    • 4

    #1

    [Debian]Traffic monitoring not supported ?

    Hi,

    I'm using Zabbix agentd on FreeBSD without any problem, but there's something wrong with Debian.

    I installed Zabbix agentd 1.6.5 through the packages (apt-get) and everything went fine.
    Zabbix agentd is starting and running fine.
    I added the machine to a group and made some monitoring on it (memory, cpu load) which are correctly reported.

    But when I add the incoming or outgoing network traffic item, it is marked as 'not supported by the Zabbix agent'.

    The interfaces on the machines are these :
    eth0 Link encap:Ethernet
    eth0:0 Link encap:Ethernet

    the items are these :
    Incoming traffic on interface eth0:0 net.if.in[eth0:0,bytes]
    Outgoing traffic on interface eth0 net.if.out[eth0,bytes]

    They are copied from the Template_Linux template

    I have a second Debian install with the same problem.

    I think I'm doing something wrong but I didn't find anything.




    If someone can point me my mistake,
    Thanks in advance,

    Bastien Semene
    Last edited by SOaD!; 17-06-2009, 17:43.
  • SOaD!
    Junior Member
    • Jun 2009
    • 4

    #2
    I just tested directly on the machine :
    prox1$ /usr/sbin/zabbix_agentd -t "system.cpu.load[all,avg1]"
    system.cpu.load[all,avg1] [d|0.000000]
    prox1$ /usr/sbin/zabbix_agentd -t "net.if.out[eth0,bytes]"
    net.if.out[eth0,bytes] [u|3696526042]

    So I'm lost. cpu load is reported correctly, why is it not working for net.if ?

    Comment

    • SOaD!
      Junior Member
      • Jun 2009
      • 4

      #3
      Ok I logged as Zabbix user and the results changed :

      zabbix@prox1:/$ /usr/sbin/zabbix_agentd -t "system.cpu.load[all,avg1]"
      system.cpu.load[all,avg1] [d|0.000000]
      zabbix@prox1:/$ /usr/sbin/zabbix_agentd -t "net.if.out[eth0,bytes]"
      net.if.out[eth0,bytes] [m|ZBX_NOTSUPPORTED]

      I don't know how zabbix agentd grab the informations but I think the solution is somewhere there.

      Comment

      • Kai-Kai
        Senior Member
        • Apr 2009
        • 142

        #4
        Have you tried to compile the agentd from sources ?

        I compiled my own Zabbix on Debian last version and I monitore network traffic whithout any problem... perhaps could you try this ?
        compiling the agent is very simple :

        ./configure --prefix=/path/you/want/to/install --enable-agent
        make install

        cp misc/conf/zabbix_agent* /path/you/want/to/install/etc
        chown -R zabbixuser:zabbixgroup /path/you/want/to/install

        And it should work fine...

        Comment

        Working...