ZABBIX Forums  
  #1  
Old 05-05-2012, 09:55
SergeyAB SergeyAB is offline
Junior Member
 
Join Date: May 2012
Posts: 6
Default SNMP error [1]

Hi!

Debian 6.0.4 / Zabbix 1.8.2 / NET-SNMP version: 5.4.3

Zabbix:/var/log/zabbix-server# ldd /usr/local/sbin/zabbix_server |grep snmp
libsnmp.so.15 => /usr/lib/libsnmp.so.15 (0x00007f1aba840000)

DebugLevel=3
PHP Code:
snmp_buildunknown failure  3294:20120505:094111.546 Item [u010201:link_left_statuserrorSNMP error [1]
snmp_buildunknown failure  3294:20120505:094112.757 Item [u011104:link_right_statuserrorSNMP error [1
DebugLevel=4
PHP Code:
7629:20120505:103834.653 In substitute_simple_macros (data:'link_right_status')
7629:20120505:103834.653 In get_value() key:'link_right_status'
7629:20120505:103834.653 In get_value_snmp() key:'link_right_status' oid:'interfaces.ifTable.ifEntry.ifOperStatus.26'
7629:20120505:103834.653 In snmp_open_session()
7629:20120505:103834.653 SNMP [public@10.0.61.76:161]
7629:20120505:103834.653 End of snmp_open_session()
7629:20120505:103834.653 Standard processing
7629
:20120505:103834.653 In snmp_normalize(oid:interfaces.ifTable.ifEntry.ifOperStatus.26)
7629:20120505:103834.653 End of snmp_normalize():interfaces.ifTable.ifEntry.ifOperStatus.26
7629
:20120505:103834.653 In get_snmp(oid:interfaces.ifTable.ifEntry.ifOperStatus.26)
No log handling enabled turning on stderr logging
snmp_build
unknown failure  7629:20120505:103834.653 Status send [1]
7629:20120505:103834.653 End of get_snmp():NOTSUPPORTED
7629
:20120505:103834.653 In snmp_close_session()
7629:20120505:103834.653 End of snmp_close_session()
7629:20120505:103834.653 End of get_value_snmp():NOTSUPPORTED
7629
:20120505:103834.653 Item [u011712:link_right_statuserrorSNMP error [1]
7629:20120505:103834.653 In zabbix_log()
7629:20120505:103834.653 In DCconfig_get_items() hostid:0 key:'zabbix[log]' 
Trouble: Zabbix doesn't want to use with SNMP.
snmpwalk return valid results, but Zabbix doesn't.
I tried to update my OS and Zabbix and have this problem atm.

I've new clean installation of Debian and Zabbix on other hardware.

I've new clean installation of Debian and Zabbix on other hardware.

I tried to export my hosts/items/triggers from old installation to new, but i've some errors and have no any good result for this: a lot of lost items and triggers.

I tried to export full sql dump from old installation to new (with mysqldump utility), but i've again the same error: SNMP error [1].

I tried to upgrade Zabbix only to 1.8.3 and 1.8.12 - nothing.
I tried to compile Zabbix from sources - nothing.

I tried to remove all zabbix related packeges and install them all again - nothing.

Help me, how to fix?
Reply With Quote
  #2  
Old 10-05-2012, 04:55
SergeyAB SergeyAB is offline
Junior Member
 
Join Date: May 2012
Posts: 6
Default

problem solved:

after system/zabbix update i found items with wrong prefix, for example:
interfaces.ifTable.ifEntry.ifInOctets.3 instead of ifInOctets.3
that is why special oids didn't work correctly. i dont known how i did this :]
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:25.