Playing around with Custom Library's and got the basic handling on how to do them. Now trying to do something I guess more advanced. How can I acheive this?
I found this string, which does return the correct value. I just don't quite get how to translate this into PRTG.
snmpwalk -v 2c -c $community $IP_of_Controller 1.3.6.1.4.1.14179.2.1.4.1.7 | grep -i "ssid name" | wc -l
Article Comments
Yes I have converted.
That OID will return rows of wireless clients along with their SSID. What I want to do is gather the total amount of rows for a specific SSID and display the value on a graph.
Is that possible with the Custom Sensor?
May, 2017 - Permalink
It can't be done out of the box with standard sensor, but with a custom script sensor this should be possible. I don't have a "template" for this scenario to give you, but these two threads might serve you as a starting point for your own script:
Feel free to share your own script with the community if you like.
Kind regards,
Erhard
May, 2017 - Permalink
So you already converted a MIB file to oidlib-format for the SNMP Library sensor? OID 1.3.6.1.4.1.14179.2.1.4.1.7 delivers a string back, so the SNMP Library sensor should create basically an SNMP Custom String sensor, showing the value in the sensor's message field. You could also identify the "full" OID yourself and create an SNMP Custom String sensor yourself, you don't necessarily need to use the library sensor for that.
Kind regards,
Erhard
May, 2017 - Permalink