Displaying 20 results from an estimated 212 matches for "apcsmart".
2013 Jan 30
3
bug report: apcsmart (WIN) 940-0024C connect fail, problem with command 'E'
...o be switching off/on (resetting) the UPS. I would like to
suggest to update NUT with a compatibility entry for firmware 6JI without
command 'E'. However, command 'T' reports the UPS power on hours in decimal
format xxx.x
Thank you in advance,
Markus Pruehs
ups.conf:
[600LS]
driver=apcsmart
port=COM1
C:\Programme\NUT\bin>apcsmart -a 600LS -DDDDD
0.000000 debug level is '5'
0.000000 w32_serial_open (COM1)
0.010014 setting initial state on COM1
0.010014 000007D0 = w32_serial_open (COM1)
0.010014 Warning: no locking method is available: No e...
2014 Jan 14
2
Unable to detect an APC Smart protocol UPS. Windows. APC Smart protocol driver 3.04 (2.6.5-3723:3731M)
...ello.
Trouble to communicate with APC SmartUPS via serial port.
UPS connected to the com1 port on windows host.
Communication witch hyperterm works well.
There is a log:
YSM
^ASmart-UPS SC1000
n5S0713T63247
m03/29/07
L240.0
B27.10
apcupsd also can communicate with the UPS and works well.
running apcsmart -a ups gives the following:
com1: device reports different attributes than what were set
unable to detect an APC Smart protocol UPS on port com1
check the cabling, port name or model name and try again
ups.conf:
[ups]
driver=apcsmart
port=com1
cable=940-0095B
desc="test"
Sysinterna...
2009 Jun 25
1
Runaway apcsmart process
On several occasions I have seen the apcsmart process runaway using 100% CPU
while filling my syslog partition by logging the following syslog entries at
an incredible rate. I have seen up to 21,800 log entries PER SECOND of the
following nature:
--[snip]--
Jun 25 10:06:38 servername apcsmart[4012]: Communications with UPS lost:
Communicatio...
2011 Mar 05
19
[RFC apcsmart V3 00/18] apcsmart driver updates
Sorry for a bit longer delay than I anticipated, I was stuffed with the work.
This is the next iteration of the patch adding some functionality to apcsmart
driver, and relying on 'ignorelb' recently added.
Follow up from previous thread:
http://www.mail-archive.com/nut-upsdev at lists.alioth.debian.org/msg02331.html
Main differences is that V3 is split into many small patches, so the reviewing
changes should be much easier. There're al...
2007 Jul 31
1
Proposed apcsmart driver patch
G'day y'all,
Here's a tiny patch set for drivers/apcsmart.c and drivers/apcsmart.h.
Adds APC SmartUPS 1250 ("8QD" case) + 940-0024C recognition to
apcsmart. (Unpatched apcsmart.c v1.99.8 misidentifies the SmartUPS
1250 as a "dumb" UPS.) For NUT 2.0.5+.
NUT 2.0.5: Patches apply successfully. Builds successfully. Works as
expected u...
2014 Jan 14
0
Unable to detect an APC Smart protocol UPS. Windows. APC Smart protocol driver 3.04 (2.6.5-3723:3731M)
...; UPS connected to the com1 port on windows host.
> Communication witch hyperterm works well.
> There is a log:
>
> YSM
> ^ASmart-UPS SC1000
> n5S0713T63247
> m03/29/07
> L240.0
> B27.10
>
> apcupsd also can communicate with the UPS and works well.
>
> running apcsmart -a ups gives the following:
>
> com1: device reports different attributes than what were set
> unable to detect an APC Smart protocol UPS on port com1
> check the cabling, port name or model name and try again
>
All issues related to certain sanity checks (and some misbehaviour)
wh...
2016 Jun 27
2
query "Data stale" from the cmdline
...nformation, but not if the data is stale.
you are right. The exit code is exactly what I need for nagios monitoring.
When I invoke upsc multiple times, the data is sometimes stale, sometimes not.
Current log output (I specifically didn't fix the issue yet):
Jun 27 14:56:08 server upsd: UPS [apcsmart] data is no longer stale
Jun 27 14:56:08 server upsd[3123]: UPS [apcsmart] data is no longer stale
Jun 27 14:56:24 server upsd[3123]: Data for UPS [apcsmart] is stale - check driver
Jun 27 14:56:24 server upsd: Data for UPS [apcsmart] is stale - check driver
Jun 27 14:56:36 server upsmon: Poll UPS...
2011 Mar 21
2
apcsmart question
...own methods, to make them easily
callable through e.g. upscmd (for example for testing).
Is it acceptable to add certain commands specific only to some driver
and documented in its manual page (but otherwise meaningless for the
rest of the drivers) ? Say with (in this case) a driver prefix, e.g.:
apcsmart.shutdown.grace (@nnn)
apcsmart.shutdown.grace.h (@nn)
apcsmart.shutdown.cs (force OB (U), then shutdown.return (S) - aka 'CS hack')
apcsmart.firmware.old (V)
If not - how should I approach this ?
2011 May 27
0
quick update
...> mailing list, I saw a compatibility layer for stuff not exisiting in mingw
> (I think) - such as tcsetattr, etc. How it works in practice is of course
> entirely different matter, but it's not like there's some difficult magic
> being
> done with serial ports either (be it apcsmart or other serial drivers).
>
> Either way, from what I can see - function I currently use for reading
> from ups should be icanon-agnostic, with major difference being billion
> selects vs. 1
>
> Overall, the code changes on my side so far:
>
> 01:12 > git diff --stat ^99e...
2013 Jun 13
2
Battery runtime not displaying
Hello,
I just upgraded to Network UPS Tools upsstats 2.6.4 on Debian wheezy and noticed that it does not show the battery runtime anymore, the field is simply empty. It used to work before with NUT 2.4.1. Does anyone know what could be wrong?
I am using the apcsmart UPS driver.
Thanks,
M.L.
2013 Jun 14
0
Battery runtime not displaying
...013, at 7:14 AM, ML mail wrote:
> I just upgraded to Network UPS Tools upsstats 2.6.4 on Debian wheezy and noticed that it does not show the battery runtime anymore, the field is simply empty. It used to work before with NUT 2.4.1. Does anyone know what could be wrong?
>
> I am using the apcsmart UPS driver.
The apcsmart driver was overhauled, and in 2.6.x, the previous one is available as apcsmart-old: just change the driver name in ups.conf, and restart upsd and the driver.
We would eventually like to have the new apcsmart driver replace the old one completely, so could you please capt...
2009 Feb 27
0
support for APC Matrix 5000, vintage 12/00 (was: NUT apcsmart driver - firmware addition)
Hey Jarett,
2009/2/24 <jarett.stevens at usermail.com>
> After upgrading to the 2.4.1 version, I wasn't able to read as many
> variables from my UPS. After a bit of experimentation, I determined that
> the firmware on my UPS was different than what is currently in the
> apcsmart driver, though it had worked before. I located my firmware
> version (5ZM), and added in with the other APC Matrix entries; now
> everything works as expected!
>
>
> $ diff -u apcsmart.c.orig apcsmart.c
> --- apcsmart.c.orig Tue Feb 24 14:00:34 2009
> +++ apcsmart.c Tue...
2011 Mar 12
2
[RFC/PREVIEW] Move apcsmart driver to canonical processing + minor stuff
Inital tests with two apc units (2005 and pre-2000) seem to go well. See commit
message for details. I'll add more detailed rationale after getting some sleep :)
Michal Soltys (1):
apcsmart: switch processing to ICANON + minor fixes
drivers/apcsmart.c | 270 +++++++++++++++++++++++++++++++++++-----------------
drivers/apcsmart.h | 127 ++++++++++++++++---------
2 files changed, 267 insertions(+), 130 deletions(-)
--
1.7.2.1
2013 Jun 14
1
Battery runtime not displaying
Thanks for the help, with the apcsmart-old driver it works again! Didn't notice my UPS is now so "old" ;-)
Here is the output of upsc with apcsmart-old driver:
battery.alarm.threshold: 0
battery.charge: 100.0
battery.charge.restart: 00
battery.date: 11/22/06
battery.packs: 001
battery.packs.bad: 000
battery.runtime: 540...
2013 Aug 10
0
apcsmart dev branch
...feedback would be most welcome.
Apparently, a lot of people are using NUT via packages, so:
* users might not want to build from source if things are working
* the packagers might not pick up a 2.7.x dev version, or it might be a while before it gets much use
* users can always fall back on apcsmart-old
Not much we can do about the first two points, but if you want, we can put a big warning in the apcsmart-old banner that it will eventually go away, and they should report any bugs encountered with the new apcsmart driver.
IMHO, we have to balance the hassle of users upgrading against the bur...
2008 Dec 12
1
APC Backups-Pro 650 - Any way to use apcsmart?
...to move my APC
BP650 from apcupsd to nut so that all 3 servers would be monitored on the same
web interface. The APC is attached to an older box running openSuSE 11.0 with
nut-2.2.2-66.1. (nut-classic).
The APC BP650 uses a serial connection through the 940-0095A and with apcupsd
it uses the 'apcsmart' driver quite happily. However, with nut, I can only get
it to work with the genericups upstype=1 driver, but not the apcsmart driver.
Here is my ups.conf configs that I have tried:
with genericups (working):
[nemesis_ups]
driver = genericups
upstype = 1
port = /dev/...
2013 Aug 09
2
apcsmart dev branch
Hi,
The devel branch has some long standing updates implemented - mostly a
result from past bug/issue reports. Among those:
- selectable normal / canonical mode (useful in windows and perhaps with
some problematic usb/rs cards)
- some compat entries
- certain (old) class of psus returning something else through 'b'
treated as a whole set
- can handle mutlivalue entries (e.g.
2013 Aug 09
2
apcsmart dev branch
Hi,
The devel branch has some long standing updates implemented - mostly a
result from past bug/issue reports. Among those:
- selectable normal / canonical mode (useful in windows and perhaps with
some problematic usb/rs cards)
- some compat entries
- certain (old) class of psus returning something else through 'b'
treated as a whole set
- can handle mutlivalue entries (e.g.
2006 Nov 25
2
patch for old APC Smart-UPS 600
Hi there,
I am using an old (really old) APC Smart-UPS 600. It worked fine
under apcupsd but when I tried NUT it did not work.
The error I was getting was:
sudo /lib/nut/apcsmart -DDD /dev/ttyS1
Network UPS Tools (version 2.0.4) - APC Smart protocol driver
Driver version 1.99.8, command table version 2.0
debug level is '3'
Attempting firmware lookup
Firmware: [D4]
Not found in table - trying normal method
APC - Attempting to find command set
APC - Parsing ou...
2009 Jul 09
1
apcsmart and dual environmental sensors
Hi,
We have a several AP9612TH environmental cards (they have 2 probe
connectors) inserted into our APC UPS devices which monitor temperature
and humidity. The apcsmart nut module knows how to query the
ambient.temperature and ambient.humidity using the 't' and 'h' commands
of the UPS (refer to apcsmart.h). The results of the 't' and 'h'
commands are from probe 1.
If you submit via the serial port the commands 'T' and '...