search for: pynut

Displaying 20 results from an estimated 20 matches for "pynut".

2014 Jun 04
1
Fwd: [nut] PyNUT: Fix error when raising without an Exception. (#128)
...etworkupstools/nut/pull/128 https://github.com/networkupstools/nut/pull/129 Also note the mention of the new Python module here: https://github.com/george2/python-nut2/tree/development - Charles Begin forwarded message: > From: george2 <notifications at github.com> > Subject: [nut] PyNUT: Fix error when raising without an Exception. (#128) > Date: June 3, 2014 3:34:00 PM EDT > Raising without a valid exception is invalid: > > >>> raise > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > TypeError: excep...
2017 Sep 18
2
building on Solus
Hi Charles, Can you give any instructions for installing the NutMonitor. I am looking at the readme in /scripts/python but am unsure how to proceed. I know absolutely nothing about python. Is there no install process for this? On 18/09/17 11:32, Charles Lepple wrote: > On Sep 17, 2017, at 6:33 PM, MTS <mts5204 at bigpond.com> wrote: >> I am using the same configs as I have in
2015 Sep 11
3
"upsmon -c fsd" cause system shutdown
hi: my testing server has two power supply and attach to two ups. one of the ups is connect to the server with usb. my upsmon.conf like below: # for two ups MONITOR ftups at localhost 1 monmaster nutmaster master MONITOR ftups at 10.1.1.2 1 monslave nutslave slave MINSUPPLIES 1 # for early shutdown NOTIFYFLAG ONBATT EXEC+WALL+SYSLOG NOTIFYFLAG ONLINE EXEC+WALL+SYSLOG NOTIFYCMD
2015 Sep 23
4
NOTIFYCMD shell script problem driving me NUTS
...mail.com> wrote: > > On Tue, Sep 22, 2015 at 9:56 AM, John Hart <jsamcr at gmail.com> wrote: >> notify-send > > notify-send needs a DBUS_SESSION_BUS_ADRESS to work right. Look around for code snippets to get this. Ah, that notify-send. Another option is to launch the PyNUT app in your xsession (or equivalent) - it will also display GUI notifications. In Debian, it is in the package "nut-monitor". I haven't used this personally, though. Either way, please let us know what we can do to expand the NUT documentation on this topic. -- Charles Lepple clepp...
2014 May 28
1
Fwd: [nut] Please create an AppData file for NUT Monitor (#127)
David, do you have any screenshots of PyNUT that fit this format? Please see Richard's link below. Begin forwarded message: > From: Richard Hughes > Subject: [nut] Please create an AppData file for NUT Monitor (#127) > Date: May 28, 2014 5:37:04 AM EDT > > Please consider writing and installing an AppData file with the...
2015 Sep 15
0
"upsmon -c fsd" cause system shutdown
...ight, that is what upsmon does when the FSD flag is set. > this will cause problem when doing early shutdown at "big-server" > environment (eg: multiple power supply, multiple ups attached to > different host). > > fortunately I found fedora/redhat rpm include the python PyNUT, so I > can write a simple script to set ups FSD without trigger SHUTDOWNCMD. I haven't used PyNUT much, so I am not sure how you would do that. If you want to simulate a power failure on only one UPS, I still recommend using the dummy-ups driver reading from a file. You can then set &quot...
2017 Sep 18
0
building on Solus
...re how to proceed. To be honest, the install process for the GUI is pretty much "install the distro package", due to the additional dependencies. (I have been trying to install some Python GUI modules from PyPI for another project, and the .deb packages seem way cleaner.) To install the PyNUT module, look for the 'site-packages' directory in the output of this command: python -c 'import sys; print sys.path' Copy PyNUT.py to that directory. (The Debian/Ubuntu/Mint way is to put modules in python-support, then the postinst does some magic to compile the modules into the...
2014 Jun 23
2
Fwd: [nut] Please create an AppData file for NUT Monitor (#127)
Hi David, it seems that your below mail went unmoderated :-/ anyway, any news on the appData side? as usual, I can provide help if needed... have you also been able to take a look at the pyNut3 thread / pull requests? cheers, Arno From: David Goncalves <david at lestat.st> To: Charles Lepple <clepple at gmail.com> Cc: <nut-upsdev at lists.alioth.debian.org> Date: Fri, 30 May 2014 09:34:22 +0200 Subject: Re: Fwd: [nut] Please create an AppData file for NUT Monitor (#12...
2015 Sep 22
2
NOTIFYCMD shell script problem driving me NUTS
Either I am missing something or I am really STUPID. 1. I have added a user, named nutmon, to the nut group. 2. In upsmon.conf I have set RUN_AS_USER nutmon . 3. I have NOTIFYCMD /etc/nut/notifyme.sh and it is set as 755, so should be executable by everyone. 4. I have the NOTIFYFLAG set as SYSLOG+WALL+EXEC, so the shell should execute. This is the shell script : #!/bin/bash # # NUT NOTIFYCMD
2008 Jul 24
1
mgeops psp has now an ebuild
Hello, FYI, I left an ebuild for mgeops in Gentoo Bugzilla under the number 232855.
2008 Dec 16
1
Cleaning up branches
Maybe it is time to clean up the branches. There are several branches there, that haven't been touched in years. I think we can put several to rest now. Best regards, Arjen -- Please keep list traffic on the list
2009 Jul 29
0
Welcoming a new member in the NUT Team
Fellows, I'm pleased to announce that David Goncalves has now joined the NUT Team. David is working for some time on the NUT Python support, through: - the PyNUT module, which currently provides client access, and which will soon provide some configuration helpers, - the NUT-Monitor client GUI. So, congratulations to David for joining the team! and thanks for his much appreciated contributions in this area... cheers, Arnaud -- Linux / Unix Expert R&D...
2022 Sep 16
1
Fwd: [networkupstools/nut] Hide 'Init SSL without certificate database' message for upsc (PR #1662)
On Fri, 16 Sep 2022, Jim Klimov via Nut-upsuser wrote: > Hello all, > ? Here's a PR I want to ask community about: should NUT clients like upsc report (log!) or hide the infamous 'Init SSL without certificate > database' message? How should upsc be used in order to get SSL/TLS protection? There is no configuration file with a CERTFILE declaration. Is there some other way
2022 Sep 16
1
Fwd: [networkupstools/nut] Hide 'Init SSL without certificate database' message for upsc (PR #1662)
On Fri, 16 Sep 2022, Jim Klimov via Nut-upsuser wrote: > Hello all, > ? Here's a PR I want to ask community about: should NUT clients like upsc report (log!) or hide the infamous 'Init SSL without certificate > database' message? How should upsc be used in order to get SSL/TLS protection? There is no configuration file with a CERTFILE declaration. Is there some other way
2008 Nov 14
2
Opening the 2.4 commit fest
...inder, until the -pre stage, will be: - the Powerman support (through the powerman driver) for more PDUs - the possible RRD integration into upslog - complete the NUT Packaging Standard (doc/packaging.txt) ??? dummy-ups repeater (nut client) and meta (composed of several devices) ??? - the Python PyNut class integration Arnaud -- Linux / Unix Expert R&D - MGE Office Protection Systems - http://www.mgeops.com Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://people.debian.org/~aquette/ Free Software Developer - http://arnaud.quette.free.fr/
2008 Jul 08
0
Update on NUT 2.4 roadmap
...d..." message. This will be useful for configuration tools essentially. 4) The sandbox ------------------------- These are various points that need investigation. Some will enter 2.4, other will be postponed to later releases, depending on the available manpower: - Python binding: integrate PyNut - simplified / embeddable nut (check with Synology, Opengear, ...): There seems to be some issues with cross-compilation, and some need to stretch down the footprint (eventually by cutting down features, busybox'ifying, ...) - upstart support - libusb 1.0 support - lower verbosity (only pri...
2011 Jun 11
1
2.8.0 roadmap
...ade good progress. a first version will probably be merged in the trunk next week ; from there, improvements will happen on the trunk the task should be completed by the end of June (another thanks to Eaton) * configuration: I'm not yet sure about the exact content of this task! pyNutConfig class + CLI pynut-config (or simply nut-config), with an augeas wrapper first and maybe simple fallback with no deps optionally integrate in NUT-Monitor with a GUI David Goncalves will maybe help on this one * nut-ipmi driver step 1 only include power supply unit (PSU) suppor...
2023 Sep 23
1
Nut-upsdev Digest, Vol 206, Issue 5
...2.8.0-2557-g81fca30b2 (release/snapshot of 2.8.0.1) built with gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0 and configured with flags: --enable-Wcolor --enable-keep_nut_report_feature --with-all=auto --with-cgi=auto --with-serial=auto --with-dev=auto --with-doc=skip --with-nut_monitor=auto --with-pynut=auto --disable-force-nut-version-header --enable-check-NIT --enable-maintainer-mode --disable-silent-rules --sysconfdir=/etc/nut --with-group=nut --with-user=nut --enable-inplace-runtime='2.8.0-2557-g81fca30b2 (release/snapshot of 2.8.0.1) built with gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4...
2023 Sep 23
1
Nut-upsdev Digest, Vol 206, Issue 5
...2 > (release/snapshot of 2.8.0.1) built with gcc (Ubuntu > 9.4.0-1ubuntu1~20.04.2) 9.4.0 and configured with flags: --enable-Wcolor > --enable-keep_nut_report_feature --with-all=auto --with-cgi=auto > --with-serial=auto --with-dev=auto --with-doc=skip --with-nut_monitor=auto > --with-pynut=auto --disable-force-nut-version-header --enable-check-NIT > --enable-maintainer-mode --disable-silent-rules --sysconfdir=/etc/nut > --with-group=nut --with-user=nut > --enable-inplace-runtime='2.8.0-2557-g81fca30b2 (release/snapshot of > 2.8.0.1) built with gcc (Ubuntu 9.4.0-1ubunt...
2023 Sep 19
1
Nut-upsdev Digest, Vol 206, Issue 5
Well, now that the `subdriver` option got added to `usbhid-ups` too, you can at least try that (by building again the current master). See command-line help for the subdrivers it would currently recognize, and copy e.g. the first word as the matching option, e.g.: ./drivers/usbhid-ups -DDDDDD -d1 -s test -x port=auto -x vendorid=... -x productid=... -x subdriver=... and try to lockpick your