def retrieveVals(self):
apcinfo = APCinfo(self._host, self._port, self._user, self._password, <EOL>self._monpath, self._ssl, self._extras)<EOL>stats = apcinfo.getAllStats()<EOL>if self.hasGraph('<STR_LIT>') and stats:<EOL><INDENT>filecache = stats['<STR_LIT>']['<STR_LIT>']<EOL>usercache = stats['<STR_LIT>']['<STR_LIT>']<EOL>total = stats['<STR_LIT>']['<STR_LIT>'] * stats['<STR_LIT>']['<STR_LIT>']<EOL>free = stats['<STR_LIT>']['<STR_LIT>']<EOL>other = total - free - filecache - usercache <EOL>self.setGraphVal('<STR_LIT>', '<STR_LIT>', filecache)<EOL>self.setGraphVal('<STR_LIT>', '<STR_LIT>', usercache)<EOL>self.setGraphVal('<STR_LIT>', '<STR_LIT>', other)<EOL>self.setGraphVal('<STR_LIT>', '<STR_LIT>', free)<EOL><DEDENT>if self.hasGraph('<STR_LIT>') and stats:<EOL><INDENT>self.setGraphVal('<STR_LIT>', '<STR_LIT>', <EOL>stats['<STR_LIT>']['<STR_LIT>'])<EOL>self.setGraphVal('<STR_LIT>', '<STR_LIT>', <EOL>stats['<STR_LIT>']['<STR_LIT>'])<EOL><DEDENT>if self.hasGraph('<STR_LIT>') and stats:<EOL><INDENT>self.setGraphVal('<STR_LIT>', '<STR_LIT>', <EOL>stats['<STR_LIT>']['<STR_LIT>'])<EOL>self.setGraphVal('<STR_LIT>', '<STR_LIT>', <EOL>stats['<STR_LIT>']['<STR_LIT>'])<EOL>self.setGraphVal('<STR_LIT>', '<STR_LIT>', <EOL>stats['<STR_LIT>']['<STR_LIT>'])<EOL><DEDENT>if self.hasGraph('<STR_LIT>') and stats:<EOL><INDENT>self.setGraphVal('<STR_LIT>', '<STR_LIT>', <EOL>stats['<STR_LIT>']['<STR_LIT>'])<EOL>self.setGraphVal('<STR_LIT>', '<STR_LIT>', <EOL>stats['<STR_LIT>']['<STR_LIT>'])<EOL>self.setGraphVal('<STR_LIT>', '<STR_LIT>', <EOL>stats['<STR_LIT>']['<STR_LIT>'])<EOL><DEDENT>if self.hasGraph('<STR_LIT>') and stats:<EOL><INDENT>self.setGraphVal('<STR_LIT>', '<STR_LIT>', <EOL>stats['<STR_LIT>']['<STR_LIT>'])<EOL>self.setGraphVal('<STR_LIT>', '<STR_LIT>', <EOL>stats['<STR_LIT>']['<STR_LIT>'])<EOL><DEDENT>if self.hasGraph('<STR_LIT>'):<EOL><INDENT>self.setGraphVal('<STR_LIT>', '<STR_LIT>', <EOL>stats['<STR_LIT>']['<STR_LIT>'] * <NUM_LIT:100>)<EOL>self.setGraphVal('<STR_LIT>', '<STR_LIT>', <EOL>stats['<STR_LIT>']['<STR_LIT>'] * <NUM_LIT:100>)<EOL><DEDENT>if self.hasGraph('<STR_LIT>'):<EOL><INDENT>self.setGraphVal('<STR_LIT>', '<STR_LIT>',<EOL>stats['<STR_LIT>']['<STR_LIT>'])<EOL><DEDENT>if self.hasGraph('<STR_LIT>'):<EOL><INDENT>self.setGraphVal('<STR_LIT>', '<STR_LIT:size>',<EOL>stats['<STR_LIT>']['<STR_LIT>'])<EOL><DEDENT>
Retrieve values for graphs.