- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- How Can I send hp snmp generic trap?
Operating System - Linux
1820270
Members
3349
Online
109622
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2010 11:34 PM
10-04-2010 11:34 PM
How Can I send hp snmp generic trap?
Hi all,
I installed SIM on my customer and I installed the psp on Linux system, I discovered the servers in the correct way, but I want to send generic trap so the servers can register under HP Database for open auto call in case of HW problem.
the port 2381 is close, so I can't create generic trap from system home page, I would like to send generic trap by command line from linux server.
I tried to use snmptrap command but I didn't receive trap, the port 162 is open because in the same network I've windows server and it work well.
could you help me?
thank you in advanced
regards
I installed SIM on my customer and I installed the psp on Linux system, I discovered the servers in the correct way, but I want to send generic trap so the servers can register under HP Database for open auto call in case of HW problem.
the port 2381 is close, so I can't create generic trap from system home page, I would like to send generic trap by command line from linux server.
I tried to use snmptrap command but I didn't receive trap, the port 162 is open because in the same network I've windows server and it work well.
could you help me?
thank you in advanced
regards
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2010 06:28 AM
10-07-2010 06:28 AM
Re: How Can I send hp snmp generic trap?
Hi,
This is what I use to manually send a coldstart trap to SIM so that it knows to discover a server.
snmptrap -v 1 -c public "" 0 0 0
Where is the machine sending the trap and is the machine we're sending the trap to.
The first "0" means "coldStart" trap.
On the machine you're sending the trap to (machine receiving the trap), do you see any output from tcpdump?
tcpdump -i eth0 port snmptrap
Also, on the machine that's supposed to be sending the trap, if you run tcpdump, do you see anything going out to the machine you're sending the trap to?
tcpdump -I eth0 host
Rigoberto
This is what I use to manually send a coldstart trap to SIM so that it knows to discover a server.
snmptrap -v 1 -c public
Where
The first "0" means "coldStart" trap.
On the machine you're sending the trap to (machine receiving the trap), do you see any output from tcpdump?
tcpdump -i eth0 port snmptrap
Also, on the machine that's supposed to be sending the trap, if you run tcpdump, do you see anything going out to the machine you're sending the trap to?
tcpdump -I eth0 host
Rigoberto
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP