[ZBX-10242] Uptime counter overflow on AIX machines Created: 2016 Jan 08 Updated: 2017 May 30 Resolved: 2016 Jan 08 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Agent (G) |
Affects Version/s: | 2.2.11 |
Fix Version/s: | None |
Type: | Incident report | Priority: | Minor |
Reporter: | Nodar Sardlishvili | Assignee: | Unassigned |
Resolution: | Duplicate | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Server version 2.4.6. |
Issue Links: |
|
Description |
On AIX 6.1 machines uptime counter overflowed after 497 days. |
Comments |
Comment by Aleksandrs Saveljevs [ 2016 Jan 08 ] |
497*24*3600*100 = 4294080000 is suspiciously around the maximum value that a 32-bit integer can have. Does "uptime" command show the correct value? According to https://www-01.ibm.com/support/knowledgecenter/ssw_aix_71/com.ibm.aix.files/libperfstat.h.htm?lang=en , the type of "lbolt" member in "perfstat_cpu_total_t" structure (which Zabbix uses according to src/libs/zbxsysinfo/aix/uptime.c) is "ime_t", which may or may not be a typo for "time_t". Unfortunately, perfstat is not available on our AIX machines currently. Could you please check the size of "lbolt" on your machine? |
Comment by Aleksandrs Saveljevs [ 2016 Jan 08 ] |
Actually, this seems to be a duplicate of |