Re: [Nut-upsuser] How to reset "Shutting Down" Status in Tray-App without re-Starting the monitoring (WIN 7) Computer?

2021-05-04 Thread Charles Lepple via Nut-upsuser
On May 4, 2021, at 12:50 PM, Jürgen Wege via Nut-upsuser 
 wrote:
> 
> It also keeps the old date for "STARTTIME".

You mentioned apcupsd earlier. STARTTIME is not a NUT variable, and I don't 
think NUT ever had a system tray application (though maybe one of the 
third-party Windows ports did), so you might want to ask on one of the 
apcupsd-specific lists:

http://www.apcupsd.org/wordpress/email-lists/
___
Nut-upsuser mailing list
Nut-upsuser@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] How to reset "Shutting Down" Status in Tray-App without re-Starting the monitoring (WIN 7) Computer?

2021-05-04 Thread Jürgen Wege via Nut-upsuser
Roger,

thanks for the hint.

I tried that already before sending the mail to the group, by terminating the 
Tray app manually sitting in front of the machine and re-started it via Windows 
explorer. But it keeps the (wrong/old) status.

It also keeps the old date for "STARTTIME".

So, it seems to me that the daemon is not prepared to collect a new status and 
holds the status as long as it is running (assuming it will be shut down once 
that status appeared which would most likely be be true in a "normal" setup) 
and the tray app just requests the status from the daemon ... my tought. So, it 
would be nice if there was a method to tell the daemon to change that state.

On the other hand ... it could easily be the case that in the grant time 
between "shutting down" status and the real "off" of the UPS, the power could 
come back. Then, I assume that there would be a similar problem?

 
Jürgen 

-Ursprüngliche Nachricht-
Von: Nut-upsuser 
[mailto:nut-upsuser-bounces+jwege=gmx@alioth-lists.debian.net] Im Auftrag 
von Roger Price
Gesendet: Samstag, 1. Mai 2021 10:20
An: Jürgen Wege via Nut-upsuser
Betreff: Re: [Nut-upsuser] How to reset "Shutting Down" Status in Tray-App 
without re-Starting the monitoring (WIN 7) Computer?

On Fri, 30 Apr 2021, Jürgen Wege via Nut-upsuser wrote:

> Is there any "trick" how to tell the TRAY APP that the shutdown is 
> "over" and make it return to another (corrected) status WITHOUT re-booting?

If the tray app were part of for example Gnome, I would suggest restarting the 
app.  Is there a Windows 7 equivalent of sending SIGHUP to it?

If that doesn't do the job, try asking in a Win 7 forum.

Roger


___
Nut-upsuser mailing list
Nut-upsuser@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] How to reset "Shutting Down" Status in Tray-App without re-Starting the monitoring (WIN 7) Computer?

2021-05-01 Thread Roger Price

On Fri, 30 Apr 2021, Jürgen Wege via Nut-upsuser wrote:

Is there any "trick" how to tell the TRAY APP that the shutdown is "over" and 
make it return to another (corrected) status WITHOUT re-booting?


If the tray app were part of for example Gnome, I would suggest restarting the 
app.  Is there a Windows 7 equivalent of sending SIGHUP to it?


If that doesn't do the job, try asking in a Win 7 forum.

Roger___
Nut-upsuser mailing list
Nut-upsuser@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser


[Nut-upsuser] How to reset "Shutting Down" Status in Tray-App without re-Starting the monitoring (WIN 7) Computer?

2021-04-30 Thread Jürgen Wege via Nut-upsuser
>Hi a>ll,
>
[looks like I used an ol mailing list last time, so I try again]

>Question upfront (for those that do not want to read too much text about my 
>setup):
>
>
>Is there any "trick" how to tell the TRAY APP that the shutdown is "over" and 
>make it return to another (corrected) status WITHOUT re-booting?
>
>
Longer Version:

>I am using apcupsdd in a maybe slightly "unusual" setup.
>
>The UPS supplies multiple appliances (like router etc.) in my office: Router, 
>Switch, NAS, Workstation, and one "Server".
>
>The server, however, is a notebook - yes, you read right, a notebook. That 
>Notebook can run independently AFTER a shutdown of the UPS for another 4 hours 
>or so, with a bit more intelligence that I am due to install even maybe 8 
>hours or more. 
>
>The reason for that setup is that I had a number of "leftover" Notebooks and, 
>more significant, the server is used as a home automation server, so the 
>uptime of it should be almost continuosly even when longer power outages 
>appear, which, unfortunately (and one of the reasons for that setup) occours 
>multiple times per year in my region (Spain). The goal is that this server 
>wille running the longest appliance in the whole houshold.
>
>The shutdown of the UPS is NOT the problem. It occours after about 2 hours 
>when i am also working, after approx. 3-4 hours when I am on travels and 
>"minimum" charge is on the UPS. By monitoring everything thru the home server 
>there are even shutdowns / switch off's of other devices such as the NAS, Work 
>Station or directly attached storage in time to make best use of the UPS for a 
>very long "survival time" of the home server.
>
>THE ONLY problem I have is, that after a shutdown of the UPS (and in most 
>cases NOT a shutdown of the server), I cannot "correct" the status in the 
>tray, which, in case I am away, is a bit uncomfortable when accessing the 
>server via VNC.
>
>So therefor the question again: Any way to "reset" the status of the tray 
>without shutting down the machine running apcupsd?
>
>Thanks a lot to help me tweaking out that tiny "bug".
>
>Regards
>Jürgen
>
>
___
Nut-upsuser mailing list
Nut-upsuser@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser