Displaying 20 results from an estimated 36 matches for "ntype".
Did you mean:
type
2006 Jun 26
0
DBI question. How do I load a database with data parsed from REXML?
I wrote a rexml script that parses rather big xml files (DOM parsing) and
builds an object out of them. This is what it looks like after i parse the
xml file and display the object:
[#<Article:0xb79e7428 @brand="This is a story from ", @id=5337,
@fblurb="burb", @ntype="news type here", @copy="Copyright \302\251 2006 ",
@source="source", @body="body", @archive=nil, @att="attribution here",
@blurb="Signs and symptoms of food poisoning", @post=nil, @fimage=nil,
@head="Health Tip: Eaten Bad Food?"...
2012 Sep 11
1
Back UPS ES and data stale with disconnected device
...[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 value: 1
5.085609 Minimum power value: 1
10.097895 pollups: upsa at 192.168.10.200
10.097895 get_var: upsa at 192.168.10.200 / status
10.097895 Poll UPS [upsa...
2006 May 08
1
finding centroids of clusters created with hclust
Hello,
Can someone point me to documentation or ideas on how to calculate the
centroids of clusters identified with hclust ?
I would like to be able to chose the number of clusters (in the style of
cutree) and then get the centroids of these clusters.
This seems like a quite obvious task to me, but I haven't been able to
put my hands on a relevant command.
Thank you,
Moritz
2010 Apr 07
1
Struggeling with svydesign()
...get an error: "a stratum has only 1 PSU". Shouldn't we get the same
error with the code above?
#with finity population correction
svydesign(
id = ~ 1, #no clustering
weights = ~ Area, #weighted by the area of the polygon
strata = ~ Status + Block + Type,
fpc ~ nStatus + nBlock + nType,
nest = TRUE
)
#We are not sure what to use for nStatus, nBlock and nType. Is it the
number of levels of that stratum (nStatus = 2)? The number of levels in
the stratum below (nStatus = length(unique(Block)) per level of Status,
nType = number of polygons per Status:Block:Type)? The total number o...
2020 Jan 26
1
Timer doesn't appear to start
...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 Communications with UPS deltec-PRA1500 at localhost lost
90.160889 Communications with UPS deltec-PRA1500 at localhost lost
90.16223...
2011 Apr 28
1
Problem with blazer_ser/megatec when upgrading to 2.6.0 from 2.4
...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 localhost
5.002617 get_var: munja at localhost / status
5.002758 Poll UPS [munja at localhost] failed - Driver not connected
5.002771 do_notify: ntype 0x0008 (NOCO...
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
-----------------------------
-----------------------------
2006 Jun 24
1
Parsing XML with REXML problem
Why can it not find my object? What am i missing here? Here is my code:
require ''rexml/document''
include REXML
# classes to represent the objects and relationships in the xml file
class Article
attr_accessor :id, :post, :archive, :ntype, :head, :blurb, :body,
:fblurb, :fimage, :att, :source, :copy, :brand
end
# the base parser
class BaseXMLParser
def initialize(filename)
@raw_xml = File.open(filename).read
@newsfeed = []
end
end
# DOM-based parsing
class FeedXMLParser < BaseXMLParser
def get_newsfeed
doc =...
2016 Aug 05
1
NUT UPS Slave Not Shutting Down
...10.231707 pollups: ups_genric at 192.168.16.116
10.231831 get_var: ups_genric at 192.168.16.116 / status
10.232861 parse_status: [OB DISCHRG]
10.232975 parsing: [OB]
10.233051 ups_on_batt: ups_genric at 192.168.16.116 (first time)
10.233124 do_notify: ntype 0x0001 (ONBATT)
10.233190 UPS ups_genric at 192.168.16.116 on battery
10.233659 get_var: ups_genric at 192.168.16.116 / battery
10.234684 parsing: [DISCHRG]
10.234801 Current power value: 1
10.234866 Minimum power value: 1
sh: wall: not found
1...
2005 Dec 19
1
Upsmon problem
...Here is the message I receive from the Debug:
rounoff:/var/run/nut# upsmon -D
Network UPS Tools upsmon 2.0.2
UPS: bup@localhost (master) (power value 1)
Using power down flag file /etc/killpower
Trying to connect to UPS [bup@localhost]
UPS [bup@localhost]: connect failed: No such host
do_notify: ntype 0x0005 (COMMBAD)
Communications with UPS bup@localhost lost
I found that if I put the -p it work but i'm not sure of what that's
implying.
Any clues of how to fix that problem ? Where to look?
Thanks in advance
--
Mathieu Bruneau
aka ROunofF
===
GPG keys available @ http://rounoff.dark...
2011 Aug 27
1
hopelessly overdispersed?
...ell as of feeding guild, nest placement, nest
type and foragig strata as factors. I hope to model with these variables
the preference of primary forests (#successes) by certain bird species.
My code therefore looks like:
y<-cbind(n_forest,n_trials-n_forest)
model<-glm(y~range+body+nstrata+ntype+forage+feed,family=quasibinomial(link=logit),data=dat)
however plausible the approach may look, overdispersion is prevalent
(dispersion estimated at 6.5). I read up on this and learned that in
case of multiple factors, not all levels may yield good results with
logistic regression (Crawley &quo...
2014 Oct 01
2
Socomec ITYS 3000 + Netvision upsmon output
...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 do_notify: ntype 0x0008 (NOCOMM)...
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
2011 Jun 28
3
Changes to upscli_connect
Hello,
I am currently working on the nut scanner. For detecting available upsd
on the network, I rely on upscli_connect. The problem with this function
is that it calls a blocking "connect" function. So the nut-scanner is
blocked while waiting for the TCP timeout when trying to connect to an
IP without upsd available . Since this timeout may be rather long (3
minutes on my host), I
2006 Jan 04
1
Nut 2.0.1, net-snmp-5.1.2p2, APC SUA1000 with AP9606: repeated comm lost/established messages
...ange)
polling ups: ap9606-srv@localhost
get_var: ap9606-srv@localhost / status
status: [OL]
parsing: [OL]: ups_on_line(ap9606-srv@localhost) (no change)
polling ups: ap9606-srv@localhost
get_var: ap9606-srv@localhost / status
Poll UPS [ap9606-srv@localhost] failed - Data stale
do_notify: ntype 0x0005 (COMMBAD)
Communications with UPS ap9606-srv@localhost lost
Broadcast Message from root@z9.z9.com
(/dev/ttyp0) at 10:39 ...
Communications with UPS ap9606-srv@localhost lost
polling ups: ap9606-srv@localhost
get_var: ap9606-srv@localhost / status
status: [OL]
do_noti...
2016 Jan 12
3
What are the advantages and disadvantages of running with or without libvirt?
...X=enforcing\nSELINUXTYPE=targeted\n', '--mkdir',
'/etc/sysconfig/network-scripts', '--chmod',
'0755:/etc/sysconfig/network-scripts', '--write',
'/etc/sysconfig/network-scripts/ifcfg-eth0:HWADDR="54:52:c0:a8:c8:03"\nBOOTPROTO="dhcp"\nTYPE="Ethernet"\nONBOOT="yes"\nNAME="eth0"']
TIA,
Y.
2012 Aug 30
1
Data stale and Back UPS ES
...[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 fix ACCESS-DENIED error?
2. UPSHID-UPS fails with output:
Network UPS Tools - Generic HID driver 0.37 (2.6.5-3691:3709M)
USB communication driver 0.31
0.000000 debug level is...
2024 Mar 08
1
NUT 2.8.1 (source build) Pi OS bookworm 32 bit - nut-monitor trying to connect to UPS - Connection Refused
...]: 0.011311 [D1] Trying to connect to UPS [ups at localhost]
Mar 08 07:49:09 WiringCloset nut-monitor[6542]: 0.319633 UPS [ups at localhost]: connect failed: Connection failure: Connection refused
Mar 08 07:49:09 WiringCloset nut-monitor[6542]: 0.319693 [D2] do_notify: ntype 0x0005 (COMMBAD)
Mar 08 07:49:09 WiringCloset nut-monitor[6542]: 0.319707 commbad
Mar 08 07:49:09 WiringCloset nut-monitor[6542]: 0.320094 [D1] Trying to connect to UPS [heartbeat at localhost]
Mar 08 07:49:09 WiringCloset nut-monitor[6542]: 0.328471 UPS [heartbeat at...
2019 Jul 18
2
Another New User Question - Notify Script Not Running
2015 Sep 22
2
FreeBSD backed with a PR1500LCDRT2U
I need some help here with getting this thing running. Every time I enable NUT on the server, I get a "on battery" status when I know that it is running on house power. This only occurs when I am monitoring it with FreeBSD(NAS4Free) When i plug the same UPS into CentOS 6.7, It works as expected. I am not sure what the difference between the NUT versions other than the base OS would be.