Flashnux

GNU/Linux man pages

Livre :
Expressions régulières,
Syntaxe et mise en oeuvre :

ISBN : 978-2-7460-9712-4
EAN : 9782746097124
(Editions ENI)

GNU/Linux

RedHat 6.2

(Zoot)

snmpd(1)


SNMPD

SNMPD

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
CONFIGURATION FILES
SEE ALSO

NAME

snmpd - daemon to respond to SNMP request packets.

SYNOPSIS

snmpd [-v] [-a] [-V] [-d] [-q] [-D] [-p port] [-f] [-l logfile] [-L] [-c file] [-C] [-r]

DESCRIPTION

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 operation(s) and returns the information to the sender.

OPTIONS

-v

Print version information for the agent, and exit.

-a

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

-V

Makes a symbolic dump of the protocol transaction.

-d

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

-q

Print simpler output for easier automated parsing.

-D

Turn on debugging output

-p port

Opens on port instead of the default SNMP agent port, 161.

-f

Don’t fork() from the calling shell.

-l logfile

Log’s all output from the agent (including stdout/stderr) to logfile. Defaults to a compiled option.

-L

Don’t open a log file; use stdout/stderr instead.

-A

Append to the log file rather than truncating it.

-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...

CONFIGURATION FILES

snmpd checks for the existence of and parses the following files:
/usr/share/snmp/snmp.conf

Common configuration for the agent and the application. See snmp.conf(5) for details.

/usr/share/snmp/snmpd.conf
/usr/share/snmp/snmpd.local.conf

Configures the agent. See snmpd.conf(5) for details. These files are optional and are only used to configure the extensible portions of the agent, the values of the community strings, and the optional trap destinations. By default, the first community string ("public" by default) is allowed read-only access and the second ("private" by default) is allowed write access as well. The 3-5th community strings are read-only as well.

In addition to these two configuration files in /usr/share/snmp, the agent will read any files with the names snmpd.conf and snmpd.local.conf in a colon separated path specified in the SNMPCONFPATH environment variable.

/usr/share/snmp/mibs/

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 subdirectories.

SEE ALSO

(in recommended reading order)

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



snmpd(1)