LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-11-2015, 11:39 PM   #1
Jerenk
LQ Newbie
 
Registered: Mar 2015
Posts: 1

Rep: Reputation: Disabled
SNMP does not work on Ubuntu


Hi,

I've try to install and enable SNMP for testing purpose by following guide from this website

I've follow every step shown but when I run a command

Code:
snmpwalk -Os -c mycommunityro -v 1 localhost system
the return result is

Code:
End of MIB
vim /etc/default/snmpd

Code:
# This file controls the activity of snmpd and snmptrapd

# Don't load any MIBs by default.
# You might comment this lines once you have the MIBs downloaded.
export MIBS=

# snmpd control (yes means start daemon).
SNMPDRUN=yes

# snmpd options (use syslog, close stdin/out/err).
#SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -g snmp -I -smux,mteTrigger,mteTriggerConf -p /var/run/snmpd.pid'
SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid'

# snmptrapd control (yes means start daemon).  As of net-snmp version
# 5.0, master agentx support must be enabled in snmpd before snmptrapd
# can be run.  See snmpd.conf(5) for how to do this.
TRAPDRUN=no

# snmptrapd options (use syslog).
TRAPDOPTS='-Lsd -p /var/run/snmptrapd.pid'
vim /etc/snmp/snmpd.conf

Code:
rocommunity mycommunityro default system
rwcommunity mycommunitywr default system
syslocation Testing
syscontact Testing
 
Old 03-12-2015, 08:46 AM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Welcome to LQ!
Have a look at http://www.linuxquestions.org/questi...6/#post4750830
 
  


Reply



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
[SOLVED] Problem in making snmp to work in ubuntu pendrive Linux - Networking 10 08-15-2012 09:09 AM
cacti, mrtg, and snmpwalk don't work after computer reboot cannot collect snmp data scheidel21 Linux - Networking 2 08-03-2009 07:15 AM
SNMP dosn't work on debian dkz Linux - Networking 0 05-01-2006 02:52 PM
can't get net-snmp to work at RH9 thebug Linux - Software 1 03-19-2004 10:08 PM
snmp (ucd-snmp, net-snmp) markus1982 Linux - Software 1 11-21-2002 10:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:21 AM.

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
Open Source Consulting | Domain Registration