[Nut-upsuser] new variable

2009-09-30 Thread Kiss Gabor (Bitman)
Dear Arnaud, Now I started to write a driver that simulates continous power breaks. (E.g. in every 30 minutes.) This could be used for testing of setup of client upsmons. I have to simulate a behaviour of a real UPS. The physical model contains an extra attribute: the charging current that needed

Re: [Nut-upsuser] repeater problem

2009-09-28 Thread Kiss Gabor (Bitman)
> > Depending on your needs, the 'clone' driver that is available now may be a > > better solution. > > Sounds good. Thanks. :-) Wow! This is an other thing I wanted to implement. :-) Gabor ___ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.

Re: [Nut-upsuser] repeater problem

2009-09-28 Thread Kiss Gabor (Bitman)
> > I played a bit with dummy driver in repeater mode. > > It is the concept what I need. > > Please explain what concept you need. I create fake a UPS daemon for testing purposes that periodically simulates blackouts. This can help to tune upsmon-s. Actually it would be a 'upsd' like process but

[Nut-upsuser] repeater problem

2009-09-28 Thread Kiss Gabor (Bitman)
Hi Arnaud, I played a bit with dummy driver in repeater mode. It is the concept what I need. Unfortunately I found that if connection to another upsd gets broken the driver does not try to repair it. Gabor ___ Nut-upsuser mailing list Nut-upsuser@lists

Re: [Nut-upsuser] UPS::Nut PERL module is rewritten

2009-09-03 Thread Kiss Gabor (Bitman)
> > > can you please send me the source? > > > > Do you mean the unpacked Perl module? Sure. > > See attachment. > > > > great, thanks. > everything seems fine, though I've very roughly tested... > > anything against embedding it in the NUT source tree? Why not? :-) Meanwhile I modified functio

Re: [Nut-upsuser] UPS::Nut PERL module is rewritten

2009-09-01 Thread Kiss Gabor (Bitman)
> can you please send me the source? Do you mean the unpacked Perl module? Sure. See attachment. Regards Gabor# UPS::Nut - a class to talk to a UPS via the Network Utility Tools upsd. # Original author Kit Peters # Rewritten by Gabor Kiss # Megj.: http://www.logix.cz/michal/devel/smtp-cli/smtp

[Nut-upsuser] UPS::Nut PERL module is rewritten

2009-08-31 Thread Kiss Gabor (Bitman)
Dear folks, I had to rewrite UPS::Nut because it was not developed since 2002 and it was based a very old version of upsd speaking a totally outdated protocol. If some of you interested in it you can get from my debian repository. package name is libups-nut-perl. Add this to your APT sources: de