Thank you for your response Daniel.

I've changed my temp.pl file with

#!/usr/bin/perl 

$dummy =`sensors | grep "temp1"`; 
$dummy=~ /temp1:       \+(.*)\°C /; 
$temp1=$1*10;
print "$temp1\n$temp1\n0\n0"; 

Now when I enter 
perl ./temp.pl
I get :
625
625
0
0

But it's still not working. In my log file there's still only 0 0 0 0
I really don't understand what's not correct.

--
View this message in context: 
http://mrtg-mailinglists.795376.n2.nabble.com/Cannot-Fill-new-Graph-tp6215475p6216155.html
Sent from the MRTG Users Mailinglist mailing list archive at Nabble.com.

_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

Reply via email to