Displaying 2 results from an estimated 2 matches for "st_connect".
Did you mean:
  s_connect
  
2015 Oct 19
0
upsmon Poll UPS "Driver not connected" messages
...ith "upsmon[2391]: Poll UPS [tripplite at localhost] failed - Driver not connected" messages every five seconds.  I cannot seem to find a way to reduce that chatter.
These messages originate in pollups() in clients/upsmon.c.  It looks to me like pollups() sees the utype_t->status flag ST_CONNECTED set, yet the UPSCONN_t->fd is -1, which means there is no valid connection (upscli_sendline() in clients/upsclient.c sets UPSCONN_t->upserror = UPSCLI_ERR_DRVNOTCONN).  If ST_CONNECTED was clear, the connection would be retried.  It appears to me that because ST_CONNECTED is set, pollups()...
2007 Jan 04
2
Re: [nut-Patches][303751] Checking UPS Temperature
...monitor temperature (changes based on nut-2.0.0).
> 
>                                  Eric Wilde
> 
>  
> --- upsmon.h.orig	2004-03-08 07:09:28.000000000 -0500
> +++ upsmon.h	2006-08-11 13:38:03.000000000 -0400
> @@ -29,4 +29,5 @@
>  /* was ST_FIRST 0x080 */
>  #define ST_CONNECTED	0x100	/* upscli_connect returned OK		*/
> +#define ST_OVERTEMP	0x200	/* UPS is running overtemp		*/ //EW
>  
>  /* required contents of flag file */
> @@ -72,4 +73,5 @@
>  #define NOTIFY_NOCOMM	8	/* UPS hasn't been contacted in awhile	*/
>  #define NOTIFY_NOPARENT	9	/* privi...