Ad Widget

Collapse

Problem with eth0 and lo monitoring

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bumfank
    Junior Member
    • Jun 2009
    • 3

    #1

    Problem with eth0 and lo monitoring

    Hi!
    I have a problem with eth0 and lo incoming and outgoing traffic monitoring, Zabbix Agentd told me that dont support that items:
    net.if.out[eth0,bytes]
    net.if.in[eth0,bytes]

    Code:
    # telnet 127.0.0.1 10050
    Trying 127.0.0.1...
    Connected to 127.0.0.1.
    Escape character is '^]'.
    net.if.out[eth0,bytes]
    ZBXDZBX_NOTSUPPORTEDConnection closed by foreign host.
    but if I test that item directly on zabbix_agent its works!
    Code:
    # /usr/local/sbin/zabbix_agent -t net.if.in[eth0,bytes]
    net.if.in[eth0,bytes]                         [u|9126414]
    i dont understand that ;-)

    Centos 5.4, NET-SNMP version: 5.3.2.2, Zabbix 1.8.1

    Thanks for your help
  • bumfank
    Junior Member
    • Jun 2009
    • 3

    #2
    Anyone can help me? ;-)

    Comment

    • tenhlf
      Junior Member
      • Feb 2010
      • 9

      #3
      Problem with eth0 and lo monitoring
      Last edited by tenhlf; 16-02-2010, 14:40.

      Comment

      • samuel2202
        Junior Member
        • Feb 2010
        • 5

        #4
        I've the same problem! The real problem is that the user which is used by zabbix (for myself, it's named "zabbix") isn't allowed to access to ifconfig.

        Maybe you're using a grs-compiled (GRSecurity) kernel. Without changing to a std kernel, I don't know how to allow this user to access to ifconfig.

        Samuel.

        Comment

        Working...