|
@@ -1076,7 +1076,6 @@ void UPS_ConnectMonitor(void)
|
|
if (!connectCurrent){
|
|
if (!connectCurrent){
|
|
log_event_data(LOG_ALARM_UPS, "Авария");
|
|
log_event_data(LOG_ALARM_UPS, "Авария");
|
|
SNMP_SendUserTrap(CONNECT_MONITOR_ALARM);
|
|
SNMP_SendUserTrap(CONNECT_MONITOR_ALARM);
|
|
- flUpdateLog = true;
|
|
|
|
}
|
|
}
|
|
else{
|
|
else{
|
|
log_event_data(LOG_ALARM_UPS, "Норма");
|
|
log_event_data(LOG_ALARM_UPS, "Норма");
|
|
@@ -1100,7 +1099,6 @@ void UPS_ConnectMonitor(void)
|
|
else{
|
|
else{
|
|
log_event_data(LOG_ALARM_UPS, "Авария");
|
|
log_event_data(LOG_ALARM_UPS, "Авария");
|
|
SNMP_SendUserTrap(CONNECT_MONITOR_ALARM);
|
|
SNMP_SendUserTrap(CONNECT_MONITOR_ALARM);
|
|
- flUpdateLog = true;
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|