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

Reading from Txt File

Votes:

0

I have a hardware sensor (reading real time temperature) which out put to a file Either TXT (also CSV) 12,34.13,2014-10-17 23:58:28 13,34.38,2014-10-17 23:58:40 14,34.75,2014-10-17 23:59:16 15,34.88,2014-10-17 23:59:26 16,35.00,2014-10-17 23:59:36 17,35.13,2014-10-17 23:59:46 18,35.13,2014-10-17 23:59:49 19,35.13,2014-10-17 23:59:52

Index,Temperature,Date Time

I would like the Temperature to be monitored in PRTG. Index is not needed.

I tried to use Logfile Content Check Sensor or File Content Sensor, but both does not seems to be what i want.

Is there someone here who have done this before?

Much appreciated for all your time. Cheers!

csv prtg txt

Created on Oct 17, 2014 4:33:43 PM



1 Reply

Votes:

0

Dear congkai88

If the file content sensor is not sufficient for your case, please write a custom script and use it via the Exe/Script or Exe/Script Advanced sensor.

That script would need to parse the text file, extract the values needed and format them fulfilling the PRTG Exe/Script format specifications. The format is described within PRTG itself, menu Setup / PRTG API, tab "Custom Sensors".

Exemplary custom sensor scripts are provided with the PRTG installation, subfolder "Custom Sensors".

Created on Oct 20, 2014 2:04:14 PM by  Arne Seifert [Paessler Support]

Last change on Oct 20, 2014 2:04:58 PM by  Arne Seifert [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.