<div dir="ltr"><div><div>Hi,<br></div>I am new to this, so I hope that I post this correctly.<br><br></div><div>I have a Perl script that creates a .png file with the graph. So far so good.<br></div><div>In the Graph I have the function "HRULE:22#000000" that works just fine.<br><br></div><div>Now I want to make the value 22 flexible. I want it be be read from a external file.<br></div><div>So when I just change the value to 21, or 23 or what ever, its been read from a file.<br><br></div><div>Because the value in the file ex 22 is being read from multiple scripts, both a bash and a python script, I want it to pick the value from the file to the HRULE in the RRDs::Graph, in the perl Script.<br><br></div><div>The file, that is today being read from bash and python, is just containing a value between -30 to +50. So the help that I need with, it needs to handle a value ex -5 and 22.<br></div><div><br></div><div>The reason I want it to read from the same file, is that I just needs to adjust in two files.<br>File 1 High value like -5<br>File 2 Low value like 22.<br></div><div>Instead in 20-24 different places, that is easily to miss a place to change.<br><br></div><div>I hope that some one can help me.<br></div><div><br>Best Regards Mats<br></div></div>