search for: get_vars

Displaying 20 results from an estimated 24 matches for "get_vars".

Did you mean: get_var
2006 Apr 19
1
Flash, Rails, and Routes
...wsers but Win/IE. I''m wondering if it has to do with some directory/security sandbox bug in IE''s handling of Flash, coupled with Rail''s routing. Below are some examples. Keep in mind that the .swf file is in the /public directory. The data is coming from the ''get_vars'' action in the ''view'' controller. The following Actionscript works in Firefox, Opera, the new IE beta, etc: data.load(''/view/get_vars'', data, ''GET''); And if I set up this route in Rails: map.connect ''get_vars'', :co...
2012 Sep 11
1
Back UPS ES and data stale with disconnected device
Hello NUT Team! I continue playing with NUT for Windows and USBHID-UPS driver I've got from Frederic to fix "Data Stale" problem. It seems there is something wrong when Network UPS Tools service is starting with disconnected USB cable. UPSMON is writing "Data Stale" to output and continue do it infinitely, even the cable is connected back. Here is a short log: Network
2006 Jan 04
1
Nut 2.0.1, net-snmp-5.1.2p2, APC SUA1000 with AP9606: repeated comm lost/established messages
Hello list members, I am running NUT 2.0.1 on an OpenBSD 3.8 system, using the OpenBSD port for net-snmp-5.1.2p2. The UPS is connected via an AP9606 Web/SNMP card with current firmware, and the LAN. All goes well for a long time, usually more than one month. Then the system starts spitting messages about losing communications with the UPS. A second message about reconnecting follows immediately.
2011 Apr 28
1
Problem with blazer_ser/megatec when upgrading to 2.6.0 from 2.4
Hello First things first, thanks for great work with NUT. For years I used Informer compact 3kVA UPS http://www.informups.com/informer_compact.html with nut/megatec serial driver, but it stopped working when I switched to blazer_ser with 2.6.0 upgrade. I'm using 2.6.0 on gentoo. Blazer_ser seems to connect with UPS, but upsmon reports driver not connected. uname -a Linux localhost
2014 Oct 01
2
Socomec ITYS 3000 + Netvision upsmon output
Hi, I have UPS Socomec ITYS 3000 with Netvision card. OS is Centos 6.5 64-bit. NUT installed with yum,. nut-2.6.5-2.el6.x86_64 nut-client-2.6.5-2.el6.x86_64 Why is ups.status empty? Here is upsc output: upsc myups at localhost battery.charge: 97.00 battery.runtime: -60.00 battery.voltage: -0.10 device.mfr: Net Vision v6.01 (SN 0101414290) device.model: ITYS 3 kVA device.serial: 3I14450043
2016 Aug 05
1
NUT UPS Slave Not Shutting Down
Hello All, I'm trying to establish a MASTER SLAVE configuration of UPS using NUT Driver. I'm able to shutdown the master after UPS is on BATTERY ( POWER BLACKOUT) .However I'm trying to shutdown the other SLAVE MACHINES BEFORE MASTER. But at the remote side ( Slaves ) shutdown after UPS blackout does not happen. My configuration in Master are /usr/etc/upsd.users
2007 Aug 28
1
deadagi and billsec or answeredtime
Hello, I want to create php rate script and I'm using Deadagi. But I allways get billsec 0 , or nothing. Can you help me to solve this problem... My extension.conf: exten => _123,1,DeadAgi(rate.php) exten => _123,2,hangup And my simple test php script rate.php #!/usr/local/bin/php -q <?php include_once (dirname(__FILE__)."/phpagi.php"); $AGI = new AGI();
2012 Sep 13
2
Early shutdowns and 2.6.5-1 package for Windows
Hello NUT Team! I am testing the early shutdowns in NUT 2.6.5-1 package for Windows (Windows 7 x64). My configuration files: upsmon.conf RUN_AS_USER upsmon MONITOR upsa at 192.168.10.200 1 upsmon pass master MINSUPPLIES 1 SHUTDOWNCMD "/sbin/shutdown -h +0" NOTIFYCMD "upssched.exe" POLLFREQ 5 POLLFREQALERT 5 HOSTSYNC 15 DEADTIME 15 POWERDOWNFLAG
2011 Jul 26
5
Problem with upsmon on x64 Windows
Hello! I try use NUT on some servers. When i use this package on x64 Windows 2003 servers, upsmon hangs on with error: Faulting application upsmon.exe, version 0.0.0.0, faulting module upsmon.exe, version 0.0.0.0, fault address 0x0000458f. I try use another server, on 32-bit all is ok. Problem only on x64 platform (maybe in libusb)? And no different - upsmon master or slave. C:\Program Files
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 Jul 11
0
Proposal for technique to stop a timer at any moment
Here is patch 1 of 2. Roger diff -rup nut-2.7.4.orig/clients/upsmon.c nut-2.7.4.dev/clients/upsmon.c --- nut-2.7.4.orig/clients/upsmon.c 2015-12-29 13:08:34.000000000 +0100 +++ nut-2.7.4.dev/clients/upsmon.c 2016-07-01 09:46:21.567766415 +0200 @@ -525,6 +525,18 @@ static int get_var(utype_t *ups, const c numq = 2; } + /* Subcommands for polling SIGUSR1, SIGUSR2 RP */ + if (strcmp(var,
2006 Jan 26
1
newhidups (2.03-pre2) not working with APC Back-UPS 500
Hi there, I'm trying to track down a problem with said combination. Broadcast message from nut (Thu Jan 26 13:22:06 2006): Communications with UPS UPS@localhost lost Broadcast message from nut (Thu Jan 26 13:22:11 2006): UPS UPS@localhost is unavailable "newhidups -DDD hiddev0" seems happy enough, as does "upsd -DDD -f" - at least until I start upsmon. Then I
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
Hi debian jessie, nut 2.7.2-4 APC Smart-UPS 1500 connected through USB, running nut driver usbhid-ups This UPS powers my switches, internet connection and my monitor server that monitors this and my other UPSes + runs smokeping and nagios. But recently a powerloss seemed to have shutdown my monitor PC immediately, so it did not shut down the other servers cleanly. Power seem to be lost
2012 Aug 30
1
Data stale and Back UPS ES
Hello! I tried NUT 2.6.5-1 (Windows port) with my APC Back UPS ES. It seems I have configured NUT properly, nut-scanner found my UPS: [nutdev1] driver = "usbhid-ups" port = "auto" vendorid = "051D" productid = "0002" product = "Back-UPS ES 525 FW:851.t3.I USB FW:t3" serial = "8B0745R23575
2019 Jun 08
2
How to shutdown macOS / mac OSX from Network UPS Tools client - NUT
Hi, I’ve posted my question on Superuser.com but not had any replies in 2 weeks, so I guess no-one there knows anything about NUT. https://superuser.com/questions/1441153/how-to-shutdown-macos-mac-osx-from-network-ups-tools-client-nut <https://superuser.com/questions/1441153/how-to-shutdown-macos-mac-osx-from-network-ups-tools-client-nut> I’m looking for help in shutting down my iMac on
2012 Apr 16
2
Snmp-ups/netvision driver for Socomec UPS
Hello We have an Socomec Sicon Netys PR3000 UPS equipped with NetVision Web/SNMP adaptor. I try to monitor the ups using snmp-ups driver and netvision mibs set. The snmp-ups driver starts correctly and connects to the UPS, upsd confirms it, but upsmon constantly shows "No communication" error I think the cause is the SNMP adapter reports the UPS status as "ECO mode"
2004 Sep 15
0
AGI didn't get var from Asterisk?
Dear All, Just hope your guys out there can help me through..since I've been playing for serval hours....and still not able to resolve it... The workflow as I've created an .call file for Asterisk to call out and it's working fine with outdial, passing variable to asterisk..But the problem is when the calls reached Context and execute AGI script, the script didn't get any
2007 Jan 04
2
Re: [nut-Patches][303751] Checking UPS Temperature
One disadvantage of handling it through a script is that is will not be done by default. Most users probably don't know about the problem of burning batteries, as it is not very common. A potential problem with Eric Wilde's patch is that it is not general enough; some UPS models have an boolean OVERHEAT flag although they don't report the actual temperature. So the UPSOVERTEMP
2005 Oct 13
1
AGI Variable problem
Hello all, I try to use a agi script to get a variable from * und put them into a script which gives me another variablke and put this in *. My problem is now it seems the var ID is empty coz i always jump into the result 0 loop. The $MSN should be in the SetCIDNum. #!/usr/bin/php -q <?php include("/var/lib/asterisk/agi-bin/phpagi.php"); $agi = new AGI(); $ID =
2020 Jan 26
1
Timer doesn't appear to start
I have a Raspberry PI that I have connected to a Deltec UPS via serial (upscode2 driver). I had an older version of Rasbian running. The nut configuration worked fine but I had mail issues I couldn't resolve when gmail changed how it handled MTAs. Plus it was running an old version of Deb that is no longer supported. It was broken enough I could not upgrade to a never version so I started from