38 SOCKET
tcp =
static_cast<SOCKET
>(SOCKET_ERROR);
198 static bool ReadText(std::string,
const char*,
char*,
size_t);
199 static bool ReadDateTime(std::string,
const char*, time_t*);
200 static bool ReadDate(std::string,
const char*, time_t*);
201 static bool ReadFloat(std::string,
const char*,
float*);
202 static bool ReadInt(std::string,
const char*,
int*);
float LOTRANS
EEPROM go on battery below this voltage.
static bool ReadInt(std::string, const char *, int *)
static bool ReadDateTime(std::string, const char *, time_t *)
int MAXTIME
EEPROM maximum time on battery in seconds before shutdown.
int NUMXFERS
since daemon startup
int DWAKE
EEPROM wake delay in seconds.
time_t XONBATT
time and date since last transfer TO batteries
time_t STARTTIME
daemon start time
char HOSTNAME[9]
status update timestamp
std::vector< ApcupsdParam > params
int DLOWBATT
EEPROM The remaining runtime below which the UPS sends the low battery signal. At this point apcupsd ...
okay, the portable keyboard numbers don't work like the outside keypad because the outside keypad is ...
self test indicates good battery
static bool ReadDate(std::string, const char *, time_t *)
float HITRANS
EEPROM go on battery above this voltage.
void Initialize(Logger *logger, ApcupsdConfig *config, Bus *bus)
No results (i.e. no self test performed in the last 5 minutes)
char LASTXFER[32]
The reason for the last transfer to batteries.
int MINTIMEL
EEPROM time remaining in minutes that triggers shutdown.
int STESTI
EEPROM The interval in hours between automatic self tests.
float MINLINEV
since last reading (apcupsd documentation is in error)
float timeToWarn
keep me from leaving display computer on again
float OUTPUTV
The voltage the UPS is supplying to your equipment.
C++ monitoring implementation of http://www.apcupsd.org.
time_t XOFFBATT
time and date since last transfer FROM batteries
Not a real APC status, reserved for compatibility across the board.
int CUMONBATT
cumulative time on battery (since daemon started) in seconds
int ALARMDEL
EEPROM The delay period for the UPS alarm.
Nullable< float > modulate
static bool ReadFloat(std::string, const char *, float *)
time_t END_APC
More accurate poll date.
Systems::Fault * guidPtrInt
float timeSinceLastUpdate
void FrameMove(float fElapsed)
char APC[13]
Header record indicating the STATUS format revision level, the number of records that follow the APC ...
static bool ReadText(std::string, const char *, char *, size_t)
float TIMELEFT
remaining runtime in minutes
float BCHARGE
battery charge percentage
int TONBATT
time on battery this transfer seconds
float MAXLINEV
since last reading (apcupsd documentation is in error)
float RETPCT
EEPROM The percentage charge that the batteries must have after a power off condition before the UPS ...
char expansion[144]
padding to make the struct 512 bytes
int DSHUTD
EEPROM shutdown delay in seconds after getting command to shutdown.
int MBATTCHG
EEPROM percent battery that triggers shutdown.
self test failed due to overload
self test failed due to insufficient battery capacity
void Log(char *msg, Logger::Level level, int errorno) const