Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-9858

Possible negative snmp_lastlogize in database

    XMLWordPrintable

    Details

      Description

      Zabbix server uses snmptrap.log file which can be rotated by logrotate. One time Zabbix server wrote to database negative value of snmp trap file size. Which cause "Invalid argument" error more than 1000 ones per second. Zabbix server filled zabbix_server.log file up to 1.7TB just for 6-9 hours. An example:

       10890:20150914:141532.174 cannot set position to [-2147482943] for [/tmp/snmptrapfmt.log]: [22] Invalid argument
       10890:20150914:141532.174 cannot set position to [-2147482943] for [/tmp/snmptrapfmt.log]: [22] Invalid argument
       10890:20150914:141532.174 cannot set position to [-2147482943] for [/tmp/snmptrapfmt.log]: [22] Invalid argument
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              dotneft Alexey Pustovalov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: