- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- SNMP Traps to local host on a port different that ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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
01-08-2011 11:04 PM
01-08-2011 11:04 PM
SNMP Traps to local host on a port different that 162
We are having HP Proliant DL580 and 380 Servers with Solaris OS , we need to configure the snmp traps of hardware issues to be sent to a specific host and port (not 162 ) , and i am not sure what is the config file to change to achieve this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2011 03:25 AM
01-09-2011 03:25 AM
Re: SNMP Traps to local host on a port different that 162
Have you tried looking in the manual for it?
I am no Solaris expert, but are you sure it's in the snmp config? Maybe there is some other functionality on the solaris where you control daemons and their ports?
Or are the snmp-traps coming from something in the Proliant Support Pack?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2011 03:28 AM
01-09-2011 03:28 AM
Re: SNMP Traps to local host on a port different that 162
It is Solaris 10
I am not sure which snmp is running , but seems it is the NET-SNMP (i can see the snmpdx is reading the snmp.conf from /etc/snmp/conf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2011 07:11 AM
01-10-2011 07:11 AM
Re: SNMP Traps to local host on a port different that 162
> It is Solaris 10
yepp. and this is a forum for general linux-related questions. Maybe post your question to an oracle forum.
And to try to answer your question, I think that you should poke with svcs/svcadm to change the default port..
See the FMRI /application/management/snmpdx ...
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2011 07:15 AM
01-10-2011 07:15 AM
Re: SNMP Traps to local host on a port different that 162
-pport Specify the port number. The default
port number is 161.
But dunno where is it configured.
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2011 03:20 AM
01-11-2011 03:20 AM
Re: SNMP Traps to local host on a port different that 162
If Solaris 10 uses NET-SNMP, the trap destination should be defined in the snmp.conf file using either "trapsink" or "trap2sink" keyword (for SNMP v1 or v2c traps, respectively).
According to NET-SNMP documentation, the trapsink keywords accept "NET-SNMP transport specifications", i.e. if you want to send to a non-default port, just add a colon and the desired port number after the target IP address/hostname.
Here's an example for sending SNMP version 2c traps to trapdestination.example using port 666:
trap2sink trapdestination.example:666
There's also an older (now deprecated) syntax, which requires you to also specify the trap community name on the trapsink/trap2sink line.
Here's an equivalent example using the older syntax and trap community name "SecretTrapCmName":
trap2sink trapdestination.example SecretTrapCmName 666
In Proliant hardware, the iLO remote management system may also be capable of sending SNMP traps, depending on the iLO version your hardware is equipped with. This feature is completely OS-independent. If your server has an iLO with SNMP functionality, it can be configured through iLO web interface. I'm not sure if iLO can send traps to a non-default port at all; if there is no way to set the port number using the web GUI,
MK