Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

SNMP w/smart-ups 750, OID for "replacebattery" always shows "ok" even w/battery out ??

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.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • APC UPS, Critical Power, Cooling and Racks
  • APC UPS Data Center & Enterprise Solutions Forum
  • SNMP w/smart-ups 750, OID for "replacebattery" always shows "ok" even w/battery out ??
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
BillP
Administrator BillP Administrator
5060
voidstar_apc
Janeway voidstar_apc
196
Erasmus_apc
Sisko Erasmus_apc
112
TheNotoriousKMP_apc
Sisko TheNotoriousKMP_apc
108
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to APC UPS Data Center & Enterprise Solutions Forum
Solved
Anonymous user
Not applicable

Posted: ‎2021-06-30 09:43 PM . Last Modified: ‎2024-03-06 11:49 PM

0 Likes
5
1387
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-30 09:43 PM . Last Modified: ‎2024-03-06 11:49 PM

SNMP w/smart-ups 750, OID for "replacebattery" always shows "ok" even w/battery out ??

I have been trying to monitor a group of UPSs using nagios.

SNMP works more or less if line power is off or output off, but determining battery health seems broken.

But if I query OID 1.3.6.1.4.1.318.1.1.1.2.2.4.0, it always returns "1" regardless if the battery is plugged in or whether the battery is unplugged and the "replace battery" indicator is on and beeping.

I unplugged the battery to simulate a bad one.

Is the SNMP MIB broken? I have tried two different 750 units with same results.

Labels
  • Labels:
  • Smart-UPS & Symmetra LX | RM
  • Tags:
  • mib
  • oid
  • snmp
Reply

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-30 09:43 PM . Last Modified: ‎2024-03-06 11:49 PM

0 Likes
0
1387
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-30 09:43 PM . Last Modified: ‎2024-03-06 11:49 PM

Hi Tim,

Okay, thanks for the info. I expect the OID to work just as you expect. But, I also think what you're simulating is "battery disconnected" rather than battery needs replacing. That is why I suggested to check what the other interfaces report as the current alarm when you try disconnecting the battery. You'd need to have a self test that fails to get a replace battery indicator or replace battery message.

I am not sure if this will work and I can't try it today myself but you could try disconnecting the battery and then also running a self test afterwards to see if it triggers a replace battery and re-check the OIDs. I am not sure the UPS will refuse the self test because there is no battery or if it may trigger a self test failed. Depending on the UPS model, they also may act a little differently. I also cannot be sure without trying if the UPS will turn off so I'd proceed with a non-critical load if possible, especially if you force a self test through the UPS display versus issuing a self test command from the management interface or SNMP OID. Typically, UPS logic will come into play if you issue the command but using the front panel LCD will force a self test so in this scenario I'd be cautious of forcing a self test through the front panel as I am not sure if the UPS will force a self test still with no battery and then turn off. I can try this Monday if you prefer to wait for me. I have an SUA and SMT.

As a side note which may come into play later, 6.4.0 is the latest firmware version available for Smart-UPS with AP9630/31/35. Not sure if you want to upgrade (lots of security fixes) but we may need to give it a try if in the future we still see a problem when truly triggering a replace battery condition AKA failed self test.

See Answer In Context

Reply

Link copied. Please paste this link to share this article on your social media post.

Replies 5
Anonymous user
Not applicable

Posted: ‎2021-06-30 09:43 PM . Last Modified: ‎2024-03-06 11:49 PM

0 Likes
0
1388
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-30 09:43 PM . Last Modified: ‎2024-03-06 11:49 PM

Also strangely, the OID querty for .1.3.6.1.4.1.318.1.1.1.2.2.1.0  ("upsAdvBatteryCapacity.0") reads 47 even with the battery unplugged...

Reply

Link copied. Please paste this link to share this article on your social media post.

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-30 09:43 PM . Last Modified: ‎2024-03-06 11:49 PM

0 Likes
0
1388
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-30 09:43 PM . Last Modified: ‎2024-03-06 11:49 PM

Hi Tim,

Can you give me an exact model of the Smart-UPS 750? A response to .1.3.6.1.4.1.318.1.1.1.1.2.5 or .1.3.6.1.4.1.318.1.1.1.1.1.1 would be good.

Also, can you check the other interfaces beyond SNMP like web, telnet/ssh or local serial interfaces and let me know if the Network Management Card is reporting a correct status there?

Lastly, the sysDescr (.1.3.6.1.2.1.1.1) could be useful too to tell me what firmware you have on your UPS Network Management Card.

Reply

Link copied. Please paste this link to share this article on your social media post.

Anonymous user
Not applicable

Posted: ‎2021-06-30 09:43 PM . Last Modified: ‎2024-03-06 11:49 PM

0 Likes
0
1388
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-30 09:43 PM . Last Modified: ‎2024-03-06 11:49 PM

Models SUA750 and SMT750. Also tried a SMT1500, all same results, 1.3.6.1.4.1.318.1.1.1.2.2.4.0 doesn't change if battery is disconnected either by removing or disconnecting the jumper.

I have many other SNMP OIDs reporting as expected on these units, like input voltage, output voltage, % charge, battery temp, etc.

I was trying to test my Nagios monitor to make sure it would warn us if the battery were bad, maybe I can't unplug the battery it to simulate a bad battery.

I was thinking that the "replace battery" LED could be detected through an SNMP query, based on this from the Powernet MIB description:

APC UPS :: Replace Battery
Monitor Type SNMP - QA Monitor
SNMP Object Type upsAdvBatteryReplaceIndicator
OID 1.3.6.1.4.1.318.1.1.1.2.2.4.0
Returns Indicates whether the UPS batteries need to be replaced:

1 = Batteries do not need replacing
2 = Batteries need replacing
Monitoring Condition Pass if not equal to 2
Monitor failure indicates that there is a UPS battery that needs to be changed. The UPS may not perform as desired should a power failure occur.

However, I'm not sure this value is really the same thing as the "replace battery" indicator LED on the front of the unit...

Reply

Link copied. Please paste this link to share this article on your social media post.

Anonymous user
Not applicable

Posted: ‎2021-06-30 09:43 PM . Last Modified: ‎2024-03-06 11:49 PM

0 Likes
0
1388
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-30 09:43 PM . Last Modified: ‎2024-03-06 11:49 PM

About the card, OID 1.3.6.1.2.1.1.0 reports:  

MB:v4.1.0  PF:v6.2.1  PN:apc_hw05_aos_621.bin AF1:v6.2.1  AN1:apc_hw05_sumx_621.bin  MN:AP9631  HR:08

 

Reply

Link copied. Please paste this link to share this article on your social media post.

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-30 09:43 PM . Last Modified: ‎2024-03-06 11:49 PM

0 Likes
0
1388
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-30 09:43 PM . Last Modified: ‎2024-03-06 11:49 PM

Hi Tim,

Okay, thanks for the info. I expect the OID to work just as you expect. But, I also think what you're simulating is "battery disconnected" rather than battery needs replacing. That is why I suggested to check what the other interfaces report as the current alarm when you try disconnecting the battery. You'd need to have a self test that fails to get a replace battery indicator or replace battery message.

I am not sure if this will work and I can't try it today myself but you could try disconnecting the battery and then also running a self test afterwards to see if it triggers a replace battery and re-check the OIDs. I am not sure the UPS will refuse the self test because there is no battery or if it may trigger a self test failed. Depending on the UPS model, they also may act a little differently. I also cannot be sure without trying if the UPS will turn off so I'd proceed with a non-critical load if possible, especially if you force a self test through the UPS display versus issuing a self test command from the management interface or SNMP OID. Typically, UPS logic will come into play if you issue the command but using the front panel LCD will force a self test so in this scenario I'd be cautious of forcing a self test through the front panel as I am not sure if the UPS will force a self test still with no battery and then turn off. I can try this Monday if you prefer to wait for me. I have an SUA and SMT.

As a side note which may come into play later, 6.4.0 is the latest firmware version available for Smart-UPS with AP9630/31/35. Not sure if you want to upgrade (lots of security fixes) but we may need to give it a try if in the future we still see a problem when truly triggering a replace battery condition AKA failed self test.

Reply

Link copied. Please paste this link to share this article on your social media post.

Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

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.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of