mirror of https://github.com/mikaku/Monitorix.git
corrected the shift in the values of the main graph #95
This commit is contained in:
parent
399e2e30f7
commit
452babf708
44
lib/nut.pm
44
lib/nut.pm
|
@ -436,25 +436,25 @@ sub nut_cgi {
|
|||
undef(@tmpz);
|
||||
undef(@CDEF);
|
||||
push(@tmp, "LINE2:htran#EE4444:High input transfer");
|
||||
push(@tmp, "GPRINT:htran:LAST: Current\\: %4.1lf");
|
||||
push(@tmp, "GPRINT:htran:AVERAGE: Average\\: %4.1lf");
|
||||
push(@tmp, "GPRINT:htran:MIN: Min\\: %4.1lf");
|
||||
push(@tmp, "GPRINT:htran:MAX: Max\\: %4.1lf\\n");
|
||||
push(@tmp, "GPRINT:htran:LAST: Cur\\: %5.1lf");
|
||||
push(@tmp, "GPRINT:htran:AVERAGE: Avg\\: %5.1lf");
|
||||
push(@tmp, "GPRINT:htran:MIN: Min\\: %5.1lf");
|
||||
push(@tmp, "GPRINT:htran:MAX: Max\\: %5.1lf\\n");
|
||||
push(@tmp, "LINE2:ivolt#44EE44:Input voltage");
|
||||
push(@tmp, "GPRINT:ivolt:LAST: Current\\: %4.1lf");
|
||||
push(@tmp, "GPRINT:ivolt:AVERAGE: Average\\: %4.1lf");
|
||||
push(@tmp, "GPRINT:ivolt:MIN: Min\\: %4.1lf");
|
||||
push(@tmp, "GPRINT:ivolt:MAX: Max\\: %4.1lf\\n");
|
||||
push(@tmp, "GPRINT:ivolt:LAST: Cur\\: %5.1lf");
|
||||
push(@tmp, "GPRINT:ivolt:AVERAGE: Avg\\: %5.1lf");
|
||||
push(@tmp, "GPRINT:ivolt:MIN: Min\\: %5.1lf");
|
||||
push(@tmp, "GPRINT:ivolt:MAX: Max\\: %5.1lf\\n");
|
||||
push(@tmp, "LINE2:ovolt#4444EE:Output voltage");
|
||||
push(@tmp, "GPRINT:ovolt:LAST: Current\\: %4.1lf");
|
||||
push(@tmp, "GPRINT:ovolt:AVERAGE: Average\\: %4.1lf");
|
||||
push(@tmp, "GPRINT:ovolt:MIN: Min\\: %4.1lf");
|
||||
push(@tmp, "GPRINT:ovolt:MAX: Max\\: %4.1lf\\n");
|
||||
push(@tmp, "GPRINT:ovolt:LAST: Cur\\: %5.1lf");
|
||||
push(@tmp, "GPRINT:ovolt:AVERAGE: Avg\\: %5.1lf");
|
||||
push(@tmp, "GPRINT:ovolt:MIN: Min\\: %5.1lf");
|
||||
push(@tmp, "GPRINT:ovolt:MAX: Max\\: %5.1lf\\n");
|
||||
push(@tmp, "LINE2:ltran#EE4444:Low input transfer");
|
||||
push(@tmp, "GPRINT:ltran:LAST: Current\\: %4.1lf");
|
||||
push(@tmp, "GPRINT:ltran:AVERAGE: Average\\: %4.1lf");
|
||||
push(@tmp, "GPRINT:ltran:MIN: Min\\: %4.1lf");
|
||||
push(@tmp, "GPRINT:ltran:MAX: Max\\: %4.1lf\\n");
|
||||
push(@tmp, "GPRINT:ltran:LAST: Cur\\: %5.1lf");
|
||||
push(@tmp, "GPRINT:ltran:AVERAGE: Avg\\: %5.1lf");
|
||||
push(@tmp, "GPRINT:ltran:MIN: Min\\: %5.1lf");
|
||||
push(@tmp, "GPRINT:ltran:MAX: Max\\: %5.1lf\\n");
|
||||
push(@tmpz, "LINE2:htran#EE4444:High input transfer");
|
||||
push(@tmpz, "LINE2:ivolt#44EE44:Input voltage");
|
||||
push(@tmpz, "LINE2:ovolt#4444EE:Output voltage");
|
||||
|
@ -542,20 +542,20 @@ sub nut_cgi {
|
|||
undef(@tmpz);
|
||||
undef(@CDEF);
|
||||
push(@tmp, "AREA:bchar#4444EE:Charge");
|
||||
push(@tmp, "GPRINT:bchar:LAST: Current\\: %4.1lf%%");
|
||||
push(@tmp, "GPRINT:bchar:AVERAGE: Average\\: %4.1lf%%");
|
||||
push(@tmp, "GPRINT:bchar:LAST: Cur\\: %4.1lf%%");
|
||||
push(@tmp, "GPRINT:bchar:AVERAGE: Avg\\: %4.1lf%%");
|
||||
push(@tmp, "GPRINT:bchar:MIN: Min\\: %4.1lf%%");
|
||||
push(@tmp, "GPRINT:bchar:MAX: Max\\: %4.1lf%%\\n");
|
||||
push(@tmp, "AREA:loadc#EE4444:Load capacity");
|
||||
push(@tmp, "GPRINT:loadc:LAST: Current\\: %4.1lf%%");
|
||||
push(@tmp, "GPRINT:loadc:AVERAGE: Average\\: %4.1lf%%");
|
||||
push(@tmp, "GPRINT:loadc:LAST: Cur\\: %4.1lf%%");
|
||||
push(@tmp, "GPRINT:loadc:AVERAGE: Avg\\: %4.1lf%%");
|
||||
push(@tmp, "GPRINT:loadc:MIN: Min\\: %4.1lf%%");
|
||||
push(@tmp, "GPRINT:loadc:MAX: Max\\: %4.1lf%%\\n");
|
||||
push(@tmp, "LINE1:bchar#0000EE");
|
||||
push(@tmp, "LINE1:loadc#EE0000");
|
||||
push(@tmp, "LINE2:mbatc#EEEE44:Shutdown level");
|
||||
push(@tmp, "GPRINT:mbatc:LAST: Current\\: %4.1lf%%");
|
||||
push(@tmp, "GPRINT:mbatc:AVERAGE: Average\\: %4.1lf%%");
|
||||
push(@tmp, "GPRINT:mbatc:LAST: Cur\\: %4.1lf%%");
|
||||
push(@tmp, "GPRINT:mbatc:AVERAGE: Avg\\: %4.1lf%%");
|
||||
push(@tmp, "GPRINT:mbatc:MIN: Min\\: %4.1lf%%");
|
||||
push(@tmp, "GPRINT:mbatc:MAX: Max\\: %4.1lf%%\\n");
|
||||
push(@tmpz, "AREA:bchar#4444EE:Charge");
|
||||
|
|
Loading…
Reference in New Issue