Bug #17673

NUT file /usr/local/etc/nut/cmdvartab not present on FreeNAS even though UPS service is up and running

Added by Jan Stevenson almost 4 years ago. Updated almost 4 years ago.

Closed: Not To Be Fixed
No priority
Erin Clark
Target version:
Seen in:
Reason for Closing:
Reason for Blocked:
Needs QA:
Needs Doc:
Needs Merging:
Needs Automation:
Support Suite Ticket:
Hardware Configuration:
ChangeLog Required:


  • FN build
    [root@miniref2] /etc/local/nut# cat /etc/version
    FreeNAS-9.10.1 (d989edd)
  • while testing NUT/UPS functionality, I found that the file /usr/local/etc/nut/cmdvartab is not on the appliance even though it seems like it should be.

[root@miniref2] /etc/local/nut# ls -l /usr/local/etc/nut/cmdvartab
ls: /usr/local/etc/nut/cmdvartab: No such file or directory
[root@miniref2] /etc/local/nut# pkg which /usr/local/etc/nut/cmdvartab
/usr/local/etc/nut/cmdvartab was installed by package nut-2.7.3_4
[root@miniref2] /etc/local/nut# pkg info nut-2.7.3_4
Name           : nut
Version        : 2.7.3_4
Installed on   : Wed Aug  3 12:51:18 2016 PDT
Origin         : sysutils/nut
Architecture   : freebsd:10:x86:64
Prefix         : /usr/local
Categories     : sysutils
Licenses       :
Maintainer     :
WWW            :
Comment        : Network UPS Tools
Options        :
    AVAHI          : off
    BASH           : off
    CGI            : off
    DOCS           : off
    FREEIPMI       : off
    IPMIPSU        : off
    IPMI_OFF       : on
    NEON           : off
    OPENSSL        : off
    PDU            : off
    SERIAL         : on
    SNMP           : on
    USB            : on
Shared Libs required:
Shared Libs provided:
Annotations    :
    repo_type      : binary
    repository     : local
Flat size      : 5.10MiB
Description    :
This is a developing project to monitor a large assortment of UPS hardware.
Network communications are used so that multiple systems can monitor a
single physical UPS and shut down together if necessary without any
special "sharing hardware" on the UPS itself. CGI scripts are provided
to monitor UPS status via a WEB browser.

  • saw that the file was missing when I went looking for logs and found this:
    Sep 21 13:27:59 miniref2 notifier: /usr/local/etc/nut/cmdvartab not found - disabling descriptions
  • what led to that was using the client side command "upscmd" to fire off "instant commands" to the upsmon running on the FreeNAS and when running this command it does indeed say "description unavailable" found
    root@jsteve-vm-fbsd:~ # upscmd -l fn-ups@
    Instant commands supported on UPS [fn-ups]:
    beeper.disable - Description unavailable
    beeper.enable - Description unavailable
    beeper.mute - Description unavailable - Description unavailable
    beeper.on - Description unavailable - Description unavailable - Description unavailable
    load.on - Description unavailable
    load.on.delay - Description unavailable
    shutdown.reboot - Description unavailable
    shutdown.return - Description unavailable
    shutdown.stayoff - Description unavailable
    shutdown.stop - Description unavailable
    test.battery.start.deep - Description unavailable
    test.battery.start.quick - Description unavailable
    test.battery.stop - Description unavailable
    test.panel.start - Description unavailable
    test.panel.stop - Description unavailable
  • It would be helpful to have the descriptions available to the upsmon client and it seems like they would be fetched from the file above. Why it's missing from the NUT pkg or why it's not installed on the target system, I have no idea, thus this ticket.


#1 Updated by Jan Stevenson almost 4 years ago

  • Description updated (diff)

#2 Updated by Jan Stevenson almost 4 years ago

  • Description updated (diff)

#3 Updated by Heather Ownby almost 4 years ago

  • Assignee set to Kris Moore

#4 Avatar?id=14398&size=24x24 Updated by Kris Moore almost 4 years ago

  • Assignee changed from Kris Moore to Josh Paetzel
  • Target version set to 9.10.1-U2

Josh, do you handle UPS stuff, or is that somebody else?

#5 Updated by Vaibhav Chauhan almost 4 years ago

  • Assignee changed from Josh Paetzel to Erin Clark

#6 Updated by Vaibhav Chauhan almost 4 years ago

  • Status changed from Unscreened to Closed: Not To Be Fixed
  • Target version changed from 9.10.1-U2 to N/A

Also available in: Atom PDF