Sending requests for SNMP information

Prev Next

This topic describes two ways to retrieve SNMP information.

  • The snmpget command retrieves the value of a specific object.

  • The snmpwalk command walks through the object hierarchy, automatically retrieving the values of objects for the subtree or node that you specified.

Examples of basic commands that retrieve SNMP data follow. The commands are entered from the SNMP manager application. The IP address in the commands is the appliance IP address.

SNMP v3 commands:

snmpmgr # snmpget  -m +FE-FIREEYE-MIB -v 3 -u myname -a MD5 -A mypassword -l authNoPriv 172.0.0.0 feTemperatureValue.0
snmpmgr # snmpwalk  -m +FE-FIREEYE-MIB -v 3 -u myname -a MD5 -A mypassword -l authNoPriv 172.0.0.0 enterprises.25597

SNMP v2c commands:

snmpmgr # snmpget  -m +FE-FIREEYE-MIB -v 2c -c public 172.0.0.0 feSupportLicenseActive.0
snmpmgr # snmpwalk -m +FE-FIREEYE-MIB -v 2c -c public 172.0.0.0 fireeye
snmpmgr # snmpwalk -v 2c -c public 172.0.0.0 enterprises.25597

To retrieve license expiration dates formatted in a table, use a command similar to the following (different commands are required by different SNMP manager applications):

snmpmgr # snmptable -c public -Of -v 2c localhost feLicenseFeatureTable

Check the number of days in the rightmost column. If the value is less than 30, contact your system administrator.