- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to send snmp traps via shell script
Operating System - HP-UX
1820254
Members
2584
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
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
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
тАО11-24-2010 05:31 AM
тАО11-24-2010 05:31 AM
How to send snmp traps via shell script
Hello experts,
I am writing a shell script to get alarm information and depending of the alarm it will send snmp trap to a management platform.
The point I can not go further is sending the snmp. My HP-UX has the following installed:
bash-4.1$ swlist | grep snmp
OVsnmpAgent B.11.31 OpenView SNMP Agent
Is there a command to send the snmp? It has to be via CLI.
Many Thanks in advance!
Marilia
I am writing a shell script to get alarm information and depending of the alarm it will send snmp trap to a management platform.
The point I can not go further is sending the snmp. My HP-UX has the following installed:
bash-4.1$ swlist | grep snmp
OVsnmpAgent B.11.31 OpenView SNMP Agent
Is there a command to send the snmp? It has to be via CLI.
Many Thanks in advance!
Marilia
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2010 06:40 AM
тАО11-24-2010 06:40 AM
Re: How to send snmp traps via shell script
If you have activated SNMP, there is a command called snmptrap. Read man pages for more details.
man snmptrap
man snmptrap
Regards
Shibin
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2010 07:00 AM
тАО11-26-2010 07:00 AM
Re: How to send snmp traps via shell script
Hi Marilia,
Can you check the availability of following command in your system.
/opt/perf/bin/trapsend
Can you check the availability of following command in your system.
/opt/perf/bin/trapsend
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2011 07:47 AM
тАО01-25-2011 07:47 AM
Re: How to send snmp traps via shell script
I have received the support!
Many thanks!
Many thanks!
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