jgreco
Resident Grinch
- Joined
- May 29, 2011
- Messages
- 18,680
It's quite likely that UPS monitoring problems are a symptom, and not the cause, of the problem here. Expect the NUT upgrade to be meaningless.
Most packages that are expecting an external device to do something will periodically wake up, time out, or otherwise take time-dependent action when an event doesn't happen. So, for example, if NUT thinks it hasn't heard from the UPS in 10 minutes, it may cry that there's a problem, try to re-establish the connection, and then go on.
But if the system's time is jumping for some reason, it could be that seconds are passing normally here in the real world, while to the processes on the computer, suddenly it's 10 minutes later. The processes running on your computer do not have an independent sense of time, and are reliant on the system to provide accurate time. If the system time is poor, or unreliable, problems will result. NUT will not realize that it's only been a real-world second since it last heard from the UPS, and would see a system time jump as being ten minutes since last communications. This wouldn't be a bug in NUT, but rather your system.
So I wouldn't bother worrying about NUT. Figure out getting stable time. NUT will "fix" itself (fsvo "fix" that means the symptoms go away, since nothing is technically wrong with NUT).
Most packages that are expecting an external device to do something will periodically wake up, time out, or otherwise take time-dependent action when an event doesn't happen. So, for example, if NUT thinks it hasn't heard from the UPS in 10 minutes, it may cry that there's a problem, try to re-establish the connection, and then go on.
But if the system's time is jumping for some reason, it could be that seconds are passing normally here in the real world, while to the processes on the computer, suddenly it's 10 minutes later. The processes running on your computer do not have an independent sense of time, and are reliant on the system to provide accurate time. If the system time is poor, or unreliable, problems will result. NUT will not realize that it's only been a real-world second since it last heard from the UPS, and would see a system time jump as being ten minutes since last communications. This wouldn't be a bug in NUT, but rather your system.
So I wouldn't bother worrying about NUT. Figure out getting stable time. NUT will "fix" itself (fsvo "fix" that means the symptoms go away, since nothing is technically wrong with NUT).