MRTG
Добавлено: 2009-03-13 13:18:44
Чего хотелся бы начинят настройка MRTG
Система FreeBSD 7.0
Mrtg, net-snmp
Всё поставил но не зная с чего начат
Система FreeBSD 7.0
Mrtg, net-snmp
Всё поставил но не зная с чего начат
Код: Выделить всё
###########################################################################
#
# snmpd.conf
#
# - created by the snmpconf configuration program
#
###########################################################################
# SECTION: System Information Setup
#
# This section defines some of the information reported in
# the "system" mib group in the mibII tree.
# syslocation: The [typically physical] location of the system.
# Note that setting this value here means that when trying to
# perform an snmp SET operation to the sysLocation.0 variable will make
# the agent return the "notWritable" error code. IE, including
# this token in the snmpd.conf file will disable write access to
# the variable.
# arguments: location_string
syslocation "CN"
syslocation "CN"
# syscontact: The contact information for the administrator
# Note that setting this value here means that when trying to
# perform an snmp SET operation to the sysContact.0 variable will make
# the agent return the "notWritable" error code. IE, including
# this token in the snmpd.conf file will disable write access to
# the variable.
# arguments: contact_string
syscontact admin@cn.ua
syscontact admin@cn.ua
# sysservices: The proper value for the sysServices object.
# arguments: sysservices_number
sysservices 15
sysservices 79
###########################################################################
# SECTION: Access Control Setup
#
# This section defines who is allowed to talk to your running
# snmp agent.
# rwuser: a SNMPv3 read-write user
# arguments: user [noauth|auth|priv] [restriction_oid]
rwuser admin auth
# rouser: a SNMPv3 read-only user
# arguments: user [noauth|auth|priv] [restriction_oid]
rouser admin auth
# rocommunity: a SNMPv1/SNMPv2c read-only access community name
# arguments: community [default|hostname|network/bits] [oid]
rocommunity admin localhost
# rwcommunity: a SNMPv1/SNMPv2c read-write access community name
# arguments: community [default|hostname|network/bits] [oid]
rwcommunity admin
agentaddress 127.0.0.1:161
Код: Выделить всё
echo "snmpd_enable=\"YES\"" >> /etc/rc.confКод: Выделить всё
cd /usr/ports/databases/rrdtool && make install clean