Page 1 of 1

NAGIOS-ROOT-MIB.MIB giving error while uploading on HP ovo

Posted: Wed Dec 21, 2016 1:53 am
by aloksinghk
Hello,

We are trying to upload NAGIOS-ROOT-MIB.MIB in HP ovo using nnmloadmib command but it is giving below error

Code: Select all

>> nnmloadmib -load NAGIOS-ROOT-MIB.MIB
Error detected while loading MIB File: NAGIOS-ROOT-MIB.MIB.
This MIB cannot be loaded until the following problem is corrected:



Accepted syntax for enumerated list:
  { label1(value) [ , label2(value) ... ] }
Examples:
  { other(1), invalid(2), direct(3), indirect(4) }

Accepted syntax for a ASN.1 definitions:
  object-label ::= SEQUENCE { label type [, label type ... ] } |
                       SEQUENCE OF type | OBJECT IDENTIFIER |
                       NULL | OCTET STRING | NetworkAddress |
                       IpAddress | Counter | Gauge | TimeTicks | Opaque
                       INTEGER [ { enumerations } | (0..max) ] |
                       user-defined-type
Example:
  AtEntry ::= SEQUENCE {
        atIndex INTEGER,
        atPhysAddress OCTET STRING,
        atNetAddress NetworkAddress
        }


Please help to resolve this issue thanks.

Re: NAGIOS-ROOT-MIB.MIB giving error while uploading on HP o

Posted: Wed Dec 21, 2016 12:42 pm
by tgriep
Can you post the NAGIOS-ROOT-MIB.MIB file so we can view it it see if it is corrupted?

Also, that MIB file requires other MIB files to be loaded on the system, are the following MIB files installed on your device?

Code: Select all

SNMPv2-SMI
SNMPv2-TC

Re: NAGIOS-ROOT-MIB.MIB giving error while uploading on HP o

Posted: Thu Dec 22, 2016 4:30 am
by aloksinghk
Thanks for the reply. kindly find attached MIB file.

Re: NAGIOS-ROOT-MIB.MIB giving error while uploading on HP o

Posted: Thu Dec 22, 2016 1:37 pm
by tgriep
For some reason, the attachment was not posted, can you try attaching it again?
Did you load the other 2 MIB files on your device and try the NAGIOS-ROOT-MIB.MIB file again?