NetXMS Support Forum

Please login or register.

Login with username, password and session length

Author Topic: NetXMS agent config for UPS via USB cable  (Read 708 times)

wdavids

  • Newbie
  • *
  • Posts: 9
    • View Profile
NetXMS agent config for UPS via USB cable
« on: July 03, 2018, 03:55:00 pm »

Hi,

We have a APC ups that we want to monitor via NetXMS so that we can see if there is a power outage or if UPS is using batteries. We are using a USB cable to connect UPS and a computer, netxms agent is installed on the computer but I want to know what to type in the netxms agent config file to connect to ups so that i can pull the data.

I also added the DCI value for the ups but it shows not supported, what does that mean?
« Last Edit: July 03, 2018, 04:00:46 pm by wdavids »
Logged

Tursiops

  • Sr. Member
  • ****
  • Posts: 364
    • View Profile
Re: NetXMS agent config for UPS via USB cable
« Reply #1 on: July 10, 2018, 12:37:05 pm »

We're using SNMP to monitor UPS' at our end (no matter if connected via network or USB), but I recall using the inbuilt sub-agent once before and I did something similar to what's mentioned in this post:
https://www.netxms.org/forum/configuration/more-detailed-information-to-configure-an-usb-ups/
That is, I didn't use the serial number of the UPS in the configuration file, as there was only one UPS connected.

Other than that, you may need to replace (*) with (0), as that's the number of your UPS in the configuration. Not sure if that's really needed if you only have one UPS.
Or use actual Instance Discovery using the "UPS.DeviceList" list?
Logged

wdavids

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: NetXMS agent config for UPS via USB cable
« Reply #2 on: July 18, 2018, 11:51:01 am »

Thanks for the help it is working now, only weird thing when I choose to monitor the UPS online status and says unsupported, does that have something to do with the model of UPS?
« Last Edit: July 23, 2018, 03:41:25 pm by wdavids »
Logged

Tursiops

  • Sr. Member
  • ****
  • Posts: 364
    • View Profile
Re: NetXMS agent config for UPS via USB cable
« Reply #3 on: August 01, 2018, 03:24:29 pm »

Sorry, I don't know the answer to that question, as we're not using the sub-agent.
I do know that different models of APC UPS do not all report everything back (via SNMP that is), but usually the unsupported things are more like Part Numbers or Output Current, not the overall UPS status.
Logged