[ZBX-4277] First and another errors about snmp Created: 2011 Oct 26  Updated: 2018 Feb 09  Resolved: 2012 Jul 28

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Proxy (P), Server (S)
Affects Version/s: 1.9.7 (beta)
Fix Version/s: 1.9.9 (beta)

Type: Incident report Priority: Critical
Reporter: Alexey Pustovalov Assignee: Unassigned
Resolution: Won't fix Votes: 0
Labels: snmp
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

lastest rev 22669



 Description   

i have errors in log zabbix proxy and server:
dotneft # tail -f /var/log/zabbix/zabbix_proxy.log | grep c2r3ups01.test.ru
14513:20111026:152804.038 SNMP item [apc.BatteryTemperature] on host [c2r3ups01.test.ru] failed: another network error, wait for 15 seconds
14513:20111026:152824.153 temporarily disabling SNMP checks on host [c2r3ups01.test.ru]: host unavailable
14510:20111026:152924.166 enabling SNMP checks on host [c2r3ups01.test.ru]: host became available

but i don't see in tcpdump queries:
zabbix-trunk # tcpdump -np host 10.100.52.8
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
15:25:12.276711 IP 10.100.11.45.44628 > 10.100.52.8.161: C=public GetRequest(36) .1.3.6.1.4.1.318.1.1.10.2.3.2.1.4[|snmp]
15:25:12.325343 IP 10.100.52.8.161 > 10.100.11.45.44628: C=public GetResponse(41) .1.3.6.1.4.1.318[|snmp]
15:25:49.613001 arp who-has 10.100.52.1 tell 10.100.52.8
15:27:03.381601 IP 10.100.11.45.46681 > 10.100.52.8.161: C=public GetRequest(34) .1.3.6.1.4.1.318.1.1.1.4.2.4.0[|snmp]
15:27:03.416751 IP 10.100.52.8.161 > 10.100.11.45.46681: C=public GetResponse(39) .1.3.6.1.4.1.318[|snmp]
15:27:04.407535 IP 10.100.11.45.59624 > 10.100.52.8.161: C=public GetRequest(34) .1.3.6.1.4.1.318.1.1.1.7.2.6.0[|snmp]
15:27:04.445123 IP 10.100.52.8.161 > 10.100.11.45.59624: C=public GetResponse(39) .1.3.6.1.4.1.318[|snmp]
15:27:12.534674 IP 10.100.11.45.33600 > 10.100.52.8.161: C=public GetRequest(34) .1.3.6.1.4.1.318.1.1.1.2.2.8.0[|snmp]
15:27:12.572059 IP 10.100.52.8.161 > 10.100.11.45.33600: C=public GetResponse(39) .1.3.6.1.4.1.318[|snmp]
15:27:13.549699 IP 10.100.11.45.36081 > 10.100.52.8.161: C=public GetRequest(34) .1.3.6.1.4.1.318.1.1.1.2.2.1.0[|snmp]
15:27:13.582344 IP 10.100.52.8.161 > 10.100.11.45.36081: C=public GetResponse(39) .1.3.6.1.4.1.318[|snmp]
15:27:14.576940 IP 10.100.11.45.49594 > 10.100.52.8.161: C=public GetRequest(34) .1.3.6.1.4.1.318.1.1.1.2.2.3.0[|snmp]
15:27:14.610833 IP 10.100.52.8.161 > 10.100.11.45.49594: C=public GetResponse(41) .1.3.6.1.4.1.318[|snmp]
15:27:16.609383 IP 10.100.11.45.44065 > 10.100.52.8.161: C=public GetRequest(34) .1.3.6.1.4.1.318.1.1.1.3.2.4.0[|snmp]
15:27:16.643131 IP 10.100.52.8.161 > 10.100.11.45.44065: C=public GetResponse(39) .1.3.6.1.4.1.318[|snmp]
15:27:17.645861 IP 10.100.11.45.41856 > 10.100.52.8.161: C=public GetRequest(34) .1.3.6.1.4.1.318.1.1.1.3.2.1.0[|snmp]
15:27:17.681825 IP 10.100.52.8.161 > 10.100.11.45.41856: C=public GetResponse(40) .1.3.6.1.4.1.318[|snmp]
15:27:20.701552 IP 10.100.11.45.50608 > 10.100.52.8.161: C=public GetRequest(34) .1.3.6.1.4.1.318.1.1.1.4.1.1.0[|snmp]
15:27:20.739801 IP 10.100.52.8.161 > 10.100.11.45.50608: C=public GetResponse(39) .1.3.6.1.4.1.318[|snmp]
15:27:28.021190 IP 10.100.11.45 > 10.100.52.8: ICMP echo request, id 14907, seq 0, length 76
15:27:28.024483 IP 10.100.52.8 > 10.100.11.45: ICMP echo reply, id 14907, seq 0, length 76
15:27:29.023347 IP 10.100.11.45 > 10.100.52.8: ICMP echo request, id 14907, seq 1, length 76
15:27:29.026740 IP 10.100.52.8 > 10.100.11.45: ICMP echo reply, id 14907, seq 1, length 76
15:27:30.023728 IP 10.100.11.45 > 10.100.52.8: ICMP echo request, id 14907, seq 2, length 76
15:27:30.034321 IP 10.100.52.8 > 10.100.11.45: ICMP echo reply, id 14907, seq 2, length 76
15:29:24.123489 IP 10.100.11.45.36498 > 10.100.52.8.161: C=public GetRequest(34) .1.3.6.1.4.1.318.1.1.1.7.2.3.0[|snmp]
15:29:24.165822 IP 10.100.52.8.161 > 10.100.11.45.36498: C=public GetResponse(39) .1.3.6.1.4.1.318[|snmp]

apc.BatteryTemperature have oid .1.3.6.1.4.1.318.1.1.1.2.2.2.0



 Comments   
Comment by richlv [ 2011 Oct 26 ]

please, attach a screenshot of item configuration. also, you could try snmpget for the oid exactly as it's specified in the item configuration

Comment by Alexey Pustovalov [ 2011 Oct 26 ]

time snmpget -v2c -c public c2r3ups01.88.ru .1.3.6.1.4.1.318.1.1.1.2.2.2.0
SNMPv2-SMI::enterprises.318.1.1.1.2.2.2.0 = Gauge32: 21

real 0m0.051s
user 0m0.028s
sys 0m0.000s
dotneft ~ $ time snmpget -v2c -c public c2r3ups01.88.ru .1.3.6.1.4.1.318.1.1.1.2.2.2.0
SNMPv2-SMI::enterprises.318.1.1.1.2.2.2.0 = Gauge32: 21

real 0m0.050s
user 0m0.024s
sys 0m0.000s
dotneft ~ $ time snmpget -v2c -c public c2r3ups01.88.ru .1.3.6.1.4.1.318.1.1.1.2.2.2.0
SNMPv2-SMI::enterprises.318.1.1.1.2.2.2.0 = Gauge32: 21

real 0m0.051s
user 0m0.020s
sys 0m0.000s
dotneft ~ $ time snmpget -v2c -c public c2r3ups01.88.ru .1.3.6.1.4.1.318.1.1.1.2.2.2.0
SNMPv2-SMI::enterprises.318.1.1.1.2.2.2.0 = Gauge32: 21

real 0m0.050s
user 0m0.020s
sys 0m0.004s

Comment by Alexey Pustovalov [ 2011 Oct 26 ]

item settings

Comment by Alexey Pustovalov [ 2011 Oct 27 ]

we checking then the problem and found following relationships:
1. often troubles with snmp was with hosts (checking by ip) without/incorrect A or PTR DNS records.
2. after we resolve A and PTR DNS records, another and first errors disappeared from logs

But the problem remains, how affected by the availability of DNS records for hosts with check by ip?

Comment by Alexei Vladishev [ 2011 Nov 17 ]

Perhaps SNMP device relies on availability of DNS somehow, say for security checks, audits, something else?

Comment by Alexey Pustovalov [ 2011 Nov 17 ]

maybe. I think net-snmp have internal checks,audit... etc.
messages about errors missing from zabbix log after DNS records ordering.

Comment by Alexey Pustovalov [ 2012 Jul 28 ]

I think we can close the issue.

Generated at Thu May 29 10:22:56 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.