LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-17-2012, 11:57 AM   #1
skimeer
Member
 
Registered: Jun 2007
Posts: 55
Blog Entries: 1

Rep: Reputation: 0
Unhappy How to change snmptrap port from 162 to other one


I have default configuration for SNMP. I am able to get the snmptrap on default 162 port. I want to customize snmptrap on other port eg.10161

Can any one guide me,How to do that.
 
Old 01-17-2012, 11:57 PM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,239

Rep: Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024
Well you can amend the snmpdtrap.conf http://linux.die.net/man/5/snmptrapd.conf or add to the cmd line http://linux.die.net/man/8/snmptrapd example formats as per snmpd http://linux.die.net/man/8/snmpd.
The file to change if you want to edit the cmd line is /etc/init.d/snmptrapd
 
Old 01-18-2012, 12:28 PM   #3
skimeer
Member
 
Registered: Jun 2007
Posts: 55
Blog Entries: 1

Original Poster
Rep: Reputation: 0
Smile

Thanks chrism01 . I am able to do the customization successfully. Thanks for links and help
 
  


Reply

Tags
linux command, port, snmp


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Softpedia Linux Weekly, Issue 162 LXer Syndicated Linux News 0 08-28-2011 05:30 PM
SFTP server port blocked on Uni network, need to change the listening port. sammyboy161 Linux - Newbie 2 10-21-2010 12:03 PM
DHCP Scope 161-162 I need HELP!!! frost10 Linux - Networking 1 06-16-2009 06:49 AM
PLESK [Solution] Change port to 23 (telnet) instead of default port 8443 x5452 Linux - Software 6 05-10-2009 05:58 AM
Squid failed: line 162 su_jump Linux - Newbie 0 10-17-2002 08:49 PM


All times are GMT -5. The time now is 10:49 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration