Displaying 1 result from an estimated 1 matches for "upscl_connect".
Did you mean:
upscli_connect
2011 Sep 15
0
Patch to NUT 2.6.0 two fix two issues
...lly gave up - but since the 2 minute timeout was
> pretty long - it also marked all other UPSes it was monitoring as "down"
> (and then immediately "up" again). Causing a lot of unncessary
> false alarms... Solved with a set_alarm()/clear_alarm() wrapper around the
> upscl_connect() call.
>
thanks for your patch. I've got to check it more thoroughly, but it will at
least need some rework.
as an example, the "signal(SIGCHLD, SIG_IGN)" should be in
"setup_signals(void)" and use "sigaction" for more portability.
a side question: is there an...