NUT on FreeBSD unable to detect UPS











up vote
0
down vote

favorite












I've been trying to get my APC SNMP v3 UPS to work with NUT (network UPS tools) on FreeBSD 11.2. It's not detecting it.



What I've done so far




  • Clean install FreeBSD 11.2 AMD64 and check UPS pingable

  • install NUT:
    pkg install nut

  • create config file (contents below)
    ee /usr/local/etc/nut/ups.conf

  • run upsdrvctl start to test driver connectivity, as advised by NUT docs

  • result: "No supported device detected"

  • run tcpdump in background to check if it's failing to connect:
    tcpdump host <UPS_IP_ADDRESS> &
    upsdrvctl start


  • output (both tcpdump and upsdrvctl):




    1. IP "GetRequest" packet from FreeBSD svr to correct UPS IP on SNMP port

    2. ARP "who-has" packet from UPS to identify FreeBSD server's MAC

    3. IP packet reply from UPS SNMP port to FreeBSD server

    4. FreeBSD server reports "No supported devices detected"




So the UPS is in fact able to be communicated with. But the device is apparently well supported, it's a pretty ordinary APC SMT 3000 series UPS with APC9630 network card, which is also well supported by NUT and has been for years. The auth/privProtocols are also apparently well supported according to the mailing list, again for a long time.



ups.conf config file contents:



[apc-smt3000]

driver=snmp-ups
port=x.x.x.x
snmp_version=v3

desc="APC SMT3000"

secLevel=authPriv
secName="UPS_SNMP_PROFILE_NAME"
authPassword="PASSWORD"
privPassword="PASSWORD"

snmp_retries = 0
snmp_timeout=3

authProtocol=SHA
privProtocol=AES


I've checked the passwords, protocols and config on both UPS and server, they all look OK.



How can I troubleshoot this to find why they aren't talking?










share|improve this question




























    up vote
    0
    down vote

    favorite












    I've been trying to get my APC SNMP v3 UPS to work with NUT (network UPS tools) on FreeBSD 11.2. It's not detecting it.



    What I've done so far




    • Clean install FreeBSD 11.2 AMD64 and check UPS pingable

    • install NUT:
      pkg install nut

    • create config file (contents below)
      ee /usr/local/etc/nut/ups.conf

    • run upsdrvctl start to test driver connectivity, as advised by NUT docs

    • result: "No supported device detected"

    • run tcpdump in background to check if it's failing to connect:
      tcpdump host <UPS_IP_ADDRESS> &
      upsdrvctl start


    • output (both tcpdump and upsdrvctl):




      1. IP "GetRequest" packet from FreeBSD svr to correct UPS IP on SNMP port

      2. ARP "who-has" packet from UPS to identify FreeBSD server's MAC

      3. IP packet reply from UPS SNMP port to FreeBSD server

      4. FreeBSD server reports "No supported devices detected"




    So the UPS is in fact able to be communicated with. But the device is apparently well supported, it's a pretty ordinary APC SMT 3000 series UPS with APC9630 network card, which is also well supported by NUT and has been for years. The auth/privProtocols are also apparently well supported according to the mailing list, again for a long time.



    ups.conf config file contents:



    [apc-smt3000]

    driver=snmp-ups
    port=x.x.x.x
    snmp_version=v3

    desc="APC SMT3000"

    secLevel=authPriv
    secName="UPS_SNMP_PROFILE_NAME"
    authPassword="PASSWORD"
    privPassword="PASSWORD"

    snmp_retries = 0
    snmp_timeout=3

    authProtocol=SHA
    privProtocol=AES


    I've checked the passwords, protocols and config on both UPS and server, they all look OK.



    How can I troubleshoot this to find why they aren't talking?










    share|improve this question


























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I've been trying to get my APC SNMP v3 UPS to work with NUT (network UPS tools) on FreeBSD 11.2. It's not detecting it.



      What I've done so far




      • Clean install FreeBSD 11.2 AMD64 and check UPS pingable

      • install NUT:
        pkg install nut

      • create config file (contents below)
        ee /usr/local/etc/nut/ups.conf

      • run upsdrvctl start to test driver connectivity, as advised by NUT docs

      • result: "No supported device detected"

      • run tcpdump in background to check if it's failing to connect:
        tcpdump host <UPS_IP_ADDRESS> &
        upsdrvctl start


      • output (both tcpdump and upsdrvctl):




        1. IP "GetRequest" packet from FreeBSD svr to correct UPS IP on SNMP port

        2. ARP "who-has" packet from UPS to identify FreeBSD server's MAC

        3. IP packet reply from UPS SNMP port to FreeBSD server

        4. FreeBSD server reports "No supported devices detected"




      So the UPS is in fact able to be communicated with. But the device is apparently well supported, it's a pretty ordinary APC SMT 3000 series UPS with APC9630 network card, which is also well supported by NUT and has been for years. The auth/privProtocols are also apparently well supported according to the mailing list, again for a long time.



      ups.conf config file contents:



      [apc-smt3000]

      driver=snmp-ups
      port=x.x.x.x
      snmp_version=v3

      desc="APC SMT3000"

      secLevel=authPriv
      secName="UPS_SNMP_PROFILE_NAME"
      authPassword="PASSWORD"
      privPassword="PASSWORD"

      snmp_retries = 0
      snmp_timeout=3

      authProtocol=SHA
      privProtocol=AES


      I've checked the passwords, protocols and config on both UPS and server, they all look OK.



      How can I troubleshoot this to find why they aren't talking?










      share|improve this question















      I've been trying to get my APC SNMP v3 UPS to work with NUT (network UPS tools) on FreeBSD 11.2. It's not detecting it.



      What I've done so far




      • Clean install FreeBSD 11.2 AMD64 and check UPS pingable

      • install NUT:
        pkg install nut

      • create config file (contents below)
        ee /usr/local/etc/nut/ups.conf

      • run upsdrvctl start to test driver connectivity, as advised by NUT docs

      • result: "No supported device detected"

      • run tcpdump in background to check if it's failing to connect:
        tcpdump host <UPS_IP_ADDRESS> &
        upsdrvctl start


      • output (both tcpdump and upsdrvctl):




        1. IP "GetRequest" packet from FreeBSD svr to correct UPS IP on SNMP port

        2. ARP "who-has" packet from UPS to identify FreeBSD server's MAC

        3. IP packet reply from UPS SNMP port to FreeBSD server

        4. FreeBSD server reports "No supported devices detected"




      So the UPS is in fact able to be communicated with. But the device is apparently well supported, it's a pretty ordinary APC SMT 3000 series UPS with APC9630 network card, which is also well supported by NUT and has been for years. The auth/privProtocols are also apparently well supported according to the mailing list, again for a long time.



      ups.conf config file contents:



      [apc-smt3000]

      driver=snmp-ups
      port=x.x.x.x
      snmp_version=v3

      desc="APC SMT3000"

      secLevel=authPriv
      secName="UPS_SNMP_PROFILE_NAME"
      authPassword="PASSWORD"
      privPassword="PASSWORD"

      snmp_retries = 0
      snmp_timeout=3

      authProtocol=SHA
      privProtocol=AES


      I've checked the passwords, protocols and config on both UPS and server, they all look OK.



      How can I troubleshoot this to find why they aren't talking?







      freebsd snmp ups nut






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 25 at 23:38









      Rui F Ribeiro

      38.3k1477127




      38.3k1477127










      asked Nov 25 at 22:53









      Stilez

      441212




      441212



























          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f484105%2fnut-on-freebsd-unable-to-detect-ups%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f484105%2fnut-on-freebsd-unable-to-detect-ups%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Morgemoulin

          Scott Moir

          Souastre