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

We Value Your Feedback!
Could you please spare a few minutes to share your thoughts on Cloud Connected vs On-Premise Services. Your feedback can help us shape the future of services.
Learn more about the survey or Click here to Launch the survey
Schneider Electric Services Innovation Team!

powernet412.mib compilation problem

APC UPS for Home and Office Forum

Support forum to share knowledge about installation and configuration of APC offers including Home Office UPS, Surge Protectors, UTS, software and 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 for Home and Office Forum
  • powernet412.mib compilation problem
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
2151
Teken
Spock Teken
99
voidstar_apc
Janeway voidstar_apc
83
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 for Home and Office Forum
Solved
Anonymous user
Not applicable

Posted: ‎2021-06-30 12:08 AM . Last Modified: ‎2024-03-20 12:23 AM

0 Likes
5
1164
  • 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 12:08 AM . Last Modified: ‎2024-03-20 12:23 AM

powernet412.mib compilation problem

Dear all,

I am having a problem when trying to compile the newest powernet412.mib file with opennms.

The mib compiler shows the following error output:

Mon Sep 29 10:22:10 CEST 2014 [INFO] Parsing MIB file /usr/share/opennms/share/mibs/pending/powernet412.mib

Mon Sep 29 10:23:59 CEST 2014 [ERROR] Problem found when compiling the MIB:

ERROR: Cannot find symbol Integer32, Source: powernet412.mib, Row: 6761, Col: 11

   SYNTAX Integer32

Any suggestions are welcomed.

Thank You

NagPer

Labels
  • Labels:
  • Universal Transfer Switch
  • Tags:
  • compile
  • mib
  • opennms
  • powernet412
  • ups
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 12:08 AM . Last Modified: ‎2024-03-20 12:23 AM

0 Likes
0
1164
  • 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 12:08 AM . Last Modified: ‎2024-03-20 12:23 AM

Did any previous versions of the APC MIB work?

We had a question on this the other day and I am not sure why only certain people experience it but it seems like your NMS is not able to define Integer32 automatically. I did some Googling and found users with other NMSs and other MIBs having similar issues.

Here is what I would try. Modify the MIB in a text editor like Notepad or similar. At the top of the file, find where it says:

IMPORTS

   enterprises, IpAddress, Gauge, TimeTicks             FROM RFC1155-SMI

   DisplayString                                        FROM RFC1213-MIB

   OBJECT-TYPE                                          FROM RFC-1212

   TRAP-TYPE                                            FROM RFC-1215;

-- IMPORTS End

Then, modify it like so below, save it, and see if OpenNMS compiles it.

IMPORTS

   enterprises, IpAddress, Gauge, TimeTicks             FROM RFC1155-SMI

   DisplayString                                        FROM RFC1213-MIB

   OBJECT-TYPE                                          FROM RFC-1212

   Unsigned32, Integer32                               FROM SNMPv2-SMI

   TRAP-TYPE                                            FROM RFC-1215;

-- IMPORTS End

See Answer In Context

Reply

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

Replies 5
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-30 12:08 AM . Last Modified: ‎2024-03-20 12:23 AM

0 Likes
0
1165
  • 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 12:08 AM . Last Modified: ‎2024-03-20 12:23 AM

Did any previous versions of the APC MIB work?

We had a question on this the other day and I am not sure why only certain people experience it but it seems like your NMS is not able to define Integer32 automatically. I did some Googling and found users with other NMSs and other MIBs having similar issues.

Here is what I would try. Modify the MIB in a text editor like Notepad or similar. At the top of the file, find where it says:

IMPORTS

   enterprises, IpAddress, Gauge, TimeTicks             FROM RFC1155-SMI

   DisplayString                                        FROM RFC1213-MIB

   OBJECT-TYPE                                          FROM RFC-1212

   TRAP-TYPE                                            FROM RFC-1215;

-- IMPORTS End

Then, modify it like so below, save it, and see if OpenNMS compiles it.

IMPORTS

   enterprises, IpAddress, Gauge, TimeTicks             FROM RFC1155-SMI

   DisplayString                                        FROM RFC1213-MIB

   OBJECT-TYPE                                          FROM RFC-1212

   Unsigned32, Integer32                               FROM SNMPv2-SMI

   TRAP-TYPE                                            FROM RFC-1215;

-- IMPORTS End

Reply

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

Anonymous user
Not applicable

Posted: ‎2021-06-30 12:08 AM . Last Modified: ‎2024-03-20 12:23 AM

0 Likes
0
1164
  • 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 12:08 AM . Last Modified: ‎2024-03-20 12:23 AM

Thank you for the quick reply!

Indeed your fix solved the problem.

Thanks again!

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 12:08 AM . Last Modified: ‎2024-03-20 12:23 AM

0 Likes
0
1164
  • 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 12:08 AM . Last Modified: ‎2024-03-20 12:23 AM

Hello NagPer - I am hoping you don't mind an additional question. Someone else reported this issue to us (but I don't know what NMS they were using yet) and the fix I provided to you worked. I wanted to see where the issue is and why this is all of a sudden a problem. I installed OpenNMS on Windows and I noticed in the /mibs folders it came with, I had:

  • IANAifType-MIB.mib
  • IF-MIB.mib
  • RFC-1212.mib
  • RFC1155-SMI.mib
  • RFC1213-MIB.mib
  • SNMPv2-CONF.txt
  • SNMPv2-MIB.txt
  • SNMPv2-SMI.txt
  • SNMPv2-TC.txt

Can you let me know what you had loaded in your /mibs prior to adding powernet412.mib? I ask because I wanted to see if I had the same problem as you and I did not. I uploaded the .mib via the admin web interface:

Thu Oct 02 12:23:24 EDT 2014 [INFO] Reading MIBs from C:\Program Files (x86)\OpenNMS\share\mibs

Thu Oct 02 12:23:43 EDT 2014 [INFO] Uploading powernet412.mib

Thu Oct 02 12:23:43 EDT 2014 [INFO] File powernet412.mib successfuly uploaded

EDIT - I need to look at this more. I just realized uploading did not mean compiling.

Reply

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

Anonymous user
Not applicable

Posted: ‎2021-06-30 12:08 AM . Last Modified: ‎2024-03-20 12:23 AM

0 Likes
0
1164
  • 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 12:08 AM . Last Modified: ‎2024-03-20 12:23 AM

Hello Angela,

Seeing you last response I am sure you have already answered your own question. Indeed you need to compile the MIB as well to get the error message.

Furthermore you will need to upload and compile the RFC-1215 MIB as well.

http://download.intermapper.com/thirdparty/libsmi-0.4.8/mibs/ietf/RFC-1215.txt

Regards

NagPer

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 12:08 AM . Last Modified: ‎2024-03-20 12:23 AM

0 Likes
0
1164
  • 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 12:08 AM . Last Modified: ‎2024-03-20 12:23 AM

Thank you for the help! I found a bug logged with OpenNMS that the compiler does not work on Windows and of course I installed all of this on Windows.. [NMS-6413] The MIB Compiler doesn't work if OpenNMS is installed on Windows - The OpenNMS Issue Trac... - seems like a major bug!

Anyway, I will work with a little bit more and see if I can get anywhere. Nobody has ever complained about this specific issue that we fixed with adding that line so I am just curious what is causing it all of a sudden. I appreciate your feedback.

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