What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

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

Your Vote:

Up

Down

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 by  Gennady (58) 2 1



Best Answer

Accepted Answer

Votes:

0

Your Vote:

Up

Down

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 by  Maciej Eckstein (70) 2 1

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



2 Replies

Votes:

0

Your Vote:

Up

Down

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

Your Vote:

Up

Down

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 by  Maciej Eckstein (70) 2 1

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



Please log in or register to enter your reply.


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.