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

    Apcupsd with UPSTYPE net

    Scheduled Pinned Locked Moved pfSense Packages
    2 Posts 2 Posters 1.4k 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.
    • D
      dvl
      last edited by

      I want to use UPSTYPE net for apcupsd on my pfSense (2.2.5) box.  I want it to communicate with apcupsd running on another box.

      I am unable to configure this configuration correctly via the UI.  I keep getting:

      UPSTYPE net slocum.int.unixathome.org:3551
      #DEVICE

      But that will not start:

      service apcupsd.sh start
      Starting APC UPS Daemon…
      /usr/local/sbin/apcupsd: Bogus configuration value (invalid-ups-type)
      Terminating due to configuration file errors.

      Solution, edit /usr/pbi/apcupsd-amd64/etc/apcupsd/apcupsd.conf and change the offending lines to:

      UPSTYPE net
      DEVICE slocum.int.unixathome.org:3551

      Then apcupsd starts.

      1 Reply Last reply Reply Quote 0
      • D
        doktornotor Banned
        last edited by

        And why are you leaving the 'Device' field empty and sticking the stuff into 'UPS Type' field instead?! There's even a detailed table showing what to put where for each UPS type. Sigh.  >:(

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