What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

How can I get integer value in sensor from custom snmp string

Votes:

0

Hello!

By snmp (snmp custom string) I can get, e.g., string like this: "27 degrees C". Is there possible to get substring (split string) with integer value and post it like usual sensor (channel) value of sensor?

integer snmp split string substring

Created on Oct 22, 2010 10:49:46 AM



Best Answer

Accepted Answer

Votes:

0

If this is just one sensor and not 100's . Do a script in powershell that will use snmpget.exe and trim the results.

Created on Nov 29, 2010 6:06:16 PM

Last change on Nov 30, 2010 2:28:48 PM by  Torsten Lindner [Paessler Support]



2 Replies

Votes:

0

Hello,

I'm afraid that is not possible.

Best Regards.

Created on Oct 22, 2010 3:50:03 PM by  Torsten Lindner [Paessler Support]



Accepted Answer

Votes:

0

If this is just one sensor and not 100's . Do a script in powershell that will use snmpget.exe and trim the results.

Created on Nov 29, 2010 6:06:16 PM

Last change on Nov 30, 2010 2:28:48 PM by  Torsten Lindner [Paessler Support]




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.