Server Management - Systems Insight Manager
1833338 Members
2774 Online
110051 Solutions
New Discussion

Traps not received

 
Paul P_1
New Member

Traps not received

I using HPSIM and I cannot seem to get SNMP traps to display as events.

The CMS is running on W2K server sp4.

On the CMS both the SNMP and SNMPTrap services are running. The SNMP service security is set to accept traps from all hosts. I using the community string public with read_write rights.

I'm sending a test trap from both the CMS system and remote system using the HP Management Agent service applet. On both SNMP clients, the snmp service has traps configured to sent to 127.0.0.1 and the CMS server.

Any help would be greatly appreciated.
6 REPLIES 6
Rob Buxton
Honored Contributor

Re: Traps not received

You need a Community name on both that's the same. Assuming you've left the default Read Only Public Community name in place you can use this.

On the CMS Server the SNMP Trap Service needs to be running.

On a Remote Server you need to provide a Destination Trap, under the Traps Tab on the SNMP Services Properties, use Public as the Community Name and enter the name of the CMS Server in the Trap Destinations.

Resend an SNMP Trap Test and you should get a Major Event generated.

You can refine things later if you want to remove the public community name.
Gordon Leonard
Honored Contributor

Re: Traps not received

Don't forget SNMP is case sensitive when it comes to the community name. Public and public are not the same.
Paul P_1
New Member

Re: Traps not received

Thank you for your suggestions.

I had already tried those ideas but the problem persists.

I'm a bit confused as to why it does not work.

I'm assuming that some aspects of SNMP is working with HPSIM since I am able to set thresholds on the HP Managements Agents which I assume is using SNMP. (Or at least if SNMP sets is not enable, I noticed that I cannot set thresholds on agents.) So that makes me think that from the CMS, SNMP is working.

The SNMP Trap service is running. I've tried various combinations of SNMP settings. And I've even rebooted the CMS and SNMP client every time I've made a change (just to be sure :-) ).

One minor detail about the CMS, that system has multiple ip addresses bound to it. On the SNMP Trap setting of the system sending SNMP traps, I set the all the ip addresses and loopback of the CMS server.

Also when I do a "netstat -a" on the CMS server, I do see that there is a UDP listener on the snmptrap port. So I'm fairly certain that it's running.
Gordon Leonard
Honored Contributor

Re: Traps not received

I wonder if the name lookup is failing. Have you tried to change the trap destination from a name to the CMS IP address?
Paul P_1
New Member

Re: Traps not received

Thank you all for the various suggestions.

It appears that some other enterprising sysadmin installed a different piece of monitoring software on the CMS server. That software binds to the UDP SNMP Trap port.
Rob Buxton
Honored Contributor

Re: Traps not received

That would do it! Bet you laughed when you discovered that ;-)