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

PRTG graphing text file

Votes:

0

Your Vote:

Up

Down

I've got a text file that gets updated via script with an integer.

The script basically counts the number of rendered frames our of our farm and then dumps it into a text file on a daily basis.

Is it possible to read the last line of a text file and then add it to a graph?

graphs prtg text

Created on Dec 16, 2011 8:52:48 PM by  Harry Skopas (0) 1



4 Replies

Votes:

0

Your Vote:

Up

Down

if you already have a script reading the data and dumping it into a text file, why not changing the script a little and use it directly with PRTG?

please take a look at

https://www.paessler.com/manuals/prtg9/exe_script_sensor.htm

Created on Dec 18, 2011 9:18:45 PM by  Aurelio Lombardi [Paessler Support]



Votes:

0

Your Vote:

Up

Down

It's a linux shell file so ideally I'd like to just read directly out of a text file rather than trying to get windows to ssh and exe a shell script.

The text file is incredibly simple, here's an example;

899 1945 1235 1853

Each number is produced every time the script is run via a daily cron.

Possible to just read the last line and graph it?

Created on Jan 9, 2012 6:07:13 PM by  Harry Skopas (0) 1



Votes:

0

Your Vote:

Up

Down

Maybe it's possible to adjust the script so that the resulting File will be "compatible" to the File Content Sensor.

Created on Jan 9, 2012 6:20:25 PM by  Torsten Lindner [Paessler Support]



Votes:

0

Your Vote:

Up

Down

aha. That looks like something that'd work.

Appreciate it

Created on Jan 9, 2012 6:22:07 PM by  Harry Skopas (0) 1



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.