Operating System - Linux
1826443 Members
4098 Online
109692 Solutions
New Discussion

Re: HP agents on debian snmp problem

 
michallek
Occasional Advisor

HP agents on debian snmp problem

hi all.

ive got the newest hpasm(7.1.1) working on debian sarge. btw are the cmastor agents are already inside the hpasm?

my problem is to get the informations from the agents to snmp.
as far as i understand it should be enough to load the mibs into the snmp, but i dont get the mibs from HP into net-snmp.
does someone tried this before?

greetings
christian

21 REPLIES 21
Johannes Krackowizer_1
Valued Contributor

Re: HP agents on debian snmp problem

hi michallek,

as far as i know hpasm replaces the snmp agent. i think the problem could be that hpasm doesn't have a snmp version for debian. but i'm not sure because i have only read this in some other threads in this forum.

best regards,

johannes
"First off, I'd suggest printing out a copy of the GNU coding standards, and NOT read it. Burn them, it's a great symbolic gesture." (Linus Torvalds)
michallek
Occasional Advisor

Re: HP agents on debian snmp problem

hpasm itself has no snmpd.
but theres a ucd-smnp for download and you can download the mibs for snmpd too.
i thought it would be enough to insert the mibs in net-snmpd because i dont have ucd-snmp on debian.
perhaps ill give the ucd-snmp from HP a try.
but it would be nicer to use a debian package.
Johannes Krackowizer_1
Valued Contributor

Re: HP agents on debian snmp problem

hi,

i think you have to use the hp snmp deamon.

best regards,

johannes
"First off, I'd suggest printing out a copy of the GNU coding standards, and NOT read it. Burn them, it's a great symbolic gesture." (Linus Torvalds)
KristofH
Frequent Advisor

Re: HP agents on debian snmp problem

Michallek,

would you be so kind to share your installation-steps to install the newest hpasm on debian sarge?

I assume it's not just converting with alien and then installing like that.

I have had a similar problem with the mibs in the past. I'm going to work on a few HP machines next week, so I'll probably run across it again and will share my experiences then..

Cheers.
Håkan Lindqvist
Occasional Advisor

Re: HP agents on debian snmp problem

Yes, would you please share how you got hpasm working?
michallek
Occasional Advisor

Re: HP agents on debian snmp problem

sorry took some time ;)
i have installed the newest hpasm and cmanic on debian sarge now.(7.2.0)
they dont need any kernelmodules so it runs pretty well.
im using the UnitedLinux packages fo this.
you only need to convert them with alien.
use alien -tc to get a tar.gz with installscripts.
you need net smnpd installed with apt-get.
start with hpasm, unpack the tgz and then copy all folders in your system.
go to the install folder and exec predoinstall.sh and then doinstall.sh.
watch the output.
hpasm seems completely debian compatible now.
the snmpextension seems to work with the debian snmpd.
cmanic works the same but its possible that you get some minor errors here, because the scripts try to use suse routines.

my big problem now is the hpshm.
this seems completely new and hasnt much to do anymore with the webm.
my 1. problem is that i dont have a /usr/lib/libdb-3.3.so
my version of libdb3 is 3.2.9-22.
i linked my 3.2 to libdb-3.3.so.
next problem was that there were no /etc/init.d/hpshm so i copied this from a susebox i installed it already.
the useradd from the installscript has an wrong parameter -r. so the user hpshm isnt created.
after you added him do a chown hpshm:hpshm to /opt/hp/hpshm.
now seems working.
buggy and some values arent displayed right, but it works at least ;)

i saw that hp released some new stuff for HP insight manager too, so i need to check out this, because or Insight manager 7 seems pretty old.

if anybody get something else working please tell me.

additional i think about setting up some debian-HP community where ppl using debian on HP could get in touch to find solutions.
if someone think this is a good idea please tell me too :)
Uwe Zessin
Honored Contributor

Re: HP agents on debian snmp problem

Christian,

I see an increasing interest in Debian, so, yes, I think this is a great idea. Go ahead.
.
Håkan Lindqvist
Occasional Advisor

Re: HP agents on debian snmp problem

Thanks you very much for the added details.

Sounds great that the HP specific snmp stuff is working with the latest version!

Is it hpsmh that you're referring to in the "my big problem now..." part?
KristofH
Frequent Advisor

Re: HP agents on debian snmp problem

michallek, I have seen someone starting something like 'debian on hp' (I know those words were in the url or title, but can't find the URL anymore)..

If you're looking for any help/resources for setting up anything HP-Debian related, do not hesitate to contact me..

Cheers.
Håkan Lindqvist
Occasional Advisor

Re: HP agents on debian snmp problem

http://www.debian-on-proliant.com/ maybe?

But it seems to be somewhat dead.
KristofH
Frequent Advisor

Re: HP agents on debian snmp problem

100% correct. It seems dead indeed. But might be a starting point.. I don't know if there's an "audience" for the "Debian-on-HP" theme.

cheers..
michallek
Occasional Advisor

Re: HP agents on debian snmp problem

i wrote a email to the siteowner, lets see if he has interest in this.
Daniel Ettle
New Member

Re: HP agents on debian snmp problem

hi together,

I'm also interested to get the HP Tools working on our DL360/DL380 maschines.
We have about 40 Maschines running under Debian .
Does anyone has any information what I need to run this under Debian/woody?
Or do I need (or wait til chrismas) for sarge?
michallek
Occasional Advisor

Re: HP agents on debian snmp problem

@Daniel Ettle:
possible the easiest way to get it working is reading what i posted above :)
its for sure not perfect but it works :)

@everyone whos interested:
i started a conversation via mail with the owner of http://www.debian-on-proliant.com/ and wants to make a wiki, but he seems very very busy, so i think it would be a good idea to start something fresh.
im happy about anyone who would like to help or have some good ideas. you can msg me here, or send me an email to cm (at) data-consult.de.

greetings
Daniel Ettle
New Member

Re: HP agents on debian snmp problem

hello michaellek,

I have already tried that things what you have described above. Problem is that I'm running Woody and not Sarge. Seems some libgc libariers are not prober for the hp-binaries.
which libgc version do you have.

the idea about the wiki is good, but I'm not sure if too many people setting up websites is good for having one point of information.
maybe we should wait some after CeBit?

@HP do you support in any kind this site?
Håkan Lindqvist
Occasional Advisor

Re: HP agents on debian snmp problem

The instructions above together with an updated net-snmp package for woody from backports.org worked out quite nicely for me.
michallek
Occasional Advisor

Re: HP agents on debian snmp problem

Daniel, you can try the redhat packages, some of them worked for me when i used woody.
Samuel Tran
New Member

Re: HP agents on debian snmp problem

Daniel,

I manage to get RHEL 2.1 packages to work on Debian Woody. RHEL 2.1 and Debian Woody both use glibc 2.2.

I definitely would like to contribute to http://www.debian-on-proliant.com/.

I am waiting for the release of Sarge to build Debian packages for the HP DL360/380 G4.

Sam
michallek
Occasional Advisor

Re: HP agents on debian snmp problem

theres a nice new forum now for a debian/hp releated stuff.
http://debian.catsanddogs.com/forum/index.php

i just finished my Howto for the HP agents installation and theres more to come.

But we need your help!
feel free to post your questions there and send the link to other debian on hp interested people.

thx and cya
Tom_365
New Member

Re: HP agents on debian snmp problem

I have just used the instructions on http://debian.catsanddogs.com/forum/index.php , and can confirm that they work well. I have just got an ML530 visible in insight manager !!!

Mark Plaksin
New Member

Re: HP agents on debian snmp problem

Does anybody have the RAID management utilities working on Sarge? They want versions of shared libraries that are not present.

I tried to fool them by symlinking ones that were close but they were not fooled and complain about undefined symbols.

Anybody know why HP's doesn't provide direct support for Debian? You can buy Debian support and services from them. They ought to support Debian across the board.

Thanks!