cancel
Showing results for 
Search instead for 
Did you mean: 

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.