Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. configuration of powerware 5125 ups

configuration of powerware 5125 ups

Scheduled Pinned Locked Moved Support
5 Posts 2 Posters 23.6k Views
  • 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.
  • T
    T
    tops
    wrote on last edited by
    #1

    Hi.
    Trying to communicate with a powerware 5125 ups.
    I followed an old thread fond here https://www.netxms.org/forum/configuration/ups-configuration/
    (wich seems to be for a windows configuration)

    in my  nxagentd.conf i put this
    SubAgent = /usr/local/lib/libnsm_ups.so

    # UPS subagent configuration section
    *UPS
    Device = 0:ttyUSB5:,9600,8,N,1:BCMXCP

    From the logfile i recive this:
    [29-Dec-2015 15:29:14] Log file opened
    [29-Dec-2015 15:29:14] Debug level set to 0
    [29-Dec-2015 15:29:15] Subagent "/usr/local/lib/libnsm_linux.so" loaded successfully
    [29-Dec-2015 15:29:15] Unable to add UPS device from configuration file. Original configuration record: 0:ttyUSB5:,9600,8,N,1:BCMXCP
    [29-Dec-2015 15:29:15] Subagent "/usr/local/lib/libnsm_ups.so" loaded successfully
    [29-Dec-2015 15:29:16] Listening on socket 0.0.0.0:4700
    [29-Dec-2015 15:29:17] NetXMS Agent started

    Also i have no other communication on usb5

    and my agent version is 1.2.9

    Any idea?

    1 Reply Last reply
    0
    • A
      A
      Alex Kirhenshtein
      wrote on last edited by
      #2

      Use full name of the device – /dev/ttyUSB5

      1 Reply Last reply
      0
      • T
        T
        tops
        wrote on last edited by
        #3

        Hi Alex.
        Tried that before...

        [29-Dec-2015 16:22:54] Log file opened
        [29-Dec-2015 16:22:54] Debug level set to 0
        [29-Dec-2015 16:22:55] Subagent "/usr/local/lib/libnsm_linux.so" loaded successfully
        [29-Dec-2015 16:22:55] Unable to add UPS device from configuration file. Original configuration record: 0:/dev/ttyUSB5:,9600,8,N,1:BCMXCP
        [29-Dec-2015 16:22:55] Subagent "/usr/local/lib/libnsm_ups.so" loaded successfully
        [29-Dec-2015 16:22:56] Listening on socket 0.0.0.0:4700
        [29-Dec-2015 16:22:57] NetXMS Agent started

        and the conf

        Action = sms:/home/sms/bin/sms_alert $1

        SubAgent = /usr/local/lib/libnsm_ups.so

        # UPS subagent configuration section
        *UPS
        Device = 0:/dev/ttyUSB5:,9600,8,N,1:BCMXCP

        1 Reply Last reply
        0
        • A
          A
          Alex Kirhenshtein
          wrote on last edited by
          #4

          My bad, missed colon.

          Correct configuration is:

          Device = 0:/dev/ttyUSB5,9600,8,N,1:BCMXCP

          P.S are sure about port speed? Common speed for BCMXCP-devices is 19200 (set by default in netxms driver)

          1 Reply Last reply
          0
          • T
            T
            tops
            wrote on last edited by
            #5

            Hi

            Still no luck.
            From the post in the link it supposed to be 9600.

            also tried without colon, then i get
            [29-Dec-2015 17:38:42] Debug level set to 0
            [29-Dec-2015 17:38:43] Subagent "/usr/local/lib/libnsm_linux.so" loaded successfully
            [29-Dec-2015 17:38:43] UPS: Cannot establish communication with device #0 "BCMXCP-/dev/ttyUSB5,19200,8,N,1"
            [29-Dec-2015 17:38:43] Subagent "/usr/local/lib/libnsm_ups.so" loaded successfully
            [29-Dec-2015 17:38:44] Listening on socket 0.0.0.0:4700
            [29-Dec-2015 17:38:45] NetXMS Agent started

            and with 9600

            [29-Dec-2015 17:37:41] Debug level set to 0
            [29-Dec-2015 17:37:42] Subagent "/usr/local/lib/libnsm_linux.so" loaded successfully
            [29-Dec-2015 17:37:42] Subagent "/usr/local/lib/libnsm_ups.so" loaded successfully
            [29-Dec-2015 17:37:42] UPS: Cannot establish communication with device #0 "BCMXCP-/dev/ttyUSB5,9600,8,N,1"
            [29-Dec-2015 17:37:43] Listening on socket 0.0.0.0:4700
            [29-Dec-2015 17:37:44] NetXMS Agent started

            1 Reply Last reply
            0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            Powered by NodeBB Contributors
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups