dmot7291

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by dmot7291

  1. Edit: 2022-05-09 I found the issue, running upsmon gave the following Network UPS Tools upsmon 2.7.4.1 fopen /var/run/nut/upsmon.pid: No such file or directory Unable to use old-style MONITOR line without a username Convert it and add a username to upsd.users - see the documentation Fatal error: unusable configuration which isn't particularly helpful. I changed the password to one without any special characters just [A-Za-z0-9] and the plugin works as expected. Leaving this here in case anyone else stumbled across this as the logging for NUT and its tools wasn't helpful when the issue was simply an incorrect password. Hey, having trouble getting the plugin to connect to my UPS and I've no idea what's wrong. The UPS is a CP1500EPFCLCD (https://networkupstools.org/ddl/Cyber_Power_Systems/CP1500EPFCLCD.html) These are the settings: /var/log/syslog shows May 9 00:08:03 plex-server ool www[14337]: /usr/local/emhttp/plugins/nut/scripts/start May 9 00:08:05 plex-server usbhid-ups[15659]: Startup successful May 9 00:08:06 plex-server upsd[15666]: listening on 0.0.0.0 port 3493 May 9 00:08:06 plex-server upsd[15666]: Connected to UPS [ups]: usbhid-ups-ups May 9 00:08:06 plex-server upsd[15667]: Startup successful but the plugin just shows Status: Stopped Can anyone help? Fairly certain it's working correctly, running: upsc ups@localhost:3493 battery.charge: 100 battery.charge.low: 10 battery.charge.warning: 20 battery.mfr.date: CPS battery.runtime: 4890 battery.runtime.low: 300 battery.type: PbAcid battery.voltage: 24.0 battery.voltage.nominal: 24 device.mfr: CPS device.model: CP1500EPFCLCD device.serial: CRXLW2000017 device.type: ups driver.name: usbhid-ups driver.parameter.pollfreq: 30 driver.parameter.pollinterval: 2 driver.parameter.port: auto driver.parameter.synchronous: no driver.version: 2.7.4.1 driver.version.data: CyberPower HID 0.5 driver.version.internal: 0.55 driver.version.usb: libusb-1.0.23 (API: 0x1000107) input.transfer.high: 260 input.transfer.low: 170 input.voltage: 239.0 input.voltage.nominal: 230 output.voltage: 260.0 ups.beeper.status: enabled ups.delay.shutdown: 20 ups.delay.start: 30 ups.load: 9 ups.mfr: CPS ups.model: CP1500EPFCLCD ups.productid: 0501 ups.realpower.nominal: 900 ups.serial: CRXLW2000017 ups.status: OL ups.test.result: No test initiated ups.timer.shutdown: -60 ups.timer.start: -60 ups.vendorid: 0764 and I can configure collectd and get metrics: <Plugin nut> UPS "ups@localhost:3493" </Plugin>
  2. I love this package, easily the most useful I've installed to my server. Would you consider adding bat (https://github.com/sharkdp/bat) to the list? You've got fd and ripgrep which are also written in rust, and bat would be a great addition as this trio makes up 90% of all of my terminal commands. Thanks for the effort you put into this.