Count number results from SNMP walk
Modified on 2025-06-10 13:36:15 +0200
Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.
Important: We no longer maintain this article. The information might be out of date.
Hello,
I'm wondering if there's a way to count the number of results from an SNMP walk OID. I want to use 1.3.6.1.4.1.9.9.513.1.1.1.1.5 which returns a list of names of every AP registered to a Cisco WLC. I'm not so interested in the names. I just want to count how many unique items are returned so I can monitor if any APs fail or if any new ones are added without my knowledge.
Thank you.
Article Comments
There is no way to perform a walk in PRTG with the current sensors available. What you would have to do is write a script that could walk that OID then return a result to PRTG in one of the formats that are available through the Custom Sensor API. You can find the API dokumentation under Setup->PRTG API->Custom Sensors.
Sep, 2014 - Permalink
Disclaimer:
The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.
There is no way to perform a walk in PRTG with the current sensors available. What you would have to do is write a script that could walk that OID then return a result to PRTG in one of the formats that are available through the Custom Sensor API. You can find the API dokumentation under Setup->PRTG API->Custom Sensors.
Sep, 2014 - Permalink