Jump to content
Калькуляторы

Cacti не рисует графики у 10G сетевухи

Сабж.

Не рисует графики нагрузки на сеть. Ни 32-битные, ни 64-битные.

 

Debian GNU/Linux 8.8 (jessie) 64 бит

 

Сетевая ixgbe

 

 

driver: ixgbe

version: 4.3.15

firmware-version: 0x800003e7

bus-info: 0000:03:00.0

supports-statistics: yes

supports-test: yes

supports-eeprom-access: yes

supports-register-dump: yes

supports-priv-flags: no

 

 

Пакеты snmp на сервере.

 

 

ii libsnmp-base 5.7.2.1+dfsg-1 all SNMP configuration script, MIBs and documentation

ii libsnmp30:amd64 5.7.2.1+dfsg-1 amd64 SNMP (Simple Network Management Protocol) library

ii snmp 5.7.2.1+dfsg-1 amd64 SNMP (Simple Network Management Protocol) applications

ii snmp-mibs-downloader 1.1 all Install and manage Management Information Base (MIB) files

ii snmpd 5.7.2.1+dfsg-1 amd64 SNMP (Simple Network Management Protocol) agents

 

 

 

 

 

Cacti 0.8.8g (на другой машине)

Share this post


Link to post
Share on other sites

У меня рисует

Debian GNU/Linux 7.8 (wheezy) 64 бит

Сетевая ixgbe

 

 

driver: ixgbe

version: 3.19.1-k

firmware-version: 0x546c0001

bus-info: 0000:03:00.1

supports-statistics: yes

supports-test: yes

supports-eeprom-access: yes

supports-register-dump: yes

supports-priv-flags: no

 

 

Пакеты snmp на сервере.

 

 

ii libnet-snmp-perl 6.0.1-2 all Script SNMP connections

ii libsnmp-base 5.4.3~dfsg-2.8+deb7u1 all SNMP (Simple Network Management Protocol) MIBs and documentation

ii libsnmp-dev 5.4.3~dfsg-2.8+deb7u1 amd64 SNMP (Simple Network Management Protocol) development files

ii libsnmp-perl 5.4.3~dfsg-2.8+deb7u1 amd64 SNMP (Simple Network Management Protocol) Perl5 support

ii libsnmp15 5.4.3~dfsg-2.8+deb7u1 amd64 SNMP (Simple Network Management Protocol) library

ii php5-snmp 5.4.45-0+deb7u1 amd64 SNMP module for php5

ii snmp 5.4.3~dfsg-2.8+deb7u1 amd64 SNMP (Simple Network Management Protocol) applications

ii snmpd 5.4.3~dfsg-2.8+deb7u1 amd64 SNMP (Simple Network Management Protocol) agents

 

 

Cacti 0.8.8f (на другой машине)

Share this post


Link to post
Share on other sites

 

 

# snmpwalk -c xxxx  -v2c localhost .1.3.6.1.2.1.31.1.1.1.1.6
iso.3.6.1.2.1.31.1.1.1.1.6 = STRING: "eth0"

# snmpwalk -c xxxx  -v2c localhost .1.3.6.1.2.1.2.2.1.5.6
iso.3.6.1.2.1.2.2.1.5.6 = Gauge32: 1000000000

# snmpwalk -c xxxx  -v2c localhost .1.3.6.1.2.1.31.1.1.1.6
iso.3.6.1.2.1.31.1.1.1.6.1 = Counter64: 4294967296
iso.3.6.1.2.1.31.1.1.1.6.2 = Counter64: 0
iso.3.6.1.2.1.31.1.1.1.6.3 = Counter64: 0
iso.3.6.1.2.1.31.1.1.1.6.4 = Counter64: 0
iso.3.6.1.2.1.31.1.1.1.6.5 = Counter64: 0
iso.3.6.1.2.1.31.1.1.1.6.6 = Counter64: 8252161912
iso.3.6.1.2.1.31.1.1.1.6.7 = Counter64: 0
iso.3.6.1.2.1.31.1.1.1.6.8 = Counter64: 0
iso.3.6.1.2.1.31.1.1.1.6.9 = Counter64: 0
iso.3.6.1.2.1.31.1.1.1.6.10 = Counter64: 0
iso.3.6.1.2.1.31.1.1.1.6.11 = Counter64: 0

# snmpwalk -c xxxx -v2c localhost .1.3.6.1.2.1.31.1.1.1.10
iso.3.6.1.2.1.31.1.1.1.10.1 = Counter64: 4294967296
iso.3.6.1.2.1.31.1.1.1.10.2 = Counter64: 0
iso.3.6.1.2.1.31.1.1.1.10.3 = Counter64: 0
iso.3.6.1.2.1.31.1.1.1.10.4 = Counter64: 0
iso.3.6.1.2.1.31.1.1.1.10.5 = Counter64: 0
iso.3.6.1.2.1.31.1.1.1.10.6 = Counter64: 31350811848
iso.3.6.1.2.1.31.1.1.1.10.7 = Counter64: 0
iso.3.6.1.2.1.31.1.1.1.10.8 = Counter64: 0
iso.3.6.1.2.1.31.1.1.1.10.9 = Counter64: 0
iso.3.6.1.2.1.31.1.1.1.10.10 = Counter64: 0
iso.3.6.1.2.1.31.1.1.1.10.11 = Counter64: 0

 

 

 

Смотрю cacti/resource/snmp_queries/interface.xml:

...

 

 

               <ifHCInOctets>
                       <name>Bytes In - 64-bit Counters</name>
                       <method>walk</method>
                       <source>value</source>
                       <direction>output</direction>
                       <oid>.1.3.6.1.2.1.31.1.1.1.6</oid>
               </ifHCInOctets>
               <ifHCOutOctets>
                       <name>Bytes Out - 64-bit Counters</name>
                       <method>walk</method>
                       <source>value</source>
                       <direction>output</direction>
                       <oid>.1.3.6.1.2.1.31.1.1.1.10</oid>
               </ifHCOutOctets>

 

 

 

Получается, счетчики статичные, хотя траф бегает....

 

 

 

# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 0c:c4:7a:ce:bb:7a
         inet addr:
         inet6 addr: 
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:83416313 errors:0 dropped:0 overruns:0 frame:0
         TX packets:49995732 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:10000
         RX bytes:8630127883 (8.0 GiB)  TX bytes:34372717092 (32.0 GiB)

# ifconfig lo0
lo        Link encap:Local Loopback
         inet addr:127.0.0.1  Mask:255.0.0.0
         inet6 addr: ::1/128 Scope:Host
         UP LOOPBACK RUNNING  MTU:65536  Metric:1
         RX packets:1512342 errors:0 dropped:0 overruns:0 frame:0
         TX packets:1512342 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:189086301 (180.3 MiB)  TX bytes:189086301 (180.3 MiB)

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.