Solved

How to run SNMP service?

Posted on 2004-03-31
5
6,510 Views
Last Modified: 2013-12-15
First off I am a Linux beginner.  How do I set up to run SNMP as a service when my computer starts up.  Also how do I manually start the SNMP service?
0
Comment
Question by:aedean
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
5 Comments
 
LVL 12

Accepted Solution

by:
paullamhkg earned 500 total points
ID: 10728971
there are serveral way

1. in the commond prompt (console mode) login as root and run 'setup', this will bring up the a gui, you can select the System Service, inside the system service you can select the snmpd, by doing this the snmp will start everytime your restart.

2. in the /etc/rc.d/rc.d#/ run ln -s ../init.d/snmpd S50snmpd, which also can start the snmp service everytime your linux box restart. (# is the startup mode, 3 is for console mode (command prompt), 5 is for X windows.)

0
 
LVL 12

Expert Comment

by:paullamhkg
ID: 10728995
also in /etc/services ensure the snmp not remark, if yes, remove the remark (#). also you have to login as root for doing those I comment.
0
 
LVL 2

Expert Comment

by:sam_sunder
ID: 10729744
hi aedean

type ntsysv on the shell prompt you get a window with with a long list of services, check the snmp and snmpd box. This would start snmp on boot.

regards,

sam
0
 
LVL 12

Expert Comment

by:paullamhkg
ID: 10730225
to manually start the snmp service, your can '/etc/init.d/snmpd start'

To manually restart is '/etc/init.d/snmpd restart'

To manually stop is '/etc/init.d/snmpd stop'

0
 
LVL 12

Expert Comment

by:paullamhkg
ID: 10730240
BTW, ntsysv is same as my 1 comment, just a short cut to get into it. since it's the smae why not suggest something new sam_sunder?
0

Featured Post

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question