HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Server Management - Systems Insight Manager
cancel
Showing results for 
Search instead for 
Did you mean: 

SNMP Trap Automation

 
JerryWebsense
Occasional Visitor

SNMP Trap Automation

Hello All,
I was wondering, In HP Management Agents you can click the "send Test Trap" button to make sure that the traps are reaching their destination (SIM Server). I was wondering if any of you knew a way to automate this through a batch file using cmd line tools that can be setup as a weekly scheduled task on the computer. The reason I need to do this is because we have cluster nodes and cluster management that often fails and I would like to automate some tests. Any ideas? Thanks in advance!
2 REPLIES
Ed Cox
Respected Contributor

Re: SNMP Trap Automation

Hi Jerry,
I did something similar with the HP RDP product where I wanted the server to add itself to the SIM database once the OS was installed. Servers can add themselves to SIM if they can somehow trap to SIM (and you have a particular discovery setting checked in SIM as well).
So I Googled some utilities and found one called TrapGen. I would attach it to this thread but it's an .exe.
It's been awhile since I downloaded it, but I think this was the site:

http://www.ncomtech.com/trapgen.html

(there was also a trapgen.txt file on this site that listed all of the various command line options for trapgen.exe)

Good luck,
Ed Cox
Ed Cox
Respected Contributor

Re: SNMP Trap Automation

Hi Jerry,
I did something similar with the HP RDP product where I wanted the server to add itself to the SIM database once the OS was installed. Servers can add themselves to SIM if they can somehow trap to SIM (and you have a particular discovery setting checked in SIM as well).
So I Googled some utilities and found one called TrapGen. I would attach it to this thread but it's an .exe.
It's been awhile since I downloaded it, but I think this was the site:

http://www.ncomtech.com/trapgen.html

(there was also a trapgen.txt file on this site that listed all of the various command line options for trapgen.exe)

By the way...you may already be familiar with the Custom Commands you can run in SIM which can include running a batch file you mentioned in your post.

Good luck,
Ed Cox