Discussion:
HP P4000 MIBs not loading
Michele Abò
2012-01-27 10:51:19 UTC
Permalink
Michele Abò [http://community.zenoss.org/people/doGmaI] created the discussion

"HP P4000 MIBs not loading"

To view the discussion, visit: http://community.zenoss.org/message/63962#63962

--------------------------------------------------------------
Hi everyone

I was trying to load MIBs for HP P4000 SAN.
I read through the forum and I haven't found an answer.

My problem is: I already loaded pre-requisites (files LEFTHAND-NETWORKS-NSM-MIB.mib  and LEFTHAND-NETWORKS-GLOBAL-REG-MIB.mib), and I was trying to load LEFTHAND-NETWORKS-NSM-DNS-MIB.mib which has two IMPORTS clause referring to the first two files.

What I did
1. mkdir /opt/zenoss/share/mibs/site/hp/lefthand
2. sftp MIBs file to my zenoss installation in the directory above (I've converted VMWare Player appliance v3.2.1 for my ESX installation)
3. cd /opt/zenoss/share/mibs/site/hp/lefthand
4. zenmib run LEFTHAND-NETWORKS-GLOBAL-REG-MIB.mib --path=/hp/lefthand (completed succesfully, MIB visible from Zenoss GUI)
5. zenmib run  LEFTHAND-NETWORKS-NSM-MIB.mib --path=/hp/lefthand (completed succesfully, MIB visible from Zenoss GUI)

I'm using the command "zenmib run  LEFTHAND-NETWORKS-NSM-DNS-MIB.mib --path=/hp/lefthand -v 10"

The command completes without errors (at least no error I'm able to detect in the output)

I already checked the syntax of every mib using this site http://www.simpleweb.org/ietf/mibs/validate/ http://www.simpleweb.org/ietf/mibs/validate/ (no error reported)

The first two MIB are correctly displayed in zenoss GUI and I can browse them

I've attached the log of my "import"...

Anyone has any idea why I can't import this file (the same problem for the remaining 9 MIBs...)

Thanks for any help
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/63962#63962]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Shane Scott
2012-01-31 21:29:24 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: HP P4000 MIBs not loading"

To view the discussion, visit: http://community.zenoss.org/message/64076#64076

--------------------------------------------------------------
Michele:

Try 'zenmib run LEFTHAND-NETWORKS-GLOBAL-REG-MIB.mib LEFTHAND-NETWORKS-NSM-MIB.mib LEFTHAND-NETWORKS-NSM-DNS-MIB.mib --path=/hp/lefthand -v 10'

Zenmib is pretty finicky.

Good luck!

Best,
--Shane (Hackman238)
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/64076#64076]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Michele Abò
2012-02-03 11:18:42 UTC
Permalink
Michele Abò [http://community.zenoss.org/people/doGmaI] created the discussion

"Re: HP P4000 MIBs not loading"

To view the discussion, visit: http://community.zenoss.org/message/64170#64170

--------------------------------------------------------------
Hello Shane

thanks for your reply. I already tried this solution, but it doesn't work.

Fortunatly I found a solution/workaround

First of all there was a mistake in my setup: I was installing the MIB in $ZENHOME/share/mibs/site/hp but I found the SMIPATH variable to be set as $ZENHOME/share/mibs/site ... /ietf etc without the inclusion of $ZENHOME/share/mibs/site/hp.
So the first MIB installed correctly because zenmib can find the correct dependencies. The remaining, depending on the three already installed, cannot find the dependencies.
So, before everything else, if someone has a problem with installing MIB, be sure to check the correct setting of SMIPATH variable: you should find all the directories already in $ZENHOME/share/mibs (if I remember correctly, there are 5 directory in a fresh zenoss installation: ietf, irtf, site, tubs and iana) plus all the directory and sub-directory where you plan to store you mibs

That said, I'm going to write down the procedure that worked (at least for me, I'm using Zenoss Core 3.2.1)
place all the MIBS in the desired directory (I suppose you put them in $ZENHOME/share/mibs/site).
1. move (cd) into the folder
2. zenmib run LEFTHAND-NETWORKS-GLOBAL-REG-MIB.mib --path=/hp/lefthand -v 10
3. Restart Zenoss (command zenoss restart as zenoss user)
4. zenmib run LEFTHAND-NETWORKS-NSM-MIB.mib --path=/hp/lefthand -v 10
5. zenmib run LEFTHAND-NETWORKS-NSM-CLUSTERING-MIB.mib --path=/hp/lefthand -v 10
6. zenmib run LEFTHAND-NETWORKS-NSM-INFO-MIB.mib --path=/hp/lefthand -v 10
7. zenmib run LEFTHAND-NETWORKS-NSM-NOTIFICATION-MIB.mib --path=/hp/lefthand -v 10
8. zenmib run LEFTHAND-NETWORKS-NSM-STATUS-MIB.mib --path=/hp/lefthand -v 10
9. Restart Zenoss (command zenoss restart as zenoss user)
10. zenmib run LEFTHAND-NETWORKS-NSM-DSN-MIB.mib --path=/hp/lefthand -v 10
11. Restart Zenoss (command zenoss restart as zenoss user)
12. zenmib run LEFTHAND-NETWORKS-NSM-NETWORK-MIB.mib --path=/hp/lefthand -v 10
13. Restart Zenoss (command zenoss restart as zenoss user)
14. zenmib run LEFTHAND-NETWORKS-NSM-NTP-MIB.mib --path=/hp/lefthand -v 10
15. Restart Zenoss (command zenoss restart as zenoss user)
16. zenmib run LEFTHAND-NETWORKS-NSM-SECURITY-MIB.mib --path=/hp/lefthand -v 10
17. Restart Zenoss (command zenoss restart as zenoss user)
18. zenmib run LEFTHAND-NETWORKS-NSM-STORAGE-MIB.mib --path=/hp/lefthand -v 10

Note1: I don't remember if it was the last restart, but I had to restart the whole virtual machine to proceed

I hope this can be useful
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/64170#64170]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Shane Scott
2012-02-03 17:35:22 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: HP P4000 MIBs not loading"

To view the discussion, visit: http://community.zenoss.org/message/64230#64230

--------------------------------------------------------------
Michele:

Oh wow, that's a seriously manual effort. I'm glad you got it working!

Best,
--Shane
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/64230#64230]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...