mirror of https://github.com/mikaku/Monitorix.git
added more precision to the values in 'gensens.pm'
This commit is contained in:
parent
5915c95172
commit
9e6de7def3
|
@ -450,9 +450,9 @@ sub gensens_cgi {
|
|||
$str = $gensens->{map}->{$str} ? $gensens->{map}->{$str} : $str;
|
||||
$str = sprintf("%-20s", substr($str, 0, 20));
|
||||
push(@tmp, "LINE2:gsen" . $n . $LC[$n] . ":$str");
|
||||
push(@tmp, "GPRINT:gsen" . $n . ":LAST: Cur\\:%3.0lf%shz");
|
||||
push(@tmp, "GPRINT:gsen" . $n . ":MIN: Min\\:%3.0lf%shz");
|
||||
push(@tmp, "GPRINT:gsen" . $n . ":MAX: Max\\:%3.0lf%shz\\n");
|
||||
push(@tmp, "GPRINT:gsen" . $n . ":LAST: Cur\\:%4.1lf%shz");
|
||||
push(@tmp, "GPRINT:gsen" . $n . ":MIN: Min\\:%4.1lf%shz");
|
||||
push(@tmp, "GPRINT:gsen" . $n . ":MAX: Max\\:%4.1lf%shz\\n");
|
||||
push(@tmpz, "LINE2:gsen" . $n . $LC[$n] . ":$str");
|
||||
next;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue