APC UPS Data Center & Enterprise Solutions Forum
Schneider, APC support forum to share knowledge about installation and configuration for Data Center and Business Power UPSs, Accessories, Software, Services.
Posted: 2021-07-01 04:36 AM . Last Modified: 2024-03-05 02:05 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-01 04:36 AM . Last Modified: 2024-03-05 02:05 AM
(this may be a duplicate as it crashed the last time I tried to create a post)
How do I remotely access load/capacity/runtime from a .Net application
We have just purchased a Smart-UPS RT 8000 XL and I would like to add the load/capacity/runtime to our company dashboard written in C#
Is there a way to do this?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-01 04:37 AM . Last Modified: 2024-03-05 02:05 AM
Hello!! I need of the code please
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-01 04:36 AM . Last Modified: 2024-03-05 02:05 AM
You'll need to log into it to start - do you have a bluish interface or green and white?
If it's blue, check under Administration->General->about and tell me what you see.
The green/white interface is the one that supports this and you'd find it under About->Network in there for the model information.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-01 04:36 AM . Last Modified: 2024-03-05 02:05 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-01 04:36 AM . Last Modified: 2024-03-05 02:05 AM
Very blue and white.....
Can we get an upgrade?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-01 04:36 AM . Last Modified: 2024-03-05 02:05 AM
While you can upgrade, in retrospect, I'd suggest telnet (or SSH) over this limted status page because it is actually very limited (literally) with its current implementation. See below for mine on my test NMC.
CLI is what we intend for users to utilize for this type of thing (since we don't have an API), rather than scraping a web page.Regardless, I don't think it even provides what you need at this time.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-01 04:36 AM . Last Modified: 2024-03-05 02:05 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-01 04:36 AM . Last Modified: 2024-03-05 02:05 AM
I've managed to establish a telnet session through code and can retreive the information I require.
If anybody needs C# code to do this then I have it!
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-01 04:36 AM . Last Modified: 2024-03-05 02:05 AM
Hi Chris,
The NMC doesn't have a web API, but it does have API access via SNMP, which is designed for programmatic access. The other interfaces such as web, cli, telnet, ssh, etc would work, however because they're human usable, their behavior may change between versions.
To start exploring SNMP, I recommend enabling SNMPv1 on the NMC, downloading GetIF and the latest PowerNet MIB. GetIF (with the MIB installed into its MIB folder) allows you to walk the device and explore all the capabilities provided through SNMP. Here are the variables you appear to be interested in:
Load
- upsAdvOutputLoad - .1.3.6.1.4.1.318.1.1.1.4.2.3.0
- upsHighPrecOutputLoad - .1.3.6.1.4.1.318.1.1.1.4.3.3.0
Capacity
- upsAdvBatteryCapacity - .1.3.6.1.4.1.318.1.1.1.2.2.1.0
- upsHighPrecBatteryCapacity - .1.3.6.1.4.1.318.1.1.1.2.3.1.0
Runtime
- upsAdvBatteryRunTimeRemaining - .1.3.6.1.4.318.1.1.1.2.2.3.0
Googling a bit, I can see there are many SNMP libraries available for C#.
Hope that helps.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-01 04:37 AM . Last Modified: 2024-03-05 02:05 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-01 04:37 AM . Last Modified: 2024-03-05 02:05 AM
(this may be a duplicate as it crashed the last time I tried to create a post)
How do I remotely access load/capacity/runtime from a .Net application
We have just purchased a Smart-UPS RT 8000 XL and I would like to add the load/capacity/runtime to our company dashboard written in C#
Is there a way to do this?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-01 04:37 AM . Last Modified: 2024-03-05 02:05 AM
Well, I don't know much about .NET but the UPS you mentioned comes with a UPS Network Management Card pre-installed which offers SNMP, Telnet, SSH, and a web interface as well as a few other interfaces. That information you're looking for is available via those interfaces so I am not sure if that is an option.
Dry contacts are also something we offer - not sure if you can monitor states of relays.
Lastly, and least desirable most likely is the serial interface - the communication through there is available via APC with a licensing agreement but is not as powerful as some of the other interfaces and options I've offered. It also requires a licensing agreement.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-01 04:37 AM . Last Modified: 2024-03-05 02:05 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-01 04:37 AM . Last Modified: 2024-03-05 02:05 AM
Can you tell me where I can get more information about the SNMP, Telnet, SSH, and a web interfaces please?
Ideally I'd like to use a Web API if that is available.
Is there anything like http://ipaddress/xmlQuery/something
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-01 04:37 AM . Last Modified: 2024-03-05 02:05 AM
Assuming this UPS is brand new, you're going to get an AP9631 -> http://www.apc.com/resource/include/techspec_index.cfm?base_sku=AP9631
That provides additional documentation on the card itself, its interfaces, etc.
More importantly, you'll also find testdrive.apc.com which has links to live cards that we have online for "test driving" that you can look at a little bit before you set yours up.
On the most recent firmware v6.0.6 and higher, one "API-like" feature in my mind (since we dont have an API I don't think for this device) is the limited status page. If configured, it provides some particular information about the unit without having to log in with a user name and password.
You'll find it at the http://ipaddress/limstat.htm - it's a new page and I think there are a few quirks with it, but if it works for what you want to do overall, we can always add to it.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-01 04:37 AM . Last Modified: 2024-03-05 02:05 AM
Hello!! I need of the code please
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.