configuration of powerware 5125 ups
-
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:BCMXCPFrom 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 startedAlso i have no other communication on usb5
and my agent version is 1.2.9
Any idea?
-
Use full name of the device – /dev/ttyUSB5
-
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 startedand 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 -
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)
-
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 startedand 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
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