- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- snmpd returns the following messages after 497 days from boot:
Apr 7 11:11:29 HOSTNAME snmpd[XXXX]: truncating integer value > 32 bits
- Why does snmpd return this message?
- Are there ways to avoid this messages, like package update?
- This message is not output if no queries to OIDs with values >32bits are done.
- It is possible to use "view systemview excluded
" in snmpd.conf. With this, uids which might get >32bit values can be excluded. This will only help for queries which use the OID directly and not the MIB name (i.e.
logging from snmpd can be modified to prevent the message. Using
OPTIONS="-LS0-2d -Lf /dev/null -p /var/run/snmpd.pid"
in /etc/sysconfig/snmpd will lead to the message no longer getting logged.
- If the systems elapsed time is more than 497 days, this messages would be output when
hrSystemUptimeor its OID .22.214.171.124.126.96.36.199.1.0 are read.
- If the message
truncating integer value > 32 bitsis observed after reading
sysUpTime, then restarting the snmpd is resetting the counter and thus preventing the message.
sysUpTimemeans the time elapsed from starting snmpd, not from starting up system. When the value of
sysUpTimeoverflowed, the value of
hrSystemUptimealso should have overflowed.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.