Skip to content

Instantly share code, notes, and snippets.

@tinbotu
Created August 12, 2011 08:47
Show Gist options
  • Select an option

  • Save tinbotu/1141719 to your computer and use it in GitHub Desktop.

Select an option

Save tinbotu/1141719 to your computer and use it in GitHub Desktop.
counting wireless node clients w/dd-wrt
stingray:~$ snmpwalk -Cc -c tomad 192.168.20.181 1.3.6.1.4.1.2021.8.1
UCD-SNMP-MIB::extIndex.1 = INTEGER: 1
UCD-SNMP-MIB::extNames.1 = STRING: apClientsCount
UCD-SNMP-MIB::extCommand.1 = STRING: /jffs/wlassoclistcount
UCD-SNMP-MIB::extResult.1 = INTEGER: 0
UCD-SNMP-MIB::extOutput.1 = STRING: 2
UCD-SNMP-MIB::extErrFix.1 = INTEGER: noError(0)
UCD-SNMP-MIB::extErrFixCmd.1 = STRING:
stingray:~$ snmpwalk -c tomad 192.168.20.181 1.3.6.1.4.1.2021.8.1.101.1
UCD-SNMP-MIB::extOutput.1 = STRING: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment