Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
HP & Linux

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
Copyright Info
Terms of Use
Privacy Info
Masthead / Impressum
Your Account

Private Messages

News Archive
Submit News
User Articles
Web Links


The Web

Who's Online
There are currently, 81 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here




       snmpd    [-v]    [-a]    [-V]    [-d]    [-q]   [-D]   [-p
       [{udp|tcp}:]port[@address][,...]] [-x agentx-socket]  [-f]
       [-l logfile] [-L] [-c file] [-C] [-r] [-I [-]module_list]


       snmpd  is  a  SNMP  agent which binds to a port and awaits
       requests from SNMP management software.  Upon receiving  a
       request,   it   processes  the  request(s),  collects  the
       requested information and/or performs the requested opera­
       tion(s) and returns the information to the sender.


              -v    Print  version information for the agent, and

              -a    Dumps the  addresses  the  agent  corresponds
                    with to stderr or logfile.

              -V    Makes  a symbolic dump of the protocol trans­

              -d    Dumps the sent and received  UDP  packets  to
                    stderr or logfile.

              -q    Print  simpler  output  for  easier automated

              -D    Turn on debugging output

              -p [{udp|tcp}:]port[@address][,...]
                    Makes the agent list on the specified list of
                    sockets instead of the default port, which is
                    port 161.  Multiple ports can be separated by
                    commas.    Transports  can  be  specified  by
                    prepending the port number with the transport
                    name  ("udp"  or  "tcp") followed by a colon.
                    Finally, to bind to a  particular  interface,
                    you  can  specify  the address you want it to
                    bind with.

                    For       example,       specifying        -p
                    161,tcp:161,9161@localhost   will   make  the
                    agent  listen  on:  udp  port  161  for   any
                    address,  tcp  port  161 for any address, and
                    udp port 9161 on only the  interface  associ­
                    ated  with  the localhost address.  Note that
                    the  -T  flag  (below)  changes  the  default
                    transport  mapping to use (in the above exam­
                    ple, the default transport mapping is udp.

              -x agentx-socket
                    Logs  all  output  from  the agent (including
                    stdout/stderr) to  logfile.   Defaults  to  a
                    compiled option.

              -s    Use syslog for logging.

              -P pidfile
                    Save the process ID of the daemon in pidfile.

              -g groupid
                    Change to this gid after opening port.

              -u uid
                    Change to this uid after opening port.

              -L    Don't open  a  log  file;  use  stdout/stderr

              -A    Append to the log file rather than truncating

              -c file
                    Read file as a configuration file.

              -C    Don't read any configuration files except the
                    one optionally specified by the -c option.

              -r    Don't  require  root access to run the demon.
                    Specifically, don't exit when you can't  open
                    files like /dev/kmem, etc...

              -I [-]module_list
                    This  option  specifies  which modules you do
                    (or do not) want to be initialized  when  the
                    agent  starts up.  If the module_list is pre­
                    ceded with a '-', it will indicate  the  mod­
                    ules  that you do not want to start up rather
                    than a definitive list of those that  you  do
                    want  to  start.   To  get a list of compiled
                    modules, run the  agent  with  the  arguments
                    -Dmib_init  -H  (assumes  you  have debugging
                    support compiled in).


       snmpd checks for the existence of and parses the following

             Common  configuration for the agent and the applica­
             tion. See snmp.conf(5) for details.

             the names snmpd.conf and snmpd.local.conf in a colon
             separated  path  specified in the SNMPCONFPATH envi­
             ronment variable.

             The agent will also load all files in this directory
             as  mibs  also.  It will not, however, load any file
             that begins with a '.' or descend  into  subdirecto­


       (in recommended reading order)

       snmp.conf(5), snmpd.conf(5)

                           21 Jun 2001                   SNMPD(1)

More information about the site can be found in the FAQ



Security Code
Security Code
Type Security Code

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!

Amazon Wish List

Did You Know?
You can help in many different ways.


Tell a Friend About Us

Bookmark and Share

Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.04 Seconds