Page 1 of 1

HP-Compaq Mibs

Posted: Wed May 15, 2013 9:38 am
by aap
Hi,

Has anyone been able to successfully add HP-Compaq mibs to Nagios XI? I have downloaded the mibs from HP however, the mibs cannot seem to translate successully using the addmib script. I get the following error message,

Cannot adopt OID in CPQRACK-MIB

Any assistance is appreciated.

Re: HP-Compaq Mibs

Posted: Wed May 15, 2013 10:02 am
by slansing
Can you attach one or two of the MIBs you are attempting to upload? Are you using the Add Mibs feature of the XI interface in Admin > Add Mibs?

Re: HP-Compaq Mibs

Posted: Thu May 16, 2013 4:37 am
by aap
Hi,

I have been using the command line however when using Add Mib in Nagios XI, I get the following message:

MIB could not be installed - directory permissions may be incorrect.

I have attached a sample mib.

Re: HP-Compaq Mibs

Posted: Thu May 16, 2013 10:51 am
by abrist
What permissions are set on the following directory:

Code: Select all

ls -ld /usr/share/snmp/mibs/

Re: HP-Compaq Mibs

Posted: Fri May 17, 2013 2:36 am
by aap
Hi,

The permissions are-

drwxr-xr-x. 2 root root 4096 May 14 14:42 /usr/share/snmp/mibs/

Re: HP-Compaq Mibs

Posted: Fri May 17, 2013 2:07 pm
by abrist
Those permissions are not correct. Try:

Code: Select all

chown -R root:nagios /usr/share/snmp/mibs
chmod -R g+w /usr/share/snmp/mibs

Re: HP-Compaq Mibs

Posted: Mon May 20, 2013 7:54 am
by aap
Thanks. That resolved the issue.