Software involved in the problem:
check_ups (nagios-plugins 1.4.2) 1.27
Network UPS Tools upsd 2.0.2
This patch fixes problem caused by check_ups getting
ups data from the upsd.
The upsd does not like the tcp connection to be closed
without logout. That causes error logging looking like
this:
Dec 22 12:51:33 myhost upsd[14020]: Host 192.168.13.13
disconnected (read failure)
I added in check_ups an logout string to the end of the
command retrieving data from upsd. And some code
removing additional Goodbye line in upsd output.
The patch for check_ups (nagios-plugins 1.4.2) 1.27