snmpconf 無法自動產生 snmpd.conf

這個版面主要討論 debian 在 server 端的應用問題, server 種類繁多..舉凡 Web Server 、 File Server、 DHCP Server..等等。

版主: 阿信

snmpconf 無法自動產生 snmpd.conf

文章blue955 » 週五 1月 07, 2005 1:22 pm

參考這篇:
viewtopic.php?t=2927&highlight=mrtg
http://www.scjh.tpc.edu.tw/cc/HUBS/mrtgCfg.htm

-----------------------------------------------------
[root@proxyT snmp]# snmpconf

The following installed configuration files were found:

1: ./snmpd.conf

2: /etc/snmp/snmpd.conf

Would you like me to read them in? Their content will be merged with the output files created by this session.

Valid answer examples: "all", "none","3","1,2,5"

Read in which (default = all): -------------------------à (DEFAULT)



I can create the following types of configuration files for you. Select the file type you wish to create:

(you can create more than one as you run this program)

1: snmpd.conf

2: snmptrapd.conf

3: snmp.conf

Other options: quit Select File: ----------------à ( 1,snmpd.conf )



The configuration information which can be put into snmpd.conf is divided into sections. Select a configuration section for snmpd.conf

that you wish to create:

1: Access Control Setup

2: Extending the Agent

3: Monitor Various Aspects of the Running Host

4: Agent Operating Mode

5: Trap Destinations

6: System Information Setup

Other options: finished Select section: ---------------à (1 , Access Control Setup )



Section: Access Control Setup

Description: This section defines who is allowed to talk to your running snmp agent.

Select from:

1: a SNMPv3 read-write user

2: a SNMPv3 read-only user

3: a SNMPv1/SNMPv2c read-only access community name

4: a SNMPv1/SNMPv2c read-write access community name

Other options: finished, list Select section: -------------------à ( 3: 只要作 SNMP Read-Only )



Configuring: rocommunity

Description:

a SNMPv1/SNMPv2c read-only access community name

arguments: community [default|hostname|network/bits] [oid]

The community name to add read-only access for: public

The hostname or network address to accept this community name from [RETURN for all]:

The OID that this community should be restricted to [RETURN for no-restriction]:

Finished Output: rocommunity public
-------------------------------------------------------

紅色字那段按下enter後
會再回到以下這段要我重新選擇?

Select from:

1: a SNMPv3 read-write user

2: a SNMPv3 read-only user

3: a SNMPv1/SNMPv2c read-only access community name

4: a SNMPv1/SNMPv2c read-write access community


然後我按下CTRL+C跳出後,nmap目錄下並沒有產生新的snmpd.conf 我是哪裡做錯了嗎?
頭像
blue955
可愛的小學生
可愛的小學生
 
文章: 18
註冊時間: 週三 1月 05, 2005 4:02 pm

回到 debian server

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客

cron