OS Manuals

/usr/bin/snmpd

Simple Network Management Protocol

From net-snmp 5.9.5.2-r12 (os), captured 2026-11-05 by running snmpd --help (exit 1). permalink

Usage:  /usr/bin/snmpd [OPTIONS] [LISTENING ADDRESSES]

	Version:  5.9.5.2
	Web:      http://www.net-snmp.org/
	Email:    net-snmp-coders@lists.sourceforge.net

  -a			log addresses
  -A			append to the logfile rather than truncating it
  -c FILE[,...]		read FILE(s) as configuration file(s)
  -C			do not read the default configuration files
			  (config search path: /etc/snmp:/usr/share/snmp:/usr/lib/snmp:/tmp/.snmp)
  -d			dump sent and received SNMP packets
  -D[TOKEN[,...]]	turn on debugging output for the given TOKEN(s)
			  (try ALL for extremely verbose output)
			  Don't put space(s) between -D and TOKEN(s).
  -f			do not fork from the shell
  -g GID		change to this numeric gid after opening
			  transport endpoints
  -h, --help		display this usage message
  -H			display configuration file directives understood
  -I [-]INITLIST	list of mib modules to initialize (or not)
			  (run snmpd with -Dmib_init for a list)
  -L <LOGOPTS>		toggle options controlling where to log to
	e:           log to standard error
	o:           log to standard output
	n:           don't log at all
	f file:      log to the specified file
	s facility:  log to syslog (via the specified facility)

	(variants)
	[EON] pri:   log to standard error, output or /dev/null for level 'pri' and above
	[EON] p1-p2: log to standard error, output or /dev/null for levels 'p1' to 'p2'
	[FS] pri token:    log to file/syslog for level 'pri' and above
	[FS] p1-p2 token:  log to file/syslog for levels 'p1' to 'p2'
  -m MIBLIST		use MIBLIST instead of the default MIB list
  -M DIRLIST		use DIRLIST as the list of locations to look for MIBs
			  (default $HOME/.snmp/mibs:/usr/share/snmp/mibs)
  -p FILE		store process id in FILE
  -q			print information in a more parsable format
  -r			do not exit if files only accessible to root
			  cannot be opened
  -u UID		change to this uid (numeric or textual) after
			  opening transport endpoints
  -v, --version		display version information
  -V			verbose display
  -x ADDRESS		use ADDRESS as AgentX address
  -X			run as an AgentX subagent rather than as an
			  SNMP master agent

Deprecated options:
  -l FILE		use -Lf <FILE> instead
  -P			use -p instead
  -s			use -Lsd instead
  -S d|i|0-7		use -Ls <facility> instead
Options (29)
OptionDescriptionSource
-aLog the source addresses of incoming requests.help + man
-AAppend to the log file rather than truncating it.help + man
-c FILERead FILE as a configuration file (or a comma-separated list of configuration files).help + man
-Cdo not read the default configuration files (config search path: /etc/snmp:/usr/share/snmp:/usr/lib/snmp:/tmp/.snmp)help + man
-dDump (in hexadecimal) the sent and received SNMP packets.help + man
-D TOKENturn on debugging output for the given TOKEN(s) (try ALL for extremely verbose output) Don't put space(s) between -D and TOKEN(s).help
-fDo not fork() from the calling shell.help + man
-g GIDChange the group ID of the snmpd process into GID after opening listening sockets.help + man
-h, --helpDisplay a brief usage message and then exit.help + man
-HDisplay a list of configuration file directives understood by the agent and then exit.help + man
-I -]INITLISTlist of mib modules to initialize (or not) (run snmpd with -Dmib_init for a list)help
-L LOGOPTStoggle options controlling where to log to e: log to standard error o: log to standard output n: don't log at all f file: log to the specified file s facility: log to syslog (via the specified…help
-m MIBLISTSpecifies a colon separated list of MIB modules to load for this application.help + man
-M DIRLISTuse DIRLIST as the list of locations to look for MIBs (default $HOME/.snmp/mibs:/usr/share/snmp/mibs)help + man
-p FILESave the process ID of the daemon in FILE.help + man
-qPrint simpler output for easier automated parsing.help + man
-rdo not exit if files only accessible to root cannot be openedhelp + man
-u UIDChange the user ID of the snmpd process into UID (which can be given in numerical or textual form) after opening listening sockets.help + man
-v, --versionPrint version information for the agent and then exit.help + man
-VSymbolically dump SNMP transactions.help + man
-x ADDRESSListens for AgentX connections on the specified address rather than the default "/var/agentx/master".help + man
-XRun as an AgentX subagent rather than as an SNMP master agent.help + man
-l FILEuse -Lf <FILE> insteadhelp
-Puse -p insteadhelp
-suse -Lsd insteadhelp
-S d|i|0-7use -Ls <facility> insteadhelp
-n NAMESet an alternative application name (which will affect the configuration files loaded). (in the manual page but not in --help)man
-UInstructs the agent to not remove its pid file (see the -p option) on shutdown. (in the manual page but not in --help)man
--name "value"Allows one to specify any token ("name") supported in the snmpd.conf file and sets its value to "value". (in the manual page but not in --help)man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.