force to save values as 'unknown' when 'apcaccess' returns error. #201

This commit is contained in:
Jordi Sanfeliu 2018-02-26 09:14:09 +01:00
parent 7ee147a6dc
commit 46fcd2d729
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ sub apcupsd_update {
if(!$data) { if(!$data) {
logger("$myself: unable to execute '" . $apcupsd->{cmd} . "' command or invalid connection."); 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; next;
} }