Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#740815: zabbix-server-mysql: snmp monitoring not works if snmp MIBs are missing

291 views
Skip to first unread message

Alex 'AdUser' Z

unread,
Mar 5, 2014, 5:00:02 AM3/5/14
to
Package: zabbix-server-mysql
Version: 1:2.0.9+dfsg-1~bpo70+2
Severity: normal

Please add 'snmp-mibs-downloader' as soft dependency.
If snmp MIBs are missing, zabbix server fails to query snmp-monitored host.

It looks like this (fragment from log):
--------------------
8133:20140305:202326.714 SNMP item [sysUpTime] on host [rb2011] failed: first network error, wait for 15 seconds
No log handling enabled - turning on stderr logging
MIB search path: //.snmp/mibs:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannot find module (SNMPv2-MIB): At line 1 in (none)
snmp_build: unknown failure 8135:20140305:202341.823 SNMP item [sysUpTime] on host [rb2011] failed: another network error, wait for 15 seconds
snmp_build: unknown failure 8135:20140305:202356.859 SNMP item [sysUpTime] on host [rb2011] failed: another network error, wait for 15 seconds
snmp_build: unknown failure 8135:20140305:202411.895 SNMP item [sysUpTime] on host [rb2011] failed: another network error, wait for 15 seconds
snmp_build: unknown failure 8135:20140305:202427.047 temporarily disabling SNMP checks on host [rb2011]: host unavailable
--------------------

After i install this package manually, everything begin works:

--------------------
19292:20140305:203130.207 enabling SNMP checks on host [rb2011]: host became available
--------------------

I think, the same issue exists for 'zabbix-server-pgsql' package

-- System Information:
Debian Release: 7.4
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages zabbix-server-mysql depends on:
ii adduser 3.113+nmu3
ii fping 3.2-1
ii libc6 2.13-38+deb7u1
ii libcurl3-gnutls 7.26.0-1+wheezy8
ii libiksemel3 1.2-4
ii libldap-2.4-2 2.4.31-1+nmu2
ii libmysqlclient18 5.5.35+dfsg-0+wheezy1
ii libodbc1 2.2.14p2-5
ii libopenipmi0 2.0.16-1.3
ii libsnmp15 5.4.3~dfsg-2.7
ii libssh2-1 1.4.2-1.1
ii lsb-base 4.1+Debian8+deb7u1
ii ucf 3.0025+nmu3

Versions of packages zabbix-server-mysql recommends:
ii mysql-server 5.5.35+dfsg-0+wheezy1
pn snmpd <none>

Versions of packages zabbix-server-mysql suggests:
ii logrotate 3.8.1-4
ii zabbix-frontend-php 1:2.0.9+dfsg-1~bpo70+2

-- Configuration Files:
/etc/default/zabbix-server changed [not included]

-- no debconf information


--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Dmitry Smirnov

unread,
Mar 5, 2014, 7:40:02 AM3/5/14
to
On Wed, 5 Mar 2014 20:48:38 Alex 'AdUser' Z wrote:
> Please add 'snmp-mibs-downloader' as soft dependency.

We can't Depend or Recommend non-free package although I think it is
possible to Suggest it. Frankly I'm reluctant even to suggest it...

Is there are any alternatives from "main"?

--
Regards,
Dmitry Smirnov
GPG key : 4096R/53968D1B

---

All that is necessary for the triumph of evil is that good men do nothing.
signature.asc

Dmitry Smirnov

unread,
Mar 5, 2014, 8:20:02 AM3/5/14
to
On Wed, 5 Mar 2014 23:58:20 Alex 'AdUser' Z wrote:
> Another possible way - make a note in README.Debian.

Makes sense, perhaps we can do both -- suggest and add a note to
README.Debian.

Thank you.

--
Regards,
Dmitry Smirnov.

Alex 'AdUser' Z

unread,
Mar 5, 2014, 8:30:01 AM3/5/14
to
I think this data has no alternative free sources.

I've found some packages, suggest on that package:
-----------------
[alex@caspar ~]$ apt-cache rdepends snmp-mibs-downloader
snmp-mibs-downloader
Reverse Depends:
libwireshark-data
libsnmp-base
libsmi2ldbl
libsmi2-common
cacti-spine
-----------------

First two - from 'main' section.

Another possible way - make a note in README.Debian.

WBR, Alex
--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: https://lists.debian.org/debian-bugs-dist
0 new messages