HP-Compaq Mibs

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
aap
Posts: 180
Joined: Wed Oct 12, 2011 4:01 am

HP-Compaq Mibs

Post 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.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: HP-Compaq Mibs

Post 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?
aap
Posts: 180
Joined: Wed Oct 12, 2011 4:01 am

Re: HP-Compaq Mibs

Post 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.
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: HP-Compaq Mibs

Post by abrist »

What permissions are set on the following directory:

Code: Select all

ls -ld /usr/share/snmp/mibs/
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
aap
Posts: 180
Joined: Wed Oct 12, 2011 4:01 am

Re: HP-Compaq Mibs

Post by aap »

Hi,

The permissions are-

drwxr-xr-x. 2 root root 4096 May 14 14:42 /usr/share/snmp/mibs/
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: HP-Compaq Mibs

Post 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
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
aap
Posts: 180
Joined: Wed Oct 12, 2011 4:01 am

Re: HP-Compaq Mibs

Post by aap »

Thanks. That resolved the issue.
Locked