2 заметки с тегом

snmp

Проблема с установкой snmp-mibs-downloader Ubuntu 18.04


root@zabbix:~# apt-get install snmp-mibs-downloader
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package snmp-mibs-downloader is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'snmp-mibs-downloader' has no installation candidate
root@zabbix-proxy:~# sudo apt-get install snmp-mibs-downloader
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package snmp-mibs-downloader is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'snmp-mibs-downloader' has no installation candidate


Решение:


apt install smistrip
wget http://ftp.gnome.org/ubuntu/ubuntu/pool/multiverse/s/snmp-mibs-downloader/snmp-mibs-downloader_1.2_all.deb
dpkg -i snmp-mibs-downloader_1.2_all.deb
download-mibs
cp /etc/snmp/snmp.conf{,_bak}
sed -i 's/^mibs/#mibs/g' /etc/snmp/snmp.conf


 Нет комментариев    9   8 мес   snmp   Ubuntu   Ubuntu 18.04

Проблема с модулем SNMP после установки Zabbix-Proxy Ubuntu 18.04

==> /var/log/zabbix/zabbix_proxy.log <==


Cannot find module (IF-MIB): At line 1 in (none)
MIB search path: $HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannot find module (IF-MIB): At line 1 in (none)
Cannot find module (SNMPv2-MIB): At line 1 in (none)
Cannot find module (IF-MIB): At line 1 in (none)
Cannot find module (SNMPv2-MIB): At line 1 in (none)
Cannot find module (IF-MIB): At line 1 in (none)


Решение


sudo apt-get install snmp-mibs-downloader
sudo download-mibs
sudo sed -i "s/^\(mibs *:\).*/#\1/" /etc/snmp/snmp.conf
sudo service snmpd restart
service snmpd status
service zabbix-proxy restart
service zabbix-proxy status


Также может возникнуть проблема установки пакета snmp-mibs-downloader, то о решении проблемы — ручной установке, можно прочесть по ссылке snmp-mibs-downloader

 Нет комментариев    1   8 мес   snmp   Ubuntu 18.04   Zabbix