Ad Widget

Collapse

FreeBSD with 2 network cards

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • miker
    Junior Member
    • Sep 2013
    • 2

    #1

    FreeBSD with 2 network cards

    Hi there, I'm new here and new to Zabbix. Here is my issue.

    On one of my FreeBSD servers I'm getting no data for the Network traffic graph. I get data for all of the other graphs, just not this one. Now I know that this particular server has two network cards and I'm certain it is monitoring the wrong one of the two. Any help on how to configure the change would be greatly appreciated.

    I am running Zabbix 2.08 and FreeBSD 8.2.

    Many thanks in advance.
  • Pada
    Senior Member
    • Apr 2012
    • 236

    #2
    Run the following command in the terminal to get the network related value from your Zabbix agent:
    Code:
    zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf -t net.if.out[eth0,bytes]
    Replace "eth0" with your network interface name. There are also LLD for network interfaces available...

    Comment

    • miker
      Junior Member
      • Sep 2013
      • 2

      #3
      Originally posted by Pada
      Run the following command in the terminal to get the network related value from your Zabbix agent:
      Code:
      zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf -t net.if.out[eth0,bytes]
      Replace "eth0" with your network interface name. There are also LLD for network interfaces available...
      Thanks Pada, I tried

      zabbix_agentd -c /usr/local/etc/zabbix2/zabbix_agentd.conf -t net.if.out[eth1,bytes]

      As our install location was not default. But I get the error "zabbix_agentd: no match".

      Comment

      • Pada
        Senior Member
        • Apr 2012
        • 236

        #4
        That probably means that your kernel is denying access to your network info for zabbix_agentd.

        Have a look at this thread which may be a similar issue: https://www.zabbix.com/forum/showthread.php?t=41561

        Please take note that I have little/no knowledge about FreeBSD. I haven't had that issue with Ubuntu, Fedora Core or RHEL yet.
        Last edited by Pada; 23-09-2013, 00:53.

        Comment

        Working...