(Debian4.0r1) mrtg & amp; snmp-Debian information for the Linux release. For more information, see the following. Install snmpd mrtg snmp package
# Apt-get update
# Apt-get install snmpd snmp mrtg
Before modifying the configuration file, go to the/usr/share/snmp directory to view the instructions.
1. Modify/etc/default/snmpd
Set this item to SNMPDOPTS = '-Lsd-Lf/dev/null-u snmp-I-smux-p/var/run/snmpd. modify pid 127.0.0.1 to SNMPDOPTS = '-Lsd-Lf/dev/null-u snmp-I-smux-p/var/run/snmpd. pid. Otherwise, it only listens for requests on 127.0.0.1.
2. Modify/etc/hosts. allow so that snmpd can be used (or do not modify this)
# Sec. name source community
##====================================
Com2sec local localhost weelaa
Com2sec network_1 default weelaa
Com2sec network_2 default weelaa
# Access. group. name sec. model sec. name
##========================================
Group MyROGroup_1 v1 local
Group MyROGroup_1 v1 network_1
Group MyROGroup_2 v2c network_2
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.