mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fixed display minimum values in uptime graphs. (#10078)
Fixes an issue with several uptime graphs using the average value when it should be using the minimum value. #### Testers If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926` After you are done testing, you can remove the changes with `./scripts/github-remove`. If there are schema changes, you can ask on discord how to revert.
This commit is contained in:
@@ -62,7 +62,7 @@ $check_graph['mysqluptime'] .= " CDEF:cuptime=DS0,86400,/";
|
||||
$check_graph['mysqluptime'] .= " 'COMMENT:Days Current Minimum Maximum Average\\n'";
|
||||
$check_graph['mysqluptime'] .= " AREA:cuptime#EEEEEE:Uptime";
|
||||
$check_graph['mysqluptime'] .= " LINE1.25:cuptime#36393D:";
|
||||
$check_graph['mysqluptime'] .= " GPRINT:cuptime:LAST:%6.2lf GPRINT:cuptime:AVERAGE:%6.2lf";
|
||||
$check_graph['mysqluptime'] .= " GPRINT:cuptime:LAST:%6.2lf GPRINT:cuptime:MIN:%6.2lf";
|
||||
$check_graph['mysqluptime'] .= " GPRINT:cuptime:MAX:%6.2lf GPRINT:cuptime:AVERAGE:%6.2lf\\l";
|
||||
|
||||
$check_graph['mysqlQcache'] = " DEF:DS0=" . $rrd_filename . ":Qcache_free_memory:AVERAGE ";
|
||||
|
Reference in New Issue
Block a user