- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- SNMP Traps from Linux Server
Operating System - Linux
1753657
Members
5633
Online
108798
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
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
тАО05-22-2007 06:49 PM
тАО05-22-2007 06:49 PM
SNMP Traps from Linux Server
How to send SNMP Traps from Linux Server.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2007 07:04 AM
тАО05-25-2007 07:04 AM
Re: SNMP Traps from Linux Server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2007 10:00 PM
тАО05-26-2007 10:00 PM
Re: SNMP Traps from Linux Server
Install the Net-SNMP tools (normally available in your Linux distribution's standard package collection) using your favourite package manager.
Read "man snmptrap".
Decide the SNMP version you want to use (version 1, 2c or 3).
Pick the correct OID (either use a standard OID that means what you're trying to "say" or get your own OID and write a MIB file to describe the structure and meaning of your trap messages). Information about OIDs and MIBs is available at:
http://www.mibdepot.com/
The standard MIBS can be found under vendor "IETF".
See also the FAQ section on that site.
If you want to send SNMP Traps manually or from a script, the above-mentioned "snmptrap" command is what you need.
If you want to send trap messages programmatically, be aware that there are SNMP function libraries available for many programming languages. If you're programming in C, get the Net-SNMP source package. Read the programming documentation in it, or just examine the source code of the snmptrap tool.
If you're programming in Java e.g. for BEA Weblogic server, it already contains SNMP functionality: just read the BEA documentation to find out how to use it.
MK
Read "man snmptrap".
Decide the SNMP version you want to use (version 1, 2c or 3).
Pick the correct OID (either use a standard OID that means what you're trying to "say" or get your own OID and write a MIB file to describe the structure and meaning of your trap messages). Information about OIDs and MIBs is available at:
http://www.mibdepot.com/
The standard MIBS can be found under vendor "IETF".
See also the FAQ section on that site.
If you want to send SNMP Traps manually or from a script, the above-mentioned "snmptrap" command is what you need.
If you want to send trap messages programmatically, be aware that there are SNMP function libraries available for many programming languages. If you're programming in C, get the Net-SNMP source package. Read the programming documentation in it, or just examine the source code of the snmptrap tool.
If you're programming in Java e.g. for BEA Weblogic server, it already contains SNMP functionality: just read the BEA documentation to find out how to use it.
MK
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2007 03:21 AM
тАО05-27-2007 03:21 AM
Re: SNMP Traps from Linux Server
If it's a ProLiant server, see http://www.hp.com/go/proliantlinux
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP