I'm trying to graph the CPU of a Netgear SmartSwitch (GS724T) and unfortunately the only value they have for CPU is a complex string with 3 values and their index.

The return is this:

"5 Secs ( 14.2725% ) 60 Secs ( 12.630% ) 300 Secs ( 15.5993% )"

Is there any way to parse this output in PRTG or do I need to go to Cacti or Nagios so I can script the reply?


Article Comments

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.

Hello and thank you for your KB-post.

In short: Yes it's possible.

But if you're currently using an SNMP Library Sensor you will need to switch to a SNMP Custom String sensor, then you'll be able to do this using Regular Expressions:

Note: The example in the sensor's settings may even apply exactly to your case.

Best Regards,
Luciano Lingnau [Paessler Support]


Jun, 2016 - Permalink

Thank you so much for your reply and the links! I'll test them today


Jun, 2016 - Permalink