Go to the first, previous, next, last section, table of contents.
Syntax:
snmp {
[ port portno ; ]
[ spawn bool ; ]
[ max-requests number ; ]
[ time-to-live number ; ]
[ request-cleanup-delay number ; ]
[ ident string ; ]
[ community name ( rw | ro ) ; ]
[ network name network [ network ... ] ; ]
[ acl {
[ allow network_name community_name ; ]
[ deny network_name ; ]
} ; ]
};
Usage
The snmp
statement configures the SNMP service.
Numeric statements
port
-
Sets the port number to listen for the SNMP requests.
max-requests
-
Sets the maximum number of SNMP requests in the queue. Any
surplus requests will be discarded.
time-to-live
-
Sets the request time-to-live in seconds. The time-to-live is the time
to wait for the completion of the request. If the request job isn't
completed within this interval of time it is cleared, the corresponding
child process killed and the request removed from the queue.
request-cleanup-delay
-
Sets the request cleanup delay in seconds, i.e. determines how long will
the completed SNMP request reside in the queue.
Boolean statements
spawn
-
Determines if
radiusd
should spawn a child to process the SNMP
request.
String statements
ident
-
Sets the SNMP server identification string.
Community and network definitions
community name ( rw | ro )
-
Defines the community name as read-write (
rw
) or read-only
(ro
).
network name network [ network ... ]
-
Groups several networks or hosts under one logical network name.
Access-Control List definitions
allow network_name community_name
-
allow hosts from the group network_name access to community
community_name.
deny NETWORK_NAME
-
Deny access to SNMP service from any host in the group network_name.
Go to the first, previous, next, last section, table of contents.