I'm trying get PRTG to give me the number of clients attached to our AP's. I have an snmp command:
|snmpwalk -v2c -c COMMUNITY ADDRESS SNMPv2-SMI::enterprises.14818.104.22.168.22.214.171.124.3
This will return a list of clients connected, so by adding | wc -l I can count them
|snmpwalk -v2c -c xxx xxx SNMPv2-SMI::enterprises.148126.96.36.199.188.8.131.52.3
But how do I make PRTG count the number of lines returned in SNMP? I've tried asking just on the OID 184.108.40.206.4.1.148220.127.116.11.1 But of course it just returns a list of clients, so it doesn't understand it. Is there a way to use the advanced snmp to count the lines, instead of building a giant custom sensor for this?