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?
Article Comments
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?
Jan, 2012 - Permalink
Maybe it's possible to adjust the script so that the resulting File will be "compatible" to the File Content Sensor.
Jan, 2012 - Permalink
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
Dec, 2011 - Permalink