Server Management - Systems Insight Manager
1833461 Members
3150 Online
110052 Solutions
New Discussion

SUSE 9.0 SNMP difficulties

 
Albert Austin
Esteemed Contributor

SUSE 9.0 SNMP difficulties

My CMS runs on Windows environment and needs to monitor linux and as well as windows servers. I have no problems with my windows servers but LINUX servers are give me a tough time.
I can see no icon under SW and PMP in the tables. My HW is showing green staus.
I know its got to do with SNMP settings, but just dont have linux knowledge to troubleshoot this problem. I have followed all the steps in the installation guide and why am I not surprised it doesnt work seem to help.
I also have configured traps, communtiy strings and trapsinks??? via hpasm but doesnt seem to help.
If I try through SMH to send a test trap to cms I get a generic trap error(11003) under events of my linux server in CMS. Any ideas, why?

Also I have noticed that in CMS identify tab of linux server, SNMP is not available under management protocols. SNMP is running on server so why doesnt it show?

Could someone please guide me as to what I steps I need to take to configure my linux server into CMS.
Thnx in advance.


P.S. PSP on linux server is 7.4
11 REPLIES 11
Fabio Ettore
Honored Contributor

Re: SUSE 9.0 SNMP difficulties

Hi Albert,

I faced a very similar problem with a customer. In that instance they were HP-UX systems but the situation was likely the same.
It was a bad configuration of SNMP, into the file /etc/snmpd.conf. Search for that file and if configured try to refresh it to default. I am not sure the path of snmpd.conf is the same on linux, just 'find' that.
Once checked snmp file configuration then delete/add it again, the problem could be solved.

HTH, good luck...
Fabio
WISH? IMPROVEMENT!
Fabio Ettore
Honored Contributor

Re: SUSE 9.0 SNMP difficulties

sorry, just a clarification...."delete/add it" I mean delete/add the Linux node between managed nodes...

Best regards,
Fabio
WISH? IMPROVEMENT!
Albert Austin
Esteemed Contributor

Re: SUSE 9.0 SNMP difficulties

Thnx for your reply Fabio, that file is located under the path you mentioned.
Done what you have suggested twice, After adding rwcommunity string I was unable to open SMH locally on that linux server and also SMH thorugh the link on the CMS. Kept getting a timeout.
Figured out the safest way was to do it via /hpasm -reconfigure
Once I reconfigured it SMH displayed all agents and so did VCA see more than just itself.
Why do I get this Generic Trap error(11003) while sending a test trap??
And why is it that in the Management protocols avialable on my host SNMP is not shown as installed? Even though it is up and running.
Fabio Ettore
Honored Contributor

Re: SUSE 9.0 SNMP difficulties

Hi,

I think SNMP configured is the most important thing in order to see correctly this host into CMS.
I continue to think you have a problem about SNMP configuration/functionality on Linux. But really I'm not a Linux expert and I cannot say what to check about SNMP.

My customer was in the same situation, thinking SNMP was configured fine on HP-UX but nothing in CMS. At the end I discovered that SNMP was not configured fine on HP-UX. If you have another working Linux managed node or another Unix managed node I would suggest to check SNMP functionality/configuration. You have to see it into Management Protocols of that Linux host, otherwise you will have all of these problems.

HTH.

Regards,
Fabio
WISH? IMPROVEMENT!
Andrei Lica_1
Advisor

Re: SUSE 9.0 SNMP difficulties

Check /etc/snmp/snmpd.conf on linux servers.
After installing PSP 7.5 on redhat 4 some lines are automatically added to /etc/snmp/snmpd.conf :

#---------
# Following entries were added by HP Insight Management Agents at
# Tue May 23 11:26:24 EEST 2006
dlmod cmaX /usr/lib/libcmaX.so
rwcommunity h4k7yTPNxPu 127.0.0.1
syscontact Root (configure /etc/snmp/snmp.local.conf)
syslocation Unknown (edit /etc/snmp/snmpd.conf)
#--------

The line :
dlmod cmaX /usr/lib/libcmaX.so
means : load the Compaq agent MIBs

You can also add the lines :
rocommunity public CMS_IP
trapsink CMS_IP
where CMS_IP is the IP or hostname of your CMS
( for permiting read-only access and receiving traps )

Also snmpd linux service must be started

Albert Austin
Esteemed Contributor

Re: SUSE 9.0 SNMP difficulties

Thnx for your continous input Fabio. I also agree that SNMP configuration is the problem, but the question is how do I troubleshoot this problem. The doc available via HP deals with SUSE 8.0 and Im trying to configure SUSE 9.0. IS there any difference? As I am no linux expert. And I also have managed to follow all setps in the doc but to no positive outcome.

Thnx Andrei your information does look familiar will check it as soon as I have the possiblity to do so.

Any other Linux experts out there with any suggestions?
frederik orispaa
New Member

Re: SUSE 9.0 SNMP difficulties

Have you tried running snmpwalk?
snmpwalk -Os -c your-community -v 1 your-host

If that produces output, SNMP is working.

However, that doesnt mean all is well with SNMP, but at least it narrows down the problem.
Albert Austin
Esteemed Contributor

Re: SUSE 9.0 SNMP difficulties

Thnx will give that a try.
Albert Austin
Esteemed Contributor

Re: SUSE 9.0 SNMP difficulties

Ended up installing PSP again, configured SMH and VCA during this process and managed to get SNMP up and running as it should.
SJO EGGER
Regular Advisor

Re: SUSE 9.0 SNMP difficulties

Hi Albert,

i've got the same problems you mentioned. How did you manged to get SNMP up and running.

Snmpwalk prints following output.
tst002:~ # snmpwalk -Os -c wood -v1 tst001
Timeout: No Response from tst001

Regards
Alex
Albert Austin
Esteemed Contributor

Re: SUSE 9.0 SNMP difficulties

HI Sjo,

What I did was before installing PSP graphically I configured SMH, VCA and Insight Management Agents. This to me was much simpler than trying to configure them after installation. So if you have already done the installation, try and re-install the agents pre.configured.

Hope that helps,

Albert