Displaying 6 results from an estimated 6 matches for "ups_password".
Did you mean:
pw_password
2006 Jun 25
1
UPS quotes via shipping gem
...l''s returned for price, wondering what i''m missing. to avoid all
confusion i included the account/login in the instantiation (sub with
real values).
@ups = Shipping::UPS.new :ups_account => ''7B4F74E3075AEEFF'', :ups_user
=> ''username'', :ups_password => ''password'', :zip => 92064, :sender_zip
=> 19122, :weight => 2
the fake UPS account number looks nuts, mine is only 6 character long.
any insight would be much appreciated. thanks.
--
Posted via http://www.ruby-forum.com/.
2005 Apr 27
1
Ruby Shipping
...ult values, setup a file
called .shipping.yml in the home directory of the user who will be
using this library. An example file would be:
fedex_url: https://url/to/fedex/api
fedex_account: 1234556
fedex_meter: 387878
ups_account: 7B4F74E3075AEEFF
ups_user: username
ups_password: password
You can set as many default values as you would like in this file.
require ''shipping''
ups = Shipping::UPS.new :zip => 97202, :sender_zip => 10001,
:weight => 2
ups.price => 8.77
ups.valid_address? => false
ups.city = "Por...
2023 Jun 11
1
Upssched 100% CPU after updating Debian 12
...word = xxx
upsmon primary
actions = set
actions = fsd
instcmds = all
[upsslave]
password = xxx
upsmon secondary
---------------------------------------------------
upssched-cmd
#! /bin/bash
UPS="eaton5s"
UPS_USERNAME="upsmaster"
UPS_PASSWORD="xxx"
EMAIL_TO=xxx at xxx.xxx<mailto:xxx at xxx.xxx>
EMAIL_FROM=xxx at xxx.xxx<mailto:xxx at xxx.xxx>
STATUS=`upsc $UPS ups.status 2>&1 | grep -v '^Init SSL'`
CHARGE=`upsc $UPS battery.charge 2>&1 | grep -v '^Init SSL'`
CHMSG="[$STATUS]:$CHAR...
2024 Feb 23
0
Getting two notifications of nocomm-timer expired when USB cable is pulled from the UPS
...???????? cat /etc/nut/shutdown.txt >>/etc/nut/logfile
?????????????? msmtp -t dan.grostick at outlook.com </etc/nut/shutdown.txt
;;
?????????????? beeperon)
?????????????? logger -t upssched-cmd: "Turning?? beeper on"
?????????????????????????????? upscmd -u ${UPS_USERNAME} -p ${UPS_PASSWORD} ${UPS} beeper.enable
;;
?????????????? beeperoff)
?????????????? CSTATUS=`upsc ${UPS} ups.beeper.status 2>&1`
?????????????? if [ "${CSTATUS}" == "enabled" ] ; then
?????????????? logger -t upssched-cmd: "Turning beeper off"
?????????????????????????????? upsc...
2023 Jun 13
1
Upssched 100% CPU after updating Debian 12
...upsmon primary
actions = set
actions = fsd
instcmds = all
[upsslave]
password = xxx
upsmon secondary
---------------------------------------------------
upssched-cmd
#! /bin/bash
UPS="eaton5s"
UPS_USERNAME="upsmaster"
UPS_PASSWORD="xxx"
EMAIL_TO=xxx at xxx.xxx<mailto:xxx at xxx.xxx>
EMAIL_FROM=xxx at xxx.xxx<mailto:xxx at xxx.xxx>
STATUS=`upsc $UPS ups.status 2>&1 | grep -v '^Init SSL'`
CHARGE=`upsc $UPS battery.charge 2>&1 | grep -v '^Init SSL'`
CHMSG="[$STATUS]:...
2023 Jun 13
1
Upssched 100% CPU after updating Debian 12
...upsmon primary
actions = set
actions = fsd
instcmds = all
[upsslave]
password = xxx
upsmon secondary
---------------------------------------------------
upssched-cmd
#! /bin/bash
UPS="eaton5s"
UPS_USERNAME="upsmaster"
UPS_PASSWORD="xxx"
EMAIL_TO=xxx at xxx.xxx<mailto:xxx at xxx.xxx>
EMAIL_FROM=xxx at xxx.xxx<mailto:xxx at xxx.xxx>
STATUS=`upsc $UPS ups.status 2>&1 | grep -v '^Init SSL'`
CHARGE=`upsc $UPS battery.charge 2>&1 | grep -v '^Init SSL'`
CHMSG="[$STATUS]:...