Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    NUT upsc and hosts.conf fine but upsstats.cgi does not show the ups

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 1 Posters 784 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      netboy
      last edited by

      Hey dennypage,

      I have an issue with one of my UPS that has built in NUT service (Openmediavault) - The URL upsstats.cgi shows all the UPS slaves except for Openmediavault - interestingly upsc on the NUT server does respond and no changes were made to hosts.conf....Here are the details: [ Please note this was working fine before I updated the version in Openmediavault ]

      NUT server 192.168.0.29

      hosts.conf
      MONITOR powerStrip@localhost "powerStrip""
      MONITOR upshpomv@192.168.0.20 "OMV"
      MONITOR ups@192.168.0.1 "Netgate"
      MONITOR ups@192.168.0.30 "Synology"
      MONITOR ltopNutClient@192.168.0.28 "Alienware"

      command

      upsc upshpomv@192.168.0.20
      

      Returns

      Init SSL without certificate database
      battery.charge: 100
      battery.charge.low: 10
      battery.charge.warning: 20
      battery.mfr.date: CPS
      battery.runtime: 3300
      battery.runtime.low: 300
      battery.type: PbAcid
      battery.voltage: 24.0
      battery.voltage.nominal: 24
      device.mfr: CPS
      device.model: CP1350PFCLCD
      device.serial: 000000000000
      device.type: ups
      driver.name: usbhid-ups
      driver.parameter.pollfreq: 30
      driver.parameter.pollinterval: 15
      driver.parameter.port: auto
      driver.parameter.synchronous: no
      driver.version: 2.7.4
      driver.version.data: CyberPower HID 0.4
      driver.version.internal: 0.41
      input.transfer.high: 139
      input.transfer.low: 88
      input.voltage: 117.0
      input.voltage.nominal: 120
      output.voltage: 141.0
      ups.beeper.status: enabled
      ups.delay.shutdown: 20
      ups.delay.start: 30
      ups.load: 12
      ups.mfr: CPS
      ups.model: CP1350PFCLCD
      ups.productid: 0501
      ups.realpower.nominal: 810
      ups.serial: 000000000000
      ups.status: OL
      ups.test.result: No test initiated
      ups.timer.shutdown: -60
      ups.timer.start: -60
      ups.vendorid: 0764
      

      However my URL does not show upshpomv@192.168.0.20
      http://192.168.0.29/cgi-bin/nut/upsstats.cgi

      7d929327-92d6-4f38-95b7-8263ea69cbb8-image.png

      Notes:

      • I did not make any changes, however I did do updates to OMV version

      Any help to troubleshoot this would be much appreciated

      N 1 Reply Last reply Reply Quote 0
      • N
        netboy @netboy
        last edited by

        @netboy Never mind I had an entry error in hosts.conf!!!

        1 Reply Last reply Reply Quote 1
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.