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

Logging value from text file

Votes:

0

I have a text file that has a series of values (it's actually weather sensor data). There is a single line in the text file, and that text file is overwritten every minute.

I simply want PRTG to be able to read the (space separated) values from the file and graph them. The file content sensor I investigated appears to only be suitable to find a match - I need more than this obviously.

Any pointers gratefully received.

An example of the file content:

17/08/16 16:26:48 27.8 32 9.6 7.1 2.5 45 0.0 0.0 1007.7 NE 2 mph C mb mm 56.9 -0.4 0.3 31.8 0.0 30.2 31 27.8 +0.9 28.1 15:49 10.3 03:19 10.8 15:01 14.3 15:20 1012.9 00:04 1007.6 16:11 1.9.4 1088 10.1 27.0 28.9 0 0.00 0 54 0.0 18 1 0 NE 7250 ft 25.5 0.0 505 0

csv file text weather

Created on Aug 17, 2016 3:37:56 PM



1 Reply

Votes:

0

You'll have to write a script for that. You'll need to know the units of each value as well, and then create channels accordingly with our custom EXE/Script (advanced) sensor :)

Created on Aug 19, 2016 12:45:04 PM by  Stephan Linke [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.