mib2opennms and liebert mibs

6 messages Options
Embed this post
Permalink
joras

mib2opennms and liebert mibs

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)

Hi All,

 

Has anyone had any luck using mib2opennms with the mibs provided by Liebert?

When I process the mibs all I get is the following result (for all mibs bar 1)

 

[root@dev-nms1 ~]# mib2opennms liebert_gp_reg.mib

mib2opennms version 0.3.0

<!-- Start of auto generated data from MIB: LIEBERT-GP-REGISTRATION-MIB -->

<!-- End of auto generated data from MIB: LIEBERT-GP-REGISTRATION-MIB -->

 

Liebert provide 9 mibs, one of which is the rfc1628 mib.

The only mib to process correctly is rfc1628 which already exists in OpenNMS.

 

Any help with this would be greatly appreciated.

 

Regards

 

Andrew



DISCLAIMER:

This email and any attachments may contain confidential information and/or copyright material of TIO or third parties. You should not read, copy, use or disclose them without authorisation. If you are not an intended recipient, please contact us immediately by return email and then delete both messages. The company does not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. The views expressed in this email may be those of the individual and are not necessarily the views of TIO.






------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Andrew Hood

Re: mib2opennms and liebert mibs

Reply Threaded More More options
Print post
Permalink
Andrew Joraslafsky wrote:
> Hi All,
>
>  
>
> Has anyone had any luck using mib2opennms with the mibs provided by Liebert?
>
> When I process the mibs all I get is the following result (for all mibs
> bar 1)

With a quick google search I can find 17 Liebert MIBs, with varying
number of syntax errors. Of those:

LIEBERT-MICRO-UPS-MIB
LIEBERT-SERIES-300-UPS-MIB
LIEBERT-SITENET-INTEGRATOR-MIB
LIEBERT-UPS-MIB
LIEBERT-UPSTATION-D-UPS-MIB
LIEBERT-UPSTATION-G-UPS-MIB
LIEBERT-UPSTATION-GXT-UPS-MIB
LIEBERT-UPSTATION-S-UPS-MIB
LIEBERT-UPSTATION-S3-UPS-MIB

contain traps

LIEBERT-GP-AGENT-MIB
LIEBERT-GP-NOTIFICATIONS-MIB
LIEBERT-GP-SYSTEM-MIB

contain notifications

--
There's no point in being grown up if you can't be childish sometimes.
                -- Dr. Who

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Dallas

Re: mib2opennms and liebert mibs

Reply Threaded More More options
Print post
Permalink
In reply to this post by joras
We are running into the same issues and want to know if you ever figured this out. We are attempting to monitor the Liebert Computer Room Air Conditioning units with OpenNMS and could not convert the MIBS as well. Any help is appreciated.

Thanks,
Dallas










------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss

Andrew Hood

Re: mib2opennms and liebert mibs

Reply Threaded More More options
Print post
Permalink
Dallas wrote:
> We are running into the same issues and want to know if you ever figured this
> out. We are attempting to monitor the Liebert Computer Room Air Conditioning
> units with OpenNMS and could not convert the MIBS as well. Any help is
> appreciated.

We start with the standard questions.
1. Do the MIBs you are trying to convert actually contain TRAP-TYPE or
NOTIFICATION-TYPE entries? IMPORTS clauses don't count.
2. Are the MIBs syntactically and semantically correct? mib2opennms will
not work with invalid MIBs.
3. Do you have all the MIBs (other than those defined in IETF/IANA RFCs)
that are referenced (recursively) in IMPORTS clauses, and are they all
valid?
4. If you want more help, are you in a position to supply copies of, or
links to, all the MIBs, both the ones you want to convert and all the
IMPORTS?

In my reply to Andrew J, I listed the Liebert MIBs which I was able to
find and which contained TRAP-TYPE or NOTIFICATION-TYPE clauses. Were
yours there?

Andrew H

--
There's no point in being grown up if you can't be childish sometimes.
                -- Dr. Who

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Dallas

Re: mib2opennms and liebert mibs

Reply Threaded More More options
Print post
Permalink
The files you stated above are a few of MIBS we have. We currently have:

LIEBERT_GP_AGENT.MIB
LIEBERT-GP-AGENT-MIB
LIEBERT_GP_COND.MIB
LIEBERT-GP-COND-MIB
LIEBERT_GP_CONTROLLER.MIB
LIEBERT-GP-CONTROLLER-MIB
LIEBERT_GP_ENV.MIB
LIEBERT-GP-ENV-MIB
LIEBERT_GP_NOTIFY.MIB
LIEBERT-GP-NOTIFY-MIB
LIEBERT_GP_POWER.MIB
LIEBERT-GP-POWER-MIB
LIEBERT_GP_REG.MIB
LIEBERT-GP-REG-MIB
LIEBERT_GP_SYSTEM.MIB
LIEBERT-GP-SYSTEM-MIB
RFC1628_UPS_MIB.MIB
 
However, unlike your above, none of our have TRAP-TYPE found within and only a few, *AGENT and *NOTIFY have NOTIFICATION-TYPE statements. I am guessing this is where the problem is. If we were using the UPS's I am sure there wouldn't be a problem, but the Air Handling units aren't a common need I guess.


With regard to #3 and #4, I am not sure what you mean by "IMPORTS". Sorry, alot of this is new to me so I am learning as we go.

Thanks



We start with the standard questions.
1. Do the MIBs you are trying to convert actually contain TRAP-TYPE or
NOTIFICATION-TYPE entries? IMPORTS clauses don't count.
2. Are the MIBs syntactically and semantically correct? mib2opennms will
not work with invalid MIBs.
3. Do you have all the MIBs (other than those defined in IETF/IANA RFCs)
that are referenced (recursively) in IMPORTS clauses, and are they all
valid?
4. If you want more help, are you in a position to supply copies of, or
links to, all the MIBs, both the ones you want to convert and all the
IMPORTS?

In my reply to Andrew J, I listed the Liebert MIBs which I was able to
find and which contained TRAP-TYPE or NOTIFICATION-TYPE clauses. Were
yours there?

Andrew H
Andrew Hood

Re: mib2opennms and liebert mibs

Reply Threaded More More options
Print post
Permalink
Dallas wrote:

> With regard to #3 and #4, I am not sure what you mean by "IMPORTS". Sorry,
> alot of this is new to me so I am learning as we go.

IMPORTS clauses are SMI's version of include. For instance (slightly
editted for brevity):

> smidump -f imports LIEBERT-GP-AGENT-MIB.mib
# LIEBERT-GP-AGENT-MIB imports tree (generated by smidump 0.4.8)
LIEBERT-GP-AGENT-MIB
  +--RFC1213-MIB [1 identifier]
  |  +--RFC1155-SMI [6 identifiers]
  |  +--RFC-1212 [1 identifier]
  |     +--RFC1155-SMI [1 identifier]
  +--SNMPv2-SMI [6 identifiers]
  +--LIEBERT-GP-REGISTRATION-MIB [5 identifiers]
  |  +--SNMPv2-SMI [3 identifiers]
  +--SNMPv2-TC [1 identifier]
  |  +--SNMPv2-SMI [1 identifier]
  +--LIEBERT-GP-CONDITIONS-MIB [2 identifiers]
     +--SNMPv2-SMI [6 identifiers]
     +--SNMPv2-TC [1 identifier]
     |  +--SNMPv2-SMI [1 identifier]
     +--LIEBERT-GP-REGISTRATION-MIB [2 identifiers]
        +--SNMPv2-SMI [3 identifiers]

The indentation reflects the way IMPORTS work recursively. All the
references to RFC* and SMNPv2* are to "standard" MIBs.
LIEBERT-GP-AGENT-MIB, LIEBERT-GP-REGISTRATION-MIB and
LIEBERT-GP-CONDITIONS-MIB are enterprise specific MIBs.

To be able to run mib2opennms on LIEBERT-GP-AGENT-MIB (which does
contain NOTIFICATION-TYPE entries) you have to have both
LIEBERT-GP-REGISTRATION-MIB and LIEBERT-GP-CONDITIONS-MIB as well as all
the standard MIBs.

> We start with the standard questions.
> 1. Do the MIBs you are trying to convert actually contain TRAP-TYPE or
> NOTIFICATION-TYPE entries? IMPORTS clauses don't count.
> 2. Are the MIBs syntactically and semantically correct? mib2opennms will
> not work with invalid MIBs.
> 3. Do you have all the MIBs (other than those defined in IETF/IANA RFCs)
> that are referenced (recursively) in IMPORTS clauses, and are they all
> valid?
> 4. If you want more help, are you in a position to supply copies of, or
> links to, all the MIBs, both the ones you want to convert and all the
> IMPORTS?
>
> In my reply to Andrew J, I listed the Liebert MIBs which I was able to
> find and which contained TRAP-TYPE or NOTIFICATION-TYPE clauses. Were
> yours there?
>
> Andrew H
>


--
There's no point in being grown up if you can't be childish sometimes.
                -- Dr. Who

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss