[ZBXNEXT-1220] Monitoring of log files more than 2GB Created: 2012 May 14 Updated: 2012 Oct 31 Resolved: 2012 May 18 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Agent (G), Installation (I), Proxy (P), Server (S) |
Affects Version/s: | None |
Fix Version/s: | 2.0.0 |
Type: | Change Request | Priority: | Critical |
Reporter: | Alexander Vladishev | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | logmonitoring | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
Currently monitoring of log-files is limited by 2 gigabytes since a field of a database has the 32-bbit signed integer type. The size of this field shall be increased to 64-bit integer type. |
Comments |
Comment by Alexander Vladishev [ 2012 May 14 ] |
Available in the development branch svn://svn.zabbix.com/branches/dev/ZBXNEXT-1220 |
Comment by dimir [ 2012 May 15 ] |
(1) On a 32-bit system agent fails when doing stat() of the log file in a process_log() function, which results in an item becoming NOTSUPPORTED: [...] $ ls -l /tmp/big.log $ ls -lh /tmp/big.log <Sasha> RESOLVED in r27551. <dimir> CLOSED |
Comment by Alexander Vladishev [ 2012 May 16 ] |
Related issue: |
Comment by dimir [ 2012 May 16 ] |
Successfully tested. Log monitoring is working for files over 2GB on 32-bit systems. Also confirm that this fixes vfs.file.size[] report for files over 2GB (was ZBX_UNSUPPORTED before). |
Comment by dimir [ 2012 May 16 ] |
(1) This enables general support for files larger than 2GB on Zabbix side (all components), I suggest this be documented as new 2.0 feature. <richlv> documented in http://www.zabbix.com/documentation/2.0/manual/introduction/whatsnew200 -> RESOLVED |
Comment by Alexander Vladishev [ 2012 May 16 ] |
(2) Should be documented DB upgrade patches from 2.0.0rc4 to 2.0.0rc5 in the release notes. IBM DB2: MySQL: Oracle: PostgreSQL: <dimir> While at it, could next info also added? When upgrading from 2.0.0rc2 to 2.0.0rc3, if proxy is used and proxy uses MySQL: <Sasha> we supports incremental patches only from version 2.0.0rc4 |
Comment by Alexander Vladishev [ 2012 May 16 ] |
Available in version pre-2.0.0 r27570. |
Comment by dimir [ 2012 May 18 ] |
Reopening because of regression. After this fix Zabbix will not compile on Solaris (SPARC) anymore. |
Comment by dimir [ 2012 May 18 ] |
(3) Disable large file support on 32-bit Solaris. On a 32-bit Solaris large file support is incompatible with procfs and swapctl. There is a way to do that though by using transitional compilation environment but this has to wait at least till 2.0 is out. See lfcompile64(5) for details. RESOLVED in svn://svn.zabbix.com/branches/dev/ZBXNEXT-1220 <Sasha> CLOSED |
Comment by richlv [ 2012 May 18 ] |
(4) document "(3)" <dimir> RESOLVED <martins-v>CLOSED |
Comment by Alexander Vladishev [ 2012 May 18 ] |
Available in version pre-2.0.0 r27637. |