Skip to content

Instantly share code, notes, and snippets.

@JosefJezek
Created October 4, 2013 12:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JosefJezek/6824959 to your computer and use it in GitHub Desktop.
Save JosefJezek/6824959 to your computer and use it in GitHub Desktop.
SNMP OIDs List

SNMP OIDs List

Linux

  • .1.3.6.1.2.1.25.1.6.0 - Total Processes
  • .1.3.6.1.2.1.25.1.5.0 - Users Count

Cisco

  • IPSEC VPN count - .1.3.6.1.4.1.9.9.171.1.3.1.1.0
  • SSL VPN count (Anyconnect) - .1.3.6.1.4.1.9.9.392.1.3.35.0
  • WEBVPN count - .1.3.6.1.4.1.9.9.392.1.3.38.0
  • IKE Active Tunnel - .1.3.6.1.4.1.9.9.171.1.2.1.1.0

VPN

Extend

In this HowTo only exec and extend are handled. The exec statement should work on all Net-SNMP versions. Starting with Net-SNMP 5.0 extend was introduced, which provides more features and is faster.

http://en.doc.centreon.com/HowToUseSNMPAgentExtension

  • NET-SNMP-EXTEND-MIB::nsExtendOutputFull
  • 'NET-SNMP-EXTEND-MIB::nsExtendOutput1Line."check_procs_zombie"'
  • Return code: 'NET-SNMP-EXTEND-MIB::nsExtendResult."check_procs_zombie"'
  • snmpwalk -On -v2c -c community server NET-SNMP-EXTEND-MIB::nsExtendOutputFull

Exec

  • .1.3.6.1.4.1.2021.8
  • .1.3.6.1.4.1.2021.8.1

Dev Agent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment