search for: parse_status

Displaying 16 results from an estimated 16 matches for "parse_status".

2019 Jul 18
2
Another New User Question - Notify Script Not Running
2014 Oct 01
2
Socomec ITYS 3000 + Netvision upsmon output
...; 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.1 5.005340 get_var: myups at 127.0.0.1 / status 5.005504 parse_status: [] 5.005515...
2012 Sep 11
1
Back UPS ES and data stale with disconnected device
...2.168.10.200] 0.031200 Login on UPS [upsa at 192.168.10.200] failed - got [ERR ACCESS-DENIED] 0.046800 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 parse_status: [OL] 5.070009 parsing: [OL] 5.070009 ups_on_line: upsa at 192.168.10.200 (first time) 5.070009 Current power value: 1 5.085609 Minimum power value: 1 10.093218 pollups: upsa at 192.168.10.200 10.093218 get_var: upsa at 192.168.10.200 / status 10.093218...
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.
2017 Sep 17
4
building on Solus
...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: [OL] ? 25.005600??? pollups: defender at localhost...
2011 Jul 26
5
Problem with upsmon on x64 Windows
...er 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 module upsmon.exe, version 0.0.0.0, fault address 0x0000458f. My configuration: Some servers Windows 2003...
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 ----------------------------- -----------------------------
2016 Aug 05
1
NUT UPS Slave Not Shutting Down
...ontinue 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 Minimum power value: 1 10.231707 pollups: ups_genric at 192.168.16.116 10.231831 get_var: ups_genric at 192...
2007 Jan 18
0
Emulating a REPL in frontends
...om R_ReplDLLdo1() and friends, which could then be simplified to use this function, internally. Regards Thomas Friedrichsmeier -------------- next part -------------- /* print mode: 0: print if visible. 1: always print 2: never print */ SEXP R_DLLGenericEplDo1 (unsigned char *buffer, ParseStatus *parse_status, Rboolean set_last_sym_value, int print_mode, Rboolean do_toplevel_callbacks) { int c; ParseStatus status; SEXP value; SEXP rho = R_GlobalEnv; Rboolean wasDisplayed = FALSE; while((c = *buffer++)) { R_IoBufferPutc(c, &R_ConsoleIob); if(c == ';' || c == '\n...
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
...te 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 only the last value is returned, then everything seems okay and NUT never reports the issue? for...
2020 Jan 26
1
Timer doesn't appear to start
...00.38 MOFFF Jan 26 16:51:30 nutpi upscode2[453]: Communications with UPS lost: Empty value from UPS for UPDS 0060.00! Jan 26 16:51:34 nutpi upscode2[453]: Communications with UPS re-established I stopped the upsmon service and started manually with upsmon -DDD. Here is the output : 55.140869 parse_status: [OB] 55.141018 parsing: [OB] 55.141105 ups_on_batt: deltec-PRA1500 at localhost (first time) 55.141193 do_notify: ntype 0x0001 (ONBATT) 90.160602 Poll UPS [deltec-PRA1500 at localhost] failed - Data stale 90.160764 do_notify: ntype 0x0005 (COMMBAD) 90.160889...
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
...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.xxx.xxx.xxx 5.007759 get_var: ups at xxx.xxx.xxx.xxx / status 5.008277 parse_status: [OL] 5....
2012 Apr 16
2
Snmp-ups/netvision driver for Socomec UPS
...e /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_BATTERYSTATUS (.1.3.6.1.4.1.4555.1.1.1.1.2.1.0) and NETVISION_OID_OUTPUT_SOURCE (.1.3.6.1.4.1.4555.1.1.1.1.4...
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
2016 Jul 11
0
Proposal for technique to stop a timer at any moment
...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_alarm(); + if ( ! (strcmp(status,"0") == 0)) { /* See K&R p.53 */ + /* We have a SIGUSR1 */ +...