LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

snmpbulkget

Bulk retrieve SNMP MIB values efficiently

TLDR

Bulk get MIB values
$ snmpbulkget -v [2c] -c [public] [host] [OID]
copy
Get with non-repeaters
$ snmpbulkget -Cn [1] -v [2c] -c [public] [host] [OID]
copy
Get with max repetitions
$ snmpbulkget -Cr [10] -v [2c] -c [public] [host] [OID]
copy

SYNOPSIS

snmpbulkget [options] agent oid...

DESCRIPTION

snmpbulkget retrieves multiple MIB values from an SNMP agent in a single request using the GETBULK operation introduced in SNMPv2c. This is significantly more efficient than issuing multiple individual GET or GETNEXT requests, especially when retrieving large tables or sequential OID ranges.The -Cn (non-repeaters) parameter specifies how many of the initial OIDs should be retrieved with a simple GETNEXT, while -Cr (max-repetitions) controls how many successive values to fetch for the remaining OIDs. This combination allows mixing scalar and tabular data retrieval in a single request.The tool is part of the Net-SNMP suite and requires SNMPv2c or SNMPv3, as the GETBULK operation is not available in SNMPv1.

PARAMETERS

-v version

SNMP version (2c, 3).
-c community
Community string.
-Cn num
Non-repeaters count.
-Cr num
Max repetitions.
-O opts
Output options.

INSTALL

sudo apt install snmp
copy
sudo apk add net-snmp-tools
copy

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid