Server Management - Systems Insight Manager
1822320 Members
5950 Online
109642 Solutions
New Discussion юеВ

Sending and displaying snmp or syslog traps in InsightManager

 
puchatekkubus
New Member

Sending and displaying snmp or syslog traps in InsightManager

Hi,

I have question; is this possible to send snmp or syslog traps to new HP Systems Insight Manager server and display on screen or take some further action?
If so, how can I do that (just some tip)...

Thanks a lot for answer
7 REPLIES 7
Rick Garland
Honored Contributor

Re: Sending and displaying snmp or syslog traps in InsightManager

To send snmp traps to your SIM server, you would configure the snmpd.conf file on the clients to have the 'trap dest' defined as the SIM server.

You can have a script execute when some event is received. This script can flash a messageon your screen tty (don't knowabout the winbloz)
puchatekkubus
New Member

Re: Sending and displaying snmp or syslog traps in InsightManager

"To send snmp traps to your SIM server, you would configure the snmpd.conf file on the clients to have the 'trap dest' defined as the SIM server."

- I know how to send snmp trap (ex:http://net-snmp.sourceforge.net). The questions are:
Is this possible to send snmp trap from some host to SIM server even if this host is not registered on host list in SIM server?
(I tried that and I do not see any trap on events list).
How to check what exactly SIM server received (maybe it is in database but SIM server for some reason is not able to display it).

"You can have a script execute when some event is received. This script can flash a messageon your screen tty (don't knowabout the winbloz)"

By default SIM console display events so no any special acction is needed i understand.
OlivierV
Trusted Contributor

Re: Sending and displaying snmp or syslog traps in InsightManager

Hello.

If the sending host is not registered in SIM, SIM will discard the trap.

One thing you can do is sent the trap like if the sender is the SIM server itself. With TrapGen.exe, you can specify a -i IpAddress in the parameters and put the SIM server IP address there. Sim will consider this trap as coming from itself and register it. When I make some test with MRTG, I do this way. Thus, no alert will be sent to site admins. I'm the only recipient.

Regards.

puchatekkubus
New Member

Re: Sending and displaying snmp or syslog traps in InsightManager

"One thing you can do is sent the trap like if the sender is the SIM server itself. With TrapGen.exe, you can specify a -i IpAddress in the parameters and put the SIM server IP address there. Sim will consider this trap as coming from itself and register it."

Thanks but it does NOT work. For instance command:

TrapGen -d 10.40.15.40 -i 10.40.15.40 -v 1.3.6.1.4.1.1824.1.0.0.1 STRING "Very High Temperature"

wil not create any event on SIM server.

jim goodman
Trusted Contributor

Re: Sending and displaying snmp or syslog traps in InsightManager

I could be wrong, but I believe you have to have a related system discovered to associate the trap with. It doesn't have to be a registered MIB or a complete systems identification and discovery, just check the Accept Unregistered Events in the Event Filter.

You could set the autodiscovery to discover a system when a trap is recieved from it and i think that will be sufficient even if it is shows up as nothing more that an ip address.

I guess I'll have to wait and see if anyone knows better than that, but that is my understanding....

Your mileage may vary

- Jim
puchatekkubus
New Member

Re: Sending and displaying snmp or syslog traps in InsightManager

Thanks Jim.
You're totally right - this option was critical.
However (that's my fault - I admit) I do not know what I can enter as OID to send some information. I do not know if I can find some SIM documentation where this is clearly written.
OlivierV
Trusted Contributor

Re: Sending and displaying snmp or syslog traps in InsightManager

Hi
Try this : create a txt file and paste these lines (assuming it is a HP server)

-d 10.40.15.40
-c yourtrapSNMPcommunity
-o 1.3.6.1.4.1.232
-i 10.40.15.40
-g 6
-s 11003
-v 1.3.6.1.2.1.1.5.0 STRING ServerName
-v 1.3.6.1.4.1.232.11.2.11.1.0 INTEGER 0

replace the community for -c. -o is the HP enterprise base OID, 6 is 'enterprise specific', 11003 is the HP generic trap, then use "trapgen -f yourfile.txt" and let us know the result. This works for me.

Regards.