Ad Widget

Collapse

Ubuntu no Network Interfaces listed after 2 days

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jsm14
    Junior Member
    • Jan 2014
    • 3

    #1

    Ubuntu no Network Interfaces listed after 2 days

    Hi everybody

    I have been using Zabbix for about 2 weeks and think it's great.

    My set up:
    Server: Zabbix 2.2 Appliance
    Clients: Ubuntu 12.04 Precise Server 64bit

    I have installed the Zabbix agent (zabbix-agent_2.2.0-1+precise_amd64.deb ) using dpkg and normally after an hour - discovery populates more items for the servers and this includes Network interfaces and utilisation.

    I have 1 server where this has not worked. All other data, CPU, memory, filesystems have come in but NOT network.

    This 1 server is a little different. It is a hosted server, where you select the OS you want and they build it and send you root credentials to then use as yo wish.

    I have noticed on this server that ifconfig does not give the usual output, instead it replies with:
    Warning: cannot open /proc/net/dev (No such file or directory). Limited output.

    If I run sudo ifconfig then the output is normal:
    eth0 Link encap:Ethernet HWaddr 00:1c:c0:ec:.....
    etc

    Other info on the server:
    $ zabbix_agent -V
    Zabbix agent v2.2.0 (revision 40163) (12 November 2013)
    Compilation time: Nov 12 2013 12:23:06

    $ sudo groups zabbix
    zabbix : zabbix

    $ sudo ls -als /proc/net/dev
    0 -r--r--r-- 1 root root 0 Jan 28 11:48 /proc/net/dev

    $lsb_release -irc
    Distributor ID: Ubuntu
    Release: 12.04
    Codename: precise

    Does anyone have any advice or tips for me to try? Regards

    Jag
  • jsm14
    Junior Member
    • Jan 2014
    • 3

    #2
    Here's some further output:

    $ zabbix_agentd -t "system.cpu.load[all,avg1]"
    system.cpu.load[all,avg1] [d|0.240000]

    Where as the network fails:
    $ zabbix_agentd -t "net.if.in[eth0]"
    net.if.in[eth0] [m|ZBX_NOTSUPPORTED]

    But if I run it as sudo...
    $ sudo zabbix_agentd -t "net.if.in[eth0]"
    [sudo] password for jsm:
    net.if.in[eth0] [u|27166807]

    Do I have to change the permissions of something to get this working?

    Comment

    Working...