Solved

How to run SNMP service?

Posted on 2004-03-31
5
6,502 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
  • 4
5 Comments
 
LVL 12

Accepted Solution

by:
paullamhkg earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

743 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now