Server Management - Systems Insight Manager
1753861 Members
7618 Online
108809 Solutions
New Discussion юеВ

Re: SNMP Problem with linux systems

 
Janezic Milan
Occasional Advisor

SNMP Problem with linux systems

We have a Probelm with our linux systems. Remote Support doesn't show any linux systems. Also the System Event Analyzer (which i think uses the same communicaton process) doesn't show any linux systems.
We have installed the newest Insight Control Management DVD (with SIM 5.2) and installed the latest remote support updates (RSP, WEBES etc).
It seems like my linux systems doesn't correctly communicate with SNMP. When i try to send a test trap over the "System Management Homepage" with one of the linux servers, nothing happens. When i make this with a Windows Server, SIM gets a Warning Notification and in OSEM it's also visible.
PSP 7.92 is installed on the linux machines.
Everything else works fine (the linux machines are visible and correctly collected in SIM).
I tried "/etc/init.d/hpasm reconfigure" to configure the snmp, but with no success.
I'm not so into linux machines, probably someone has some wise advices ;)
14 REPLIES 14
mcgim
Occasional Advisor

Re: SNMP Problem with linux systems

To check that snmp is running try
service snmpd status
should return something like
snmpd (pid 13644) is running...

Check you have traps setup ok. In /etc/snmp/snmpd.conf there should be a line
trapsink hpsimservername

To see what protocols the hpsim server can connect to your linux system with look at the server's system page. I get a line
Management Protocols HTTP:, SMH:2.0, SNMP:1.0, SSH:SSH-1.99-OpenSSH_3.6.1p2

Hope this helps
Mark
Change_happens
Honored Contributor

Re: SNMP Problem with linux systems

apart from what mcgim said, You need to check if community string is set to be correct in snmpd.conf

rocommunity should be public and rwcommunity should be private.
if u wanna specify trap to be sent to SIM server you can specify it here.

Hope this help.
Janezic Milan
Occasional Advisor

Re: SNMP Problem with linux systems

thanks for the fast response.
Snmpd service is running.
The Protocol is also in the information list: (Management Protocols HTTP:, SMH:2.0, SNMP:1.0, SSH:SSH-2.0-OpenSSH_4.3). The snmpd Config file looks like these:

dlmod cmaX /usr/lib64/libcmaX64.so
rwcommunity private 127.0.0.1
rocommunity public 127.0.0.1
rwcommunity private ip-of-the-hpsim-server
rocommunity public ip-of-the-hpsim-server
trapcommunity public
trapsink 192.168.90.1 public
trapsink hpsimservername

Still when i do an test trap nothing happens.
We have Oracle Linux (based on redhat) installed.
Change_happens
Honored Contributor

Re: SNMP Problem with linux systems

Hi yes. see ur comunity strings are for 127.0.0.1 means only for that system so remove 127.0.0.1 it will be all fine.

Thanks,Ajay
Change_happens
Honored Contributor

Re: SNMP Problem with linux systems

do same comunity strig to SMH snmp setting also from where u r trying ur test trap.
Janezic Milan
Occasional Advisor

Re: SNMP Problem with linux systems

hi, thanks.
But it didn't solve anything. Still I don't receive the test trap. When I do a
/etc/init.d/hpasm reconfigure i get a message in SIM:
(SNMP) Server Operational (6025)
The server is operational again. The server has previously been shutdown by the Automatic Server Recovery (ASR) feature and has just become operational again.

So it looks like SNMP is working, Probably there is a Problem with the System Homepage from the Server?

Change_happens
Honored Contributor

Re: SNMP Problem with linux systems

hope u did restart SNMP services and then hpasm services after changing the snmpd.conf file?

dont reconfigure it may reset that file(snmpd.conf) again. just restart.
Change_happens
Honored Contributor

Re: SNMP Problem with linux systems

Is that worked?
Janezic Milan
Occasional Advisor

Re: SNMP Problem with linux systems

hi, sorry i was not at the office in the last days.
nope, didn't work. I've restarted smpd and hpsam service.