[ZBX-10367] Too many error with snmp traps causing zabbix log file to get rotated too frequently Created: 2016 Feb 09  Updated: 2017 May 30  Resolved: 2016 Feb 10

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: None
Fix Version/s: None

Type: Incident report Priority: Critical
Reporter: Predictix Operations Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates ZBX-9858 Possible negative snmp_lastlogize in ... Closed

 Description   

We are currently seeing too many errors in zabbix server log file related to snmp traps file:

26436:20160205:032913.847 End of read_traps()
26436:20160205:032913.847 In read_traps() lastsize:-2147483567
26436:20160205:032913.847 cannot set position to [-2147483567] for [/var/log/snmptt.log]: [22] Invalid argument
26436:20160205:032913.847 End of read_traps()
26436:20160205:032913.847 In read_traps() lastsize:-2147483567
26436:20160205:032913.847 cannot set position to [-2147483567] for [/var/log/snmptt.log]: [22] Invalid argument
26436:20160205:032913.847 End of read_traps()
26436:20160205:032913.847 In read_traps() lastsize:-2147483567
26436:20160205:032913.847 cannot set position to [-2147483567] for [/var/log/snmptt.log]: [22] Invalid argument
26436:20160205:032913.847 End of read_traps()
26436:20160205:032913.847 In read_traps() lastsize:-2147483567
26436:20160205:032913.847 cannot set position to [-2147483567] for [/var/log/snmptt.log]: [22] Invalid argument
26436:20160205:032913.847 End of read_traps()
26436:20160205:032913.847 In read_traps() lastsize:-2147483567
26436:20160205:032913.847 cannot set position to [-2147483567] for [/var/log/snmptt.log]: [22] Invalid argument
26436:20160205:032913.847 End of read_traps()
26436:20160205:032913.847 In read_traps() lastsize:-2147483567
26436:20160205:032913.847 cannot set position to [-2147483567] for [/var/log/snmptt.log]: [22] Invalid argument
26436:20160205:032913.847 End of read_traps()

These errors are being written in a huge number and causing zabbix_server log file to get rotated too often. We saw that this is a bug that was fixed in later releases per https://support.zabbix.com/browse/ZBX-9858
But we would like to find a solution for this without upgrading zabbix_server.

Our Zabbix server version: 2.2.4
Thank you.



 Comments   
Comment by Alexander Vladishev [ 2016 Feb 10 ]

Already fixed under ZBX-9858.

Comment by Predictix Operations [ 2016 Feb 11 ]

Is there a way to fix this without upgrading to zabbix 2.2.11?

Generated at Fri Apr 26 05:52:18 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.