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

How to get the UPS Event Log Details using Common OID in SNMP

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
  • How to get the UPS Event Log Details using Common OID in SNMP
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
Teken
Spock Teken
109
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-29 06:39 AM . Last Modified: ‎2024-03-12 11:11 PM

0 Likes
11
3156
  • 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-29 06:39 AM . Last Modified: ‎2024-03-12 11:11 PM

How to get the UPS Event Log Details using Common OID in SNMP

Dear Friends,

               I am able to get all the UPS details like Temperature,Voltage etc by using SNMP and loading Particular MIB`s .In this i have two Issues

1.I am getting only Int datatype values not in decimal values (for example : 229 V but actual value should be 229.2 V) i am missing that .2 decimal values.

2.How do i get the Event log status for the UPS.I need Common OID or APC Powervision OID anything to obtain the log...

If any one know about this problem please mail me at vijayrajpalanisamy@gmail.com.

Please anyone short out this problem as soon as possible friend.

With Best Regard`s

Vijayraj Palanisamy.

Labels
  • Labels:
  • Smart-UPS & Symmetra LX | RM
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
voidstar_apc
Janeway voidstar_apc
Janeway

Posted: ‎2021-06-29 06:40 AM . Last Modified: ‎2024-03-12 11:10 PM

0 Likes
0
3155
  • 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-29 06:40 AM . Last Modified: ‎2024-03-12 11:10 PM

Hi Vijayraj,

SNMP doesn't have support for fractional amounts. Therefore every SNMP variable has a particular precision: for example volts, or tenths of volts, or hundredths of volts. We've added the High Precision branch for variables that offer more precision. So if a high precision OID reports in tenths of volts, and shows 2292, that means 229.2 V.

The event log is not directly available through SNMP polling.  However there are so many ways to get the event log:

- Every event generates an SNMP trap, so you can record them with an SNMP trap receiver.

- You can also set up a syslog daemon and record events that way.

- You can ftp the event log from the card.

- I think the event log is also available as an RSS feed unless they've taken that out at some point.

See Answer In Context

Reply

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

Replies 11
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-29 06:39 AM . Last Modified: ‎2024-03-12 11:11 PM

0 Likes
0
3155
  • 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-29 06:39 AM . Last Modified: ‎2024-03-12 11:11 PM

You can try a free Trap Receiver program for testing..if you search the internet, there are several to choose from depending on your operating system.

Reply

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

voidstar_apc
Janeway voidstar_apc
Janeway

Posted: ‎2021-06-29 06:39 AM . Last Modified: ‎2024-03-12 11:11 PM

0 Likes
0
3155
  • 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-29 06:39 AM . Last Modified: ‎2024-03-12 11:11 PM

First, make sure you've added your computer to the list of trap receivers on the NMC. Then make sure you're getting traps. Like Angela says, there are free trap receivers. You should also download wireshark and sniff port 162 to see if you're getting the traps.

I've attached a quick-and-dirty python script I use for testing. You'd probably be better off with some other full-featured solution. It's not C# but it's what I have.

Attachments
traprcv.py.zip
Reply

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

Anonymous user
Not applicable

Posted: ‎2021-06-29 06:39 AM . Last Modified: ‎2024-03-12 11:11 PM

0 Likes
0
3155
  • 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-29 06:39 AM . Last Modified: ‎2024-03-12 11:11 PM

Thank you Voidstar and Angela,

          1.)  I tried SNMP Trap receiver now,What i did is i wrote the Receiver in C# the listener will watch the port 162  if any event happens at the agent it send the packet to manager,But i didnt get the Event Description and Event Name. Even i load the MIB file for SNMPV2M2M.mib & Notification mib.I think the data is not come in Vb collection(in Empty).But my query is " Is i am Send any particular event log ID or OID to that Port 162 or no need to send any OID to the agent." Please give me your valuable suggestions.!!!

          2.) Can u please explain how i configure Syslog demeon and record events .

With Best Regard`s

Vijayraj Palanisamy.

Reply

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

Anonymous user
Not applicable

Posted: ‎2021-06-29 06:39 AM . Last Modified: ‎2024-03-12 11:11 PM

0 Likes
0
3155
  • 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-29 06:39 AM . Last Modified: ‎2024-03-12 11:11 PM

Dear Friends,

               I am able to get all the UPS details like Temperature,Voltage etc by using SNMP and loading Particular MIB`s .In this i have two Issues

1.I am getting only Int datatype values not in decimal values (for example : 229 V but actual value should be 229.2 V) i am missing that .2 decimal values.

2.How do i get the Event log status for the UPS.I need Common OID or APC Powervision OID anything to obtain the log...

If any one know about this problem please mail me at vijayrajpalanisamy@gmail.com.

Please anyone short out this problem as soon as possible friend.

With Best Regard`s

Vijayraj Palanisamy.

Reply

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

Anonymous user
Not applicable

Posted: ‎2021-06-29 06:39 AM . Last Modified: ‎2024-03-12 11:11 PM

0 Likes
0
3155
  • 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-29 06:39 AM . Last Modified: ‎2024-03-12 11:11 PM

HI Angela,

         Thank you for your reply!!

     1.II am getting all the numeric value as integer. for Example Output Voltage OID is "1.3.6.1.2.1.33.1.4.4.1.2.1" its a common for all enterprises but it gives integer like that i need decimal value OID.

     2.Thank you for this answer probably  this will help me !!! but my question is, " Is any possible to get event log details from UPS itself "

With Best Regard`s

Vijayraj Palanisamy.

Reply

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

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-29 06:40 AM . Last Modified: ‎2024-03-12 11:11 PM

0 Likes
0
3155
  • 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-29 06:40 AM . Last Modified: ‎2024-03-12 11:11 PM

Hi,

For # 1 - you'll want to look under upsHighPrec values. For example, upsHighPrecInput tells me The current utility line voltage in tenths of VAC. and responds with "4914" - these upsHighPrec values are available for both input and output under the upsInput and upsOutput subtrees.

# 2 - I am not sure what you mean. upsBasicOutputStatus / .1.3.6.1.4.1.318.1.1.1.4.1.1 is an OID designed to give you a response regarding the UPS output status.

The current state of the UPS. If the UPS is unable  to determine the state of the UPS this variable is set  to unknown(1). It does not show the event log since you cannot get that via SNMP but it is designed to be a "common" OID you can check for the overall state of the UPS.

Reply

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

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-29 06:40 AM . Last Modified: ‎2024-03-12 11:11 PM

0 Likes
0
3155
  • 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-29 06:40 AM . Last Modified: ‎2024-03-12 11:11 PM

I understand a little better now what you're getting at.

1.) Are you referring to the RFC1628 MIB? Could you specify what UPS model this is and what UPS Network Management Card version firmware you're using? (giving me the response to .1.3.6.1.2.1.1.1 will actually provide me all of that). If you are using RFC1628 MIB, to get more detailed information, you'll most likely need to use the OIDs I referenced in the APC PowerNet MIB to get the level of detail you want on the voltage readings.

2.) We support SNMP traps, syslog, and email for notification options. You could configure SNMP traps to receive the events by SNMP.

Reply

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

Anonymous user
Not applicable

Posted: ‎2021-06-29 06:40 AM . Last Modified: ‎2024-03-12 11:10 PM

0 Likes
0
3155
  • 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-29 06:40 AM . Last Modified: ‎2024-03-12 11:10 PM

Dear Angela N,

           1.) I can get the value from PowerNet MIB but its an integer (Round off Value) ,But i need exact value in decimals ( for example  229 V as a 229.2V)

           2.)Why we should configure SNMP traps for syslog, My question is "MIB contains all the information about the UPS like Voltage,Temperature,Event logs etc why event log is critical to get from those MIB UPS-MIB.mib,apc-powernet.mib,PowerNet-MIB.mib,Xups.mib even i load all this MIB i missed that "Event Log"  is possible to get the Syslog from this MIB if it is then what is the OID which should i refer.  "

          I am not expert in Networking please give me the clear step to get the Event log for UPS .which has all Severity.

  I hope you understand my question very well!!!

With Best Regard`s

Vijayraj Palanisamy.

Reply

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

voidstar_apc
Janeway voidstar_apc
Janeway

Posted: ‎2021-06-29 06:40 AM . Last Modified: ‎2024-03-12 11:10 PM

0 Likes
0
3156
  • 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-29 06:40 AM . Last Modified: ‎2024-03-12 11:10 PM

Hi Vijayraj,

SNMP doesn't have support for fractional amounts. Therefore every SNMP variable has a particular precision: for example volts, or tenths of volts, or hundredths of volts. We've added the High Precision branch for variables that offer more precision. So if a high precision OID reports in tenths of volts, and shows 2292, that means 229.2 V.

The event log is not directly available through SNMP polling.  However there are so many ways to get the event log:

- Every event generates an SNMP trap, so you can record them with an SNMP trap receiver.

- You can also set up a syslog daemon and record events that way.

- You can ftp the event log from the card.

- I think the event log is also available as an RSS feed unless they've taken that out at some point.

Reply

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

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-29 06:40 AM . Last Modified: ‎2024-03-12 11:10 PM

0 Likes
0
3155
  • 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-29 06:40 AM . Last Modified: ‎2024-03-12 11:10 PM

Yes, as voidstar mentioned, there are some high precision OIDs I have been trying to let you know about for input and output voltage which provide the input or output voltage in tenths of volts.

.iso.org.dod.internet.private.enterprises.apc.products.hardware.ups.upsInput.upsHighPrecInput

This will give you a response in tengths of volts for the line voltage and frequency on the input and the .iso.org.dod.internet.private.enterprises.apc.products.hardware.ups.upsOutput.upsHighPrecOutput subtree will give you the same for the output.

voidstar also elaborated on the event log via SNMP already and the different methods to retrieve the event log.

Reply

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

Anonymous user
Not applicable

Posted: ‎2021-06-29 06:40 AM . Last Modified: ‎2024-03-12 11:10 PM

0 Likes
0
3155
  • 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-29 06:40 AM . Last Modified: ‎2024-03-12 11:10 PM

Dear Voidstar & Angela,

                     Really thanks for both of you !!! Its very useful for me.Especially voidstar  great work !!!

   Is anyone have sample C# code for SNMP Trap receiver to obtain the event log details ?

With Best Regard`s

Vijayraj Palanisamy.

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