Smarts: Smarts sm_snmp utility fails to send a trap and generates error when trying to send sm_snmp trap with specific value greater than 2147483647
search cancel

Smarts: Smarts sm_snmp utility fails to send a trap and generates error when trying to send sm_snmp trap with specific value greater than 2147483647

book

Article ID: 303897

calendar_today

Updated On:

Products

VMware

Issue/Introduction

Symptoms:



 

Smarts sm_snmp utility fails to send a trap when specifying a specific value greater than 2147483647

 

Receive error when trying to send sm_snmp trap with specific value greater than 2147483647 as in the following example:

sm_snmp -d localhost trap 10.1.253.16 .1.3.6.1.4.1.311.1.13.1.23.83.101.114.118.105.99.101.32.67.111.110.116.114.111.108.32.77.97.110.97.103.101.114 6 2147483648 0

 

Smarts sm_snmp utility reports the following error when specifying a specific value greater than 2147483647:

sm_snmp: Invalid number for <specific>: <value>



Environment

VMware Smart Assurance - SMARTS

Cause

This issue is not specific to Smarts sm_snmp. The trap limitation is due to the 32-bit signed integer maximum value of 2,147,483,647.

Resolution

To resolve this issue, specific values specified for traps must be no greater than 2147483647, the 32-bit signed integer maximum.