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 05-16-2013, 03:45 PM   #1
mula
LQ Newbie
 
Registered: May 2013
Posts: 2

Rep: Reputation: Disabled
How to install SNMP trap Reciever


Hi Folks,

I've been trying to install snmpd on my Ubuntu 12.04 all day however i can't suceed. I'm quite new to linux and what I would like to achieve is that the PC is able to recieve SNMP traps from inside the netowkr. I've installed snmpd and followed some guides found on google however i cant make it work.

Can someone please provide me with some more information or a simple how-to please ?

Regards
Mula
 
Old 05-17-2013, 01:24 AM   #2
gdizzle
Member
 
Registered: Jul 2012
Posts: 234

Rep: Reputation: Disabled
So you tried something like this:

http://www.ehow.com/how_8676050_setu...ap-ubuntu.html

Did you ? :

Code:
tail -f /var/log/syslog

What results do you have?
 
Old 05-17-2013, 05:41 AM   #3
mula
LQ Newbie
 
Registered: May 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hi gdizzle,

Thanks for your reply. Yep i tried that, i've appended the log file and this is what i got :

/etc/snmp/snmptrapd.conf: line 18: Error: Blank line following TRAPDRUN=yes token.
net-snmp: 1 error(s) in config file(s)
/etc/snmp/snmptrapd.conf: line 18: Error: Blank line following TRAPDRUN=yes token.
net-snmp: 1 error(s) in config file(s)
NET-SNMP version 5.4.3 AgentX subagent connected
Warning: no access control information configured.
(Config search path: /etc/snmp:/usr/share/snmp:/usr/lib/snmp:/home/host1/.snmp)
This receiver will *NOT* accept any incoming notifications.
NET-SNMP version 5.4.3
No access configuration - dropping trap.
No access configuration - dropping trap.
No access configuration - dropping trap.
No access configuration - dropping trap.

So traps are being recieved infact i was able to see them in wireshark however got the error after TRAPDRUN , what i should write after it ? and also have the other error :/
 
Old 05-18-2013, 11:11 PM   #4
gdizzle
Member
 
Registered: Jul 2012
Posts: 234

Rep: Reputation: Disabled
Post your

Code:
/etc/snmp/snmptrapd.conf
Also checkout line 18 like the error specifies.
 
  


Reply


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
snmp trap lamou23 Linux - Networking 4 08-03-2010 05:04 PM
how to send snmp trap & recieve trap in C program minil Programming 3 07-10-2010 10:22 AM
SNMP Trap metallica1973 Linux - Networking 1 11-28-2007 10:14 AM
Snmp Trap shan_nathan Linux - Server 2 09-01-2007 06:49 AM
snmp-trap tied2 Linux - Security 7 07-19-2002 09:20 PM


All times are GMT -5. The time now is 08:28 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration