mirror of https://github.com/mikaku/Monitorix.git
force to save values as 'unknown' when 'apcaccess' returns error. #201
This commit is contained in:
parent
7ee147a6dc
commit
46fcd2d729
|
@ -181,7 +181,7 @@ sub apcupsd_update {
|
|||
|
||||
if(!$data) {
|
||||
logger("$myself: unable to execute '" . $apcupsd->{cmd} . "' command or invalid connection.");
|
||||
$rrdata .= "::::::::::::::::::::::";
|
||||
$rrdata .= ":U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U";
|
||||
next;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue