'snmpwalk' command produces "truncating integer value > 32 bits" error in /var/log/messages

Solution Verified - Updated -

Issue

  • Running snmpwalk ( snmpwalk -Os -c <community> -v 1 localhost hrstorageused )  on huge filesystems ( for example  20TB GFS filesystem ) , snmp throws 'truncating integer value > 32 bits' in /var/log/messages.

  • Running snmpwalk ( snmpwalk -v 1 -c public <snmpdserver> IP-MIB::ipInReceives) on Network interfaces with huge amount  of (bigger than 32bit MAXINT) IP:InReceives, InDelivers, OutRequests, Tcp:InSegs and OutSegs in /proc/net/snmp produces  truncating integer value > 32 bits error  in logs.

Above commands throws the following in /var/log/messages :

snmpd[28968]: truncating integer value > 32 bits

Environment

  • Red Hat Enterprise Linux 5.4 64 bit
  • net-snmp-5.3.2.2-7.el5_4.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content