LINUX.ORG.RU
ФорумAdmin

snmpd wlan0 ifSpeed

 , ,


0

1

Конфигурация такая: ubuntu server

root@radionet-nas:~# lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.1 LTS
Release:	20.04
Codename:	focal
root@radionet-nas:~# snmpd -v

NET-SNMP version:  5.8
Web:               http://www.net-snmp.org/
Email:             net-snmp-coders@lists.sourceforge.net

root@radionet-nas:~# uname -a
Linux radionet-nas 5.4.0-52-generic #57-Ubuntu SMP Thu Oct 15 10:57:00 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
root@radionet-nas:~# ifconfig wlan0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.4.254  netmask 255.255.255.0  broadcast 192.168.4.255
        inet6 fe80::20e:8eff:fe59:16d  prefixlen 64  scopeid 0x20<link>
        ether 00:0e:8e:59:01:6d  txqueuelen 1000  (Ethernet)
        RX packets 690966  bytes 121311998 (121.3 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1282004  bytes 1525718090 (1.5 GB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
Сервер работает нормально. Но после какого-то обновления. Не заметил какого... snmpd на wlan0 в ifSpeed не отдает скорость интерфейса и соответственно не работает mrtg. Что может быть, или можно ли обмануть mrtg не ковыряя код?
ifDescr.1 = STRING: lo
ifDescr.2 = STRING: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
ifDescr.3 = STRING: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
ifDescr.4 = STRING: sit0
ifDescr.5 = STRING: he-ipv6
ifDescr.6 = STRING: wlan0
ifType.1 = INTEGER: softwareLoopback(24)
ifType.2 = INTEGER: ethernetCsmacd(6)
ifType.3 = INTEGER: ethernetCsmacd(6)
ifType.4 = INTEGER: tunnel(131)
ifType.5 = INTEGER: tunnel(131)
ifType.6 = INTEGER: ethernetCsmacd(6)
ifMtu.1 = INTEGER: 65536
ifMtu.2 = INTEGER: 1500
ifMtu.3 = INTEGER: 1500
ifMtu.4 = INTEGER: 1480
ifMtu.5 = INTEGER: 1480
ifMtu.6 = INTEGER: 1500
ifSpeed.1 = Gauge32: 10000000
ifSpeed.2 = Gauge32: 1000000000
ifSpeed.3 = Gauge32: 0
ifSpeed.4 = Gauge32: 0
ifSpeed.5 = Gauge32: 0
ifSpeed.6 = Gauge32: 0
ifPhysAddress.1 = STRING: 
ifPhysAddress.2 = STRING: e0:d5:5e:50:ff:3
ifPhysAddress.3 = STRING: e0:d5:5e:50:ff:2
ifPhysAddress.4 = STRING: 
ifPhysAddress.5 = STRING: c0:a8:3:2:0:0
ifPhysAddress.6 = STRING: 0:e:8e:59:1:6d
ifAdminStatus.1 = INTEGER: up(1)
ifAdminStatus.2 = INTEGER: up(1)
ifAdminStatus.3 = INTEGER: up(1)
ifAdminStatus.4 = INTEGER: down(2)
ifAdminStatus.5 = INTEGER: up(1)
ifAdminStatus.6 = INTEGER: up(1)

★★★★★