Displaying 20 results from an estimated 21 matches for "pollups".
2019 Jul 18
2
Another New User Question - Notify Script Not Running
2012 Sep 11
1
Back UPS ES and data stale with disconnected device
...killpower
0.015600 debug level is '5'
0.015600 Trying to connect to UPS [upsa at 192.168.10.200]
0.031200 Login on UPS [upsa at 192.168.10.200] failed - got [ERR ACCESS-DENIED]
0.031200 Current power value: 1
0.046800 Minimum power value: 1
5.054409 pollups: upsa at 192.168.10.200
5.054409 get_var: upsa at 192.168.10.200 / status
5.054409 Poll UPS [upsa at 192.168.10.200] failed - Data stale
5.070009 do_notify: ntype 0x0005 (COMMBAD)
5.070009 Communications with UPS upsa at 192.168.10.200 lost
5.085609 Current power...
2011 Apr 28
1
Problem with blazer_ser/megatec when upgrading to 2.6.0 from 2.4
...2.6.0
0.000000 UPS: munja at localhost (slave) (power value 1)
0.000153 Using power down flag file /etc/killpower
0.000261 debug level is '5'
0.001301 Trying to connect to UPS [munja at localhost]
0.002166 Logged into UPS munja at localhost
0.002184 pollups: munja at localhost
0.002197 get_var: munja at localhost / status
0.002279 Poll UPS [munja at localhost] failed - Driver not connected
0.002290 do_notify: ntype 0x0005 (COMMBAD)
0.002297 Communications with UPS munja at localhost lost
5.002588 pollups: munja at lo...
2014 Oct 01
2
Socomec ITYS 3000 + Netvision upsmon output
...0.000144 Using power down flag file /etc/killpower
0.000293 debug level is '5'
0.003999 Trying to connect to UPS [myups at 127.0.0.1]
0.004279 Can not connect to 127.0.0.1 in SSL, continue uncrypted
0.004588 Logged into UPS myups at 127.0.0.1
0.004826 pollups: myups at 127.0.0.1
0.004847 get_var: myups at 127.0.0.1 / status
0.005017 parse_status: []
0.005032 do_notify: ntype 0x0005 (COMMBAD)
0.005039 commbad
0.005212 Current power value: 1
0.005226 Minimum power value: 1
5.005315 pollups: myups at 127.0.0...
2017 Sep 16
3
Flatpak request
I am using NUT on Linux Mint with no issues. Installed from PPA.
However I have tried on 3 occasions to build from source for Solus 3 and
have had no luck.
Is there a possibility of NUT being built into a Flatpak so all
distributions can use it.
If it was available on Flathub it would be a simple and foolproof way of
installing it.
Many thanks for a great application.
2012 Sep 13
2
Early shutdowns and 2.6.5-1 package for Windows
...have found some issues I would like to report.
1. NOTIFYCMD parameter is not specified
NUT doesn't start UPSSCHED tool (as I remember, Linux version do it by
default).
2. PIPEFN parameter is invalid (its value is a file in non-existed
directory)
UPSMON logs an error:
25.222443 pollups: upsa at 192.168.10.200
25.229443 get_var: upsa at 192.168.10.200 / status
25.238444 Poll UPS [upsa at 192.168.10.200] failed - Data stale
25.248444 Current power value: 1
25.254444 Minimum power value: 1
Failed to connect to parent and failed to create parent: No error...
2016 Aug 05
1
NUT UPS Slave Not Shutting Down
...4 Trying to connect to UPS [ups_genric at 192.168.16.116]
0.226477 Can not connect to 192.168.16.116 in SSL, continue
uncrypted
0.228872 Login on UPS [ups_genric at 192.168.16.116] failed - got
[ERR ACCESS-DENIED]
0.229423 Current power value: 1
5.230023 pollups: ups_genric at 192.168.16.116
5.230164 get_var: ups_genric at 192.168.16.116 / status
5.231214 parse_status: [OL]
5.231348 parsing: [OL]
5.231415 ups_on_line: ups_genric at 192.168.16.116 (first time)
5.231482 Current power value: 1
5.231543...
2015 Oct 19
0
upsmon Poll UPS "Driver not connected" messages
...ged in terminals and send me emails once an hour. However, /var/log/messages is being filled with "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 clea...
2017 Sep 17
4
building on Solus
...lhost (master) (power value 1)
?? 0.000270??? Using power down flag file /etc/killpower
?? 0.000422??? debug level is '2'
?? 0.003814??? Trying to connect to UPS [defender at localhost]
?? 0.004327??? Login on UPS [defender at localhost] failed - got [ERR
ACCESS-DENIED]
?? 5.004467??? pollups: defender at localhost
?? 5.004630??? parse_status: [OL]
? 10.004764??? pollups: defender at localhost
? 10.004922??? parse_status: [OL]
? 15.005048??? pollups: defender at localhost
? 15.005208??? parse_status: [OL]
? 20.005319??? pollups: defender at localhost
? 20.005485??? parse_status:...
2011 Jul 26
5
Problem with upsmon on x64 Windows
...7:3116M
0.000000 UPS: apc at 192.168.4.8 (slave) (power value 1)
0.015625 Using power down flag file C:\killpower
0.015625 debug level is '4'
0.015625 Trying to connect to UPS [apc at 192.168.4.8]
0.078125 Logged into UPS apc at 192.168.4.8
0.078125 pollups: apc at 192.168.4.8
0.078125 get_var: apc at 192.168.4.8 / status
0.078125 parse_status: [OL]
0.078125 parsing: [OL]
0.078125 ups_on_line: apc at 192.168.4.8 (first time)
After it upsmon closing with error.
Faulting application upsmon.exe, version 0.0.0.0, faulting modu...
2012 Sep 19
1
New intermediate Windows binaries release - 2.6.5-3
?Hello,
There is a new intermediate Windows binaries release available at :
http://www.networkupstools.org/package/windows/NUT-Installer-2.6.5-3.msi
This fixes a regression about stopping the NUT service.
Feedback is highly appreciated.
Regards,
Fred
--
Eaton Opensource Team - http://opensource.eaton.com
-----------------------------
-----------------------------
2011 Jan 13
1
SSL certificate verification with OpenSSL in NUT trunk
Hi all,
After client's certificate verifications discussion in the mailing-list,
I have done some tests with nut trunk and - if my config is not too bad
- I think ther is a bug with server certificate verification.
With a clean trunk checkout, compile and installation; and with the
following config :
upsmon.conf:
CERTPATH /usr/local/ups/etc/cert/
CERTVERIFY 1
FORCESSL 1
Upsd.conf:
CERTFILE
battery not installed, but battery still 100% and NUT 2.7.2-4 does not catch this and report a error
2017 Apr 03
4
battery not installed, but battery still 100% and NUT 2.7.2-4 does not catch this and report a error
.../etc/killpower
0.002126 debug level is '3'
0.005831 Init SSL without certificate database
0.011754 Trying to connect to UPS [apc1500 at localhost]
0.013150 Can not connect to localhost in SSL, continue uncrypted
0.013909 Logged into UPS apc1500 at localhost
0.014384 pollups: apc1500 at localhost
0.014501 get_var: apc1500 at localhost / status
0.014889 parse_status: [ALARM OL]
0.015012 parsing: [ALARM]
0.015100 parsing: [OL]
0.015181 ups_on_line: apc1500 at localhost (first time)
notice the value of parsing, first it is ALARM, and then OL. But if...
2012 Aug 30
1
Data stale and Back UPS ES
...killpower
0.022001 debug level is '5'
0.026001 Trying to connect to UPS [upsa at 192.168.10.200]
0.039002 Login on UPS [upsa at 192.168.10.200] failed - got [ERR
ACCESS-DENIED]
0.044002 Current power value: 1
0.047002 Minimum power value: 1
5.049289 pollups: upsa at 192.168.10.200
5.055289 get_var: upsa at 192.168.10.200 / status
5.064289 Poll UPS [upsa at 192.168.10.200] failed - Data stale
5.075290 do_notify: ntype 0x0005 (COMMBAD)
5.083290 Communications with UPS upsa at 192.168.10.200 lost
...
What should I check to...
battery not installed, but battery still 100% and NUT 2.7.2-4 does not catch this and report a error
2017 Apr 03
4
battery not installed, but battery still 100% and NUT 2.7.2-4 does not catch this and report a error
On 03/04/17 17.24, Roger Price wrote:
> On Mon, 3 Apr 2017, Jon Bendtsen wrote:
>
>> On 03/04/17 17.10, Roger Price wrote:
>>> On Mon, 3 Apr 2017, Jon Bendtsen wrote:
>>>
>>>> Power seem to be lost immediately.
>>>> But my APC Smart-UPS 1500 always reported everything OK.
>>>> battery.charge : 100
>>> ...
2019 Jun 08
2
How to shutdown macOS / mac OSX from Network UPS Tools client - NUT
...: No such process
0.000000 UPS: ups at xxx.xxx.xxx.xxx (slave) (power value 1)
0.000319 Using power down flag file /etc/killpower
0.000603 debug level is '3'
0.004081 Trying to connect to UPS [ups at 192.168.86.242]
0.006152 Logged into UPS ups at xxx.xxx.xxx.xxx
0.006166 pollups: ups at xxx.xxx.xxx.xxx
0.006189 get_var: ups at xxx.xxx.xxx.xxx / status
0.006566 parse_status: [OL]
0.006590 parsing: [OL]
0.006596 ups_on_line: ups at xxx.xxx.xxx.xxx (first time)
0.006603 Current power value: 1
0.006608 Minimum power value: 1
5.007706 pollups: ups at xxx...
2012 Apr 16
2
Snmp-ups/netvision driver for Socomec UPS
...00000 UPS: socomec at localhost (master) (power value 1)
0.000090 Using power down flag file /etc/killpower
0.000213 debug level is '3'
0.000705 Trying to connect to UPS [socomec at localhost]
0.001065 Logged into UPS socomec at localhost
0.001127 pollups: socomec at localhost
0.001137 get_var: socomec at localhost / status
0.001186 parse_status: []
0.001209 do_notify: ntype 0x0005 (COMMBAD)
0.001220 Communication with the UPS is lost
In netvision-mib.c I see that ups.status field is constructed from
NETVISION_OID_B...
2020 Jan 26
1
Timer doesn't appear to start
...stale
90.160764 do_notify: ntype 0x0005 (COMMBAD)
90.160889 Communications with UPS deltec-PRA1500 at localhost lost
90.160889 Communications with UPS deltec-PRA1500 at localhost lost
90.162235 Current power value: 1
90.162541 Minimum power value: 1
95.162828 pollups: deltec-PRA1500 at localhost
95.163045 get_var: deltec-PRA1500 at localhost / status
95.164228 parse_status: [OB]
95.164385 do_notify: ntype 0x0004 (COMMOK)
95.164502 Communications with UPS deltec-PRA1500 at localhost established
160.214327 ups_on_line: deltec-PRA...
2016 Jul 11
0
Proposal for technique to stop a timer at any moment
...upsname;
+ numq = 2;
+ }
+ if (strcmp(var, "SIGUSR2") == 0) {
+ query[0] = "SIGUSR2";
+ query[1] = ups->upsname;
+ numq = 2;
+ }
+
if (!strcmp(var, "status")) {
query[0] = "VAR";
query[1] = ups->upsname;
@@ -1518,7 +1530,25 @@ static void pollups(utype_t *ups)
if (get_var(ups, "status", status, sizeof(status)) == 0) {
clear_alarm();
parse_status(ups, status);
- return;
+ /* All is well, continue to poll SIGUSR1 RP */
+ set_alarm();
+ if (get_var(ups, "SIGUSR1", status, sizeof(status)) == 0) {
+ clear...
2015 Oct 21
2
Quiet upsmon /var/log/messages chatter
I use the NUT RPM package for CentOS 6.7, which is version 2.6.5-2.
I am testing implementation of NUT features with APC and Tripp-Lite USB UPS interfaces. Things are going reasonably well. However, I'm seeing many more messages than I would like in /var/log/messages when I boot the system without the UPS connected (testing a failure scenario). I have configured NOCOMMWARNTIME 3600, which